ItsEcholot / ContainerNursery

Puts Docker Containers to sleep and wakes them back up when they're needed
MIT License
94 stars 6 forks source link

High CPU usage randomly #48

Closed webysther closed 11 months ago

webysther commented 1 year ago

Sometimes the loop in frontend get stucked and use huge amount of cpu because the refresh rate is too intense, will be nice to have a ENV to change the refresh rate to a aproppriate value:

image

This block the reverse proxy to get the response from the service and the loop happens.

image

This only fixes when refresh manually the page.

ItsEcholot commented 11 months ago

Have you had the chance to find the culprit of this with enabled Debug logging?

webysther commented 11 months ago

Have you had the chance to find the culprit of this with enabled Debug logging?

No, after a few occurrencies I removed from my stack. Maybe consider in future if add a option to change the refresh rate on frontend.