-
Notifications
You must be signed in to change notification settings - Fork 9
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
Container starts ramping up CPU & mem usage #14
Comments
Hi, are you sure that you're using the latest version? There was a moment where a bug prevented the browser to close after failure |
I pulled the :latest version so it should. |
Hi, I've added a hotfix that ends browser on every exception, should fix your problem, please pull now |
Hi there! |
That is strange... After the rework, now the implementation implies that everything closes after the request is finished (whether it was successful or not), but I've added a driver quit anyways. Please check if version v1.0.4 fixes this problem |
It has started happening again after 8 hours running with the new release. The logs don't show anything out of the ordinary happening at the same time or during the high CPU periods. For now I found a workaround, I restart the container every hour. |
Hi, I think I know what's happening. Sometimes chrome can crash at startup (I think). So there is no way to directly catch this. I've added a function that will kill all chrome processes that are longer than 5 minutes at health check endpoint (which is triggered with docker healthcheck each 5 mins). Currently this is only on |
As I do not see a problem on my site anymore and no responses here, I'll close this |
I had this container running for several days and it works much better than the original flaresolver, but if left running "unattended", it starts eating up resources.
These graphs show the cpu and memory evolution until I stopped it around 7 am, where you can clearly see that the resources are freed.
The text was updated successfully, but these errors were encountered: