Timeout issues
-
Hello,
We are using the latest (4.3.1) version and we suffer from timeout issues from time to time, while thebackend/index.php
tries to communicate with 3rd party services like Google and Facebook (not anyone specific).
I’ve grabbed more info using NewRelic and I can see that thecurl_multi_exec
run for 480 seconds (8 minutes) before it timeout.
The strange thing is that the timeout for the http client set in our shariff.json is 10 seconds for timeout and 5 seconds for connect_timeout.Googling about it got me to a possibly related known defect in curl library where
curl_multi_exec
is known to ignore the timeouts:
https://sourceforge.net/p/curl/bugs/797/Another related post: https://stackoverflow.com/questions/2297749/curl-multi-hanging-ignoring-timeout
1. Does anyone else suffer from the same issue (occasional timeouts for the backend/index.php script)?
2. Any chance someone already implemented the suggested fix/workaround in the curl bug above?
3. Maybe I got it wrong and the issue is caused by something else – but for sure I seecurl_multi_exec
loading for 480 seconds every time a user get a timeout for getting social counts.Best,
Shmuel.
- The topic ‘Timeout issues’ is closed to new replies.