You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using relaxed in nodeJS with a promise interface by spawning a relaxed child process.
I recently crashed my production server with 32k+ defunct chrome processes.
I tried to tree-kill my own child process, browser.close() and tree-kill the process.pid in the program.buildOnce condition, but still it seems 4-5 chrome process are launched.
Right now the only way I've got to prevent my server from crashing is restarting my docker container every once and a while, which destroys the chrome processes (I'm the one who wrote the dockerfile that is referenced in ReLaXed's README :) )
I have no experience with working directly with puppeteer and would be delighted with a little help!
Thanks!
PS: please don't let me use wkhtmltopdf again!!
The text was updated successfully, but these errors were encountered:
I tried, with no success :(
My use case being with docker i think I got this problem
And I ended up using config I actually used in my relaxed dockerfile, but not in my own service 🤦♂️
Hi,
I'm using relaxed in nodeJS with a promise interface by spawning a relaxed child process.
I recently crashed my production server with 32k+ defunct chrome processes.
I tried to
tree-kill
my own child process,browser.close()
andtree-kill
theprocess.pid
in theprogram.buildOnce
condition, but still it seems 4-5 chrome process are launched.Right now the only way I've got to prevent my server from crashing is restarting my docker container every once and a while, which destroys the chrome processes (I'm the one who wrote the dockerfile that is referenced in ReLaXed's README :) )
I have no experience with working directly with puppeteer and would be delighted with a little help!
Thanks!
PS: please don't let me use wkhtmltopdf again!!
The text was updated successfully, but these errors were encountered: