-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Memory Leak #189
Comments
Similar to #180 Can you elaborate on your use case here? The only thing that's caused a memory leak is the process spawning a bunch of browser instances. A browser should really only spin up on first launch to log in, and then at most once per month after that. Are you starting it up, and then not completing the captcha? Because that could cause many processes to run in parallel due to the cron jobs (which could probably be fixed). |
There was no notice of unsolved captchas, I've put a limit of 512MB ram on the docker container, so when it happens again it should make it easier to troubleshoot. Maybe 512MB is to little? Can it go over that in normal use? My cron job I set to go once a day, at an arbitrary time different from the default config file |
Another thing to note, this happened during the week when the docker container was not able to fetch dead by daylight. So it maybe tried to fetch that game 6 times |
hi i dont know if it helps but i got the same problem
|
It looks like you're seeing the puppeteer hang issue (#164), and triggering the fix I put in to retry launching the browser (#164 (comment)). It retries up to 30 times for each account, so I see how you ran into all the zombie chromium processes. A couple action items on this:
|
Oh also, if you're seeing this regularly, you should probably set a memory limit on the container to prevent it from freezing your server. https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory
|
I added the Chromium process pruning and lower amount of retries in 1078cf8 Hopefully that should handle it for now. |
@claabs I haven't had any issues after going to 2gigs and purchasing at least two games, always updated on the :latest tag |
Describe the bug
Memory Leak
Screenshots or Logs
I can't share anything my server hangs.
Additional context
I only have 8 Gigs of ram, I use about half while ideling
My whole server hangs, but I can SSH into the server, albeit everything is very slow. The docker service is responding, but maybe it takes 10 minutes for a docker command to complete. Docker stats shows this docker container is using all the RAM of my server.
docker kill epicgames-freegames
fixes the problem, but takes 10 to 15 minutes to resolveThe text was updated successfully, but these errors were encountered: