OK Giovanni,
then I'd need some more information to try and get to the root cause, like:
- 5.0.2 git hash you've applied the patch on.
- Rate of requests that seem to trigger this behaviour.
- A sample .cfg file I can use to simulate your scenario (you posted one at the beginning but please see if you can share a full one).
- Shared memory allocated, and number of http_async_client workers configured. (Does it show the same behaviour with a limited amount of workers, e.g. 2?)
- Can you reproduce the problem with master?
- Also if possible run with debug level 3 and curl verbosity on.

For the libcurl upgrade:
https://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring/curl-7.56.1-1.0.cf.rhel7.x86_64.rpm
(+ libcurl and libcurl-devel).

Regards,
Giacomo


On 6 November 2017 at 16:07, gmele <giovanni.mele@nagra.com> wrote:
Hello Giacomo,

I patched my branch 5.0.2 with your modifications, but the result is the
same: same problem occurs with heavy load and lot of http requests in
parallel. Same error code 77.

I didn't upgrade the version of curl. I will maybe give it a try. Can you
give me the link from where you downloaded the curl 7.56.1 rpm so I can use
same version as yours?

Thx


Giovanni



--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users