We have been using gaire for production setup and i am currently using 15 URls to monitor
with a cron of 25 min
Each url takes ~15 sec to be calculate and data pushed into influx
What happened:
After a day or two the chrome process count reaches in 3 figures. And eventually in a week or so it overloads the machine
Problem description:
I cannot figure out where the problem is, when i try to runit with couple of urls the problem do not seem to replicate,
it launches 3 other processes as expected with the parent chrome process and closes all the processes after processing of each url
I tried different combination of flag when chrome is being launched below is the current set:
'--headless', '--disable-gpu', '--disable-component-extensions-with-background-pages', '--disable-gpu-sandbox', '--disable-default-apps', '--disable-backgrounding-occluded-windows', '--disable-background-timer-throttling', '--disable-renderer-backgrounding', '--disable-notifications ', '--disable-web-security', '--disable-extensions', '--disable-sync', '--no-zygote', '--no-sandbox', '--headless', '--mute-audio',
Requesting your inputs
@boyney123
node
version: v11.11.0npm
version: 6.7.0Relevant code or config
What you did:
We have been using gaire for production setup and i am currently using 15 URls to monitor with a cron of 25 min Each url takes ~15 sec to be calculate and data pushed into influx
What happened:
After a day or two the chrome process count reaches in 3 figures. And eventually in a week or so it overloads the machine
Problem description: I cannot figure out where the problem is, when i try to runit with couple of urls the problem do not seem to replicate, it launches 3 other processes as expected with the parent chrome process and closes all the processes after processing of each url
I tried different combination of flag when chrome is being launched below is the current set:
'--headless', '--disable-gpu', '--disable-component-extensions-with-background-pages', '--disable-gpu-sandbox', '--disable-default-apps', '--disable-backgrounding-occluded-windows', '--disable-background-timer-throttling', '--disable-renderer-backgrounding', '--disable-notifications ', '--disable-web-security', '--disable-extensions', '--disable-sync', '--no-zygote', '--no-sandbox', '--headless', '--mute-audio',
Requesting your inputs @boyney123