[OpenSIPS-Users] Memory leak
Schneur Rosenberg
rosenberg11219 at gmail.com
Tue Dec 7 17:53:22 EST 2021
Hi, lately I'm getting these errors in my logs.
ERROR:core:fm_malloc: not enough free pkg memory (1792 bytes left,
need 2184), please increase the "-M" command line para
meter!
CRITICAL:core:hostent_cpy: pkg memory allocation failure
ERROR:nathelper:nh_timer: out of pkg memory
ERROR:core:fm_malloc: not enough free pkg memory (5952 bytes left,
need 5408), please increase the "-M" command line para
meter!
I was on version 2.4.8 and I upgraded to 2.4.11 and I'm monitoring the
max_used_size of the package memory, a few hours later I see that 2
processes keep on getting bigger, so far the rest are pretty stable, I
have 90 processes and 87 and 88 are growing.
here you can see the last few processes, OpenSIPS set aside 4 mb per process.
pkmem:80-max_used_size:: 1009584
pkmem:81-max_used_size:: 1009584
pkmem:82-max_used_size:: 1009584
pkmem:83-max_used_size:: 1009584
pkmem:84-max_used_size:: 1009584
pkmem:85-max_used_size:: 1009584
pkmem:86-max_used_size:: 1143608
pkmem:87-max_used_size:: 1323256
pkmem:88-max_used_size:: 1831928
pkmem:89-max_used_size:: 1009584
Any hints where to start looking besides the solutions fund here.
https://www.opensips.org/Documentation/TroubleShooting-OutOfMem
thank you
Scott
More information about the Users
mailing list