Skip to content

docker: shlink-task-worker-x shows 100% CPU in htop #115

Answered by acelaya
michabbb asked this question in Help wanted
Discussion options

You must be logged in to vote

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

Replies: 0 comments 23 replies

Comment options

You must be logged in to vote
6 replies
@acelaya
Comment options

@michabbb
Comment options

@paolobasso99
Comment options

@acelaya
Comment options

@paolobasso99
Comment options

Comment options

You must be logged in to vote
6 replies
@djsime1
Comment options

@djsime1
Comment options

@acelaya
Comment options

@djsime1
Comment options

@acelaya
Comment options

Comment options

You must be logged in to vote
7 replies
@djsime1
Comment options

@acelaya
Comment options

@acelaya
Comment options

@djsime1
Comment options

@acelaya
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by acelaya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shlink Discussions related with https://github.com/shlinkio/shlink
4 participants