Discussion:
[SR-Users] memory: Free fragment not found
Dmitri Savolainen
2017-02-15 20:04:37 UTC
Permalink
Hi.
My kamailio v4.4.5 installation ( -m 512 -M 64 ) stop sip processing with
fm_search_defrag(): fm_search_defrag(0x7f39917fa010, 952); Free fragment
not found!
core; Free fragment not foun
while it was enough free shared memory according to
kamcmd> core.shmmem m
{
total: 512
free: 472
used: 27
real_used: 39
max_used: 51m
fragments: 37035
}
whether it was about package memory or smth else? Thanks!
--
Savolainen Dmitri
Daniel-Constantin Mierla
2017-02-16 06:58:29 UTC
Permalink
Hello,
for how long it was running? Was it any stress test or just normal traffic?
The issue is related to pkg memory, to get the stats of it per each
process, run:
kamcmd pkg.stats
Cheers,
Daniel
Post by Dmitri Savolainen
Hi.
My kamailio v4.4.5 installation ( -m 512 -M 64 ) stop sip processing
Feb 15 21:45:05 kamailio[14173] ERROR: <core>
fm_search_defrag(0x7f39917fa010, 952); Free fragment not found!
Feb 15 21:45:05 kamailio[14173] ERROR: <core>
[mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f39917fa010, 952)
called from core: rvalue.c: rval_new_empty(224), module: core;
Free fragment not foun
while it was enough free shared memory according to
kamcmd> core.shmmem m { total: 512 free: 472
used: 27 real_used: 39 max_used: 51m
fragments: 37035 }
whether it was aboutpackage memory or smth else? Thanks!
--
Savolainen Dmitri
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
Dmitri Savolainen
2017-02-16 07:27:04 UTC
Permalink
No any tests. It was running two weeks and crushed in out of peak period.
i have never seen this before in the months of uptime. Will start
monitoring pkg memory from this moment too.
Post by Daniel-Constantin Mierla
Hello,
for how long it was running? Was it any stress test or just normal traffic?
The issue is related to pkg memory, to get the stats of it per each
kamcmd pkg.stats
Cheers,
Daniel
Hi.
My kamailio v4.4.5 installation ( -m 512 -M 64 ) stop sip processing with
fm_search_defrag(): fm_search_defrag(0x7f39917fa010, 952); Free fragment
not found! Feb 15 21:45:05 kamailio[14173] ERROR: <core>
[mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f39917fa010, 952) called
from core: rvalue.c: rval_new_empty(224), module: core; Free fragment
not foun
while it was enough free shared memory according to
27 real_used: 39 max_used: 51m fragments: 37035 }
whether it was about package memory or smth else? Thanks!
--
Savolainen Dmitri
_______________________________________________
--
Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Savolainen Dmitri
Daniel-Constantin Mierla
2017-02-16 07:34:28 UTC
Permalink
If it is already running for some time, run:
kamcmd corex.pkg_summary idx 1
and then get the related qm/fm status/summary log messages from syslog
and send them here to check if there is any potential pkg leak in the
sip worker one.
Cheers,
Daniel
Post by Dmitri Savolainen
No any tests. It was running two weeks and crushed in out of peak period.
i have never seen this before in the months of uptime. Will start
monitoring pkg memory from this moment too.
Hello,
for how long it was running? Was it any stress test or just normal traffic?
The issue is related to pkg memory, to get the stats of it per
kamcmd pkg.stats
Cheers,
Daniel
Post by Dmitri Savolainen
Hi.
My kamailio v4.4.5 installation ( -m 512 -M 64 ) stop sip
Feb 15 21:45:05 kamailio[14173] ERROR: <core>
fm_search_defrag(0x7f39917fa010, 952); Free fragment not
found! Feb 15 21:45:05 kamailio[14173] ERROR: <core>
[mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f39917fa010,
core; Free fragment not foun
while it was enough free shared memory according to
kamcmd> core.shmmem m { total: 512 free: 472
used: 27 real_used: 39 max_used: 51m
fragments: 37035 }
whether it was aboutpackage memory or smth else? Thanks!
--
Savolainen Dmitri
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
--
Daniel-Constantin Mierla
www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com <http://www.asipto.com>
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com <http://www.kamailioworld.com>
_______________________________________________ SIP Express Router
(SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
--
Savolainen Dmitri
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
Dmitri Savolainen
2017-02-17 18:48:04 UTC
Permalink
create github issue for this
https://github.com/kamailio/kamailio/issues/1001
Post by Daniel-Constantin Mierla
kamcmd corex.pkg_summary idx 1
and then get the related qm/fm status/summary log messages from syslog and
send them here to check if there is any potential pkg leak in the sip
worker one.
Cheers,
Daniel
No any tests. It was running two weeks and crushed in out of peak period.
i have never seen this before in the months of uptime. Will start
monitoring pkg memory from this moment too.
Post by Daniel-Constantin Mierla
Hello,
for how long it was running? Was it any stress test or just normal traffic?
The issue is related to pkg memory, to get the stats of it per each
kamcmd pkg.stats
Cheers,
Daniel
Hi.
My kamailio v4.4.5 installation ( -m 512 -M 64 ) stop sip processing with
fm_search_defrag(): fm_search_defrag(0x7f39917fa010, 952); Free
fragment not found! Feb 15 21:45:05 kamailio[14173] ERROR: <core>
[mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f39917fa010, 952) called
from core: rvalue.c: rval_new_empty(224), module: core; Free fragment
not foun
while it was enough free shared memory according to
27 real_used: 39 max_used: 51m fragments: 37035 }
whether it was about package memory or smth else? Thanks!
--
Savolainen Dmitri
_______________________________________________
--
Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
_______________________________________________ SIP Express Router (SER)
and Kamailio (OpenSER) - sr-users mailing list
i-bin/mailman/listinfo/sr-users
--
Savolainen Dmitri
--
Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
--
Savolainen Dmitri
4 Replies
3 Views
Permalink to this page
Disable enhanced parsing
Thread Navigation
Dmitri Savolainen2017-02-15 20:04:37 UTC