[OpenSIPS-Users] Possible Memory Leak in rest_client module.
Jim DeVito
jim at devito.cc
Mon Nov 7 20:20:07 CET 2016
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!!
--
Jim DeVito
More information about the Users
mailing list