Hello,

what are the values for -m and -M command line parameters?

Cheers,
Daniel


On 03.10.18 16:37, Diego Nadares wrote:
Hi guys! I hope you are doing well.

Any hint on this? I changed to json but sometimes i get the same error. 

2018-10-03T10:12:11.066539-03:00 drwsip11 /usr/local/sbin/kamailio[28173]: ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(0
x7f575c4ad000, 5352056); Free fragment not found!
2018-10-03T10:12:11.067552-03:00 drwsip11 /usr/local/sbin/kamailio[28173]: ERROR: <core> [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f575c4ad000,
 5352056) called from core: tcp_main.c: _wbufq_add(636), module: core; Free fragment not found!
2018-10-03T10:12:11.068128-03:00 drwsip11 /usr/local/sbin/kamailio[28182]: ERROR: <core> [tcp_main.c:3496]: handle_ser_child(): received CON_ERROR for 0x7f575f6a6918 (id 12638), refcnt 3, flags 0x4018
2018-10-03T10:12:11.068397-03:00 drwsip11 /usr/local/sbin/kamailio[28173]: ERROR: sl [../../forward.h:220]: msg_send_buffer(): tcp_send failed
2018-10-03T10:12:11.068929-03:00 drwsip11 /usr/local/sbin/kamailio[28173]: ERROR: xmlrpc [xmlrpc.c:795]: send_reply(): Error while sending reply
2018-10-03T10:12:11.092080-03:00 drwsip11 /usr/local/sbin/kamailio[28173]: WARNING: <core> [tcp_read.c:1666]: handle_io(): F_TCPCONN connection marked as bad: 0x7f575f6a6918 id 12638 refcnt 1

Is there any stat to see? Or any additional configuration to make?

Here is my tcp related config

tcp_connection_lifetime=3605
tcp_conn_wq_max=30000000
tcp_rd_buf_size=5273226

We are running kamilio 4.4.5

Thanks in advance!

Diego




El vie., 26 may. 2017 a las 16:12, Diego Nadares (<dnadares@gmail.com>) escribió:
Hi guys!

We have four a scripts that sends dlg.list command to kamailio through xmlrpc. They are not executed simultaneously.  Sometimes, we are getting the following errors:

 fm_search_defrag(): fm_search_defrag(0x7f212c25a000, 5273984); Free fragment not found!2017-05-26T13:54:20.438736-03:00 drwsip02 /usr/local/sbin/kamailio[19833]: ERROR: <core> [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f212c25a000, 5273984) called from core: tcp_main.c: tcpconn_new(957), module: core; Free fragment not found!2017-05-26T13:54:20.439101-03:00 drwsip02 /usr/local/sbin/kamailio[19833]: ERROR: <core> [tcp_main.c:959]: tcpconn_new(): mem. allocation failure2017-05-26T13:54:20.439344-03:00 drwsip02 /usr/local/sbin/kamailio[19833]: ERROR: <core> [tcp_main.c:3985]: handle_new_connect(): tcpconn_new failed, closing socket

I all ready increased this two variables:

tcp_conn_wq_max=30000000
tcp_rd_buf_size=5273226

How can I see how much memory xmlrpc is using?

Any advice will be appreciated.

Thanks in advance!

Diego



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

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com