[OpenSIPS-Users] Possible Memory Leak in rest_client module.
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Nov 7 21:04:35 CET 2016
Hi Jim,
Please see
http://www.opensips.org/Documentation/TroubleShooting-OutOfMem - let me
know if you managed to get the mem dump.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 07.11.2016 21:20, Jim DeVito wrote:
> Hi All,
>
> This happened prior to 2.2.2 and I thought I saw a bug report that was
> fixed in 2.2.2. However it still seems to be a thing with using the
> res_curl module. After about a week I get this...
>
> Nov 7 13:33:44 sip-proxy01 opensips: Nov 7 13:33:44 [20811]
> ERROR:core:fm_malloc: not enough free pkg memory (4296 bytes left),
> please increase the "-M" command line parameter!
> Nov 7 13:33:44 sip-proxy01 opensips: Nov 7 13:33:44 [20811]
> INFO:core:fm_malloc: attempting defragmentation... (need 1808 bytes)
> Nov 7 13:33:44 sip-proxy01 opensips: Nov 7 13:33:44 [20811]
> INFO:core:fm_malloc: unable to alloc a big enough fragment!
> Nov 7 13:33:44 sip-proxy01 opensips: Nov 7 13:33:44 [20811]
> ERROR:rest_client:rest_get_method: curl_easy_perform: Out of memory
>
> I reboot and all is well for another week. Like res_client is not
> releasing the memory it is using. shmem:used_size:: seems to always be
> going up until it runs out of the memory I allotted with the -M
> switch. What else can I do to see where this is coming from?
>
> Thanks!!
>
More information about the Users
mailing list