Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Chrome processes forks #26

Open
ayushchatur opened this issue Jan 10, 2020 · 0 comments
Open

Multiple Chrome processes forks #26

ayushchatur opened this issue Jan 10, 2020 · 0 comments

Comments

@ayushchatur
Copy link

  • node version: v11.11.0
  • npm version: 6.7.0

Relevant 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant