docker: shlink-task-worker-x shows 100% CPU in htop #115
-
hi, i am using the docker image and I am surprised because the server only has 200 visits a day. thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 23 replies
-
No, that shouldn't be the case. Have you tried restarting Shlink? |
Beta Was this translation helpful? Give feedback.
-
This has been happening intermittently over the course of the past year or so. I've always kept Shlink updated to the latest version but it keeps cropping up after running for a few weeks straight. My config is virtually identical to the one above this comment. |
Beta Was this translation helpful? Give feedback.
-
@michabbb Out of curiosity, what sort of machine is Shlink running on? Is it a cloud/VPS machine, or a dedicated/bare metal? Also which provider if applicable? I'm running on a 'VPS M' from Contabo. |
Beta Was this translation helpful? Give feedback.
-
I have found reports of other people suffering from 100% utilization when guzzle is involved (guzzle is the HTTP client used by Shlink to, among other things, download GeoLite databases), usually when using
I have changed it to use Will get this released with Shlink 3.6.0 |
Beta Was this translation helpful? Give feedback.
I have found reports of other people suffering from 100% utilization when guzzle is involved (guzzle is the HTTP client used by Shlink to, among other things, download GeoLite databases), usually when using
curl_multi_exec
, due to how they handle calls internally with an infinite loop.I have changed it to use
curl_exec
instead. It's slightly less performant when running multiple requests, but that should not be a problem for Shlink.Will get this released with Shlink 3.6.0