<div dir="ltr">yes i need backport them, are these the correct patchs ?<div><ul><li><a href="https://github.com/kamailio/kamailio/commit/4a904b5fe90253d0d5517cf1a5cdca3695e59ec3.patch">https://github.com/kamailio/kamailio/commit/4a904b5fe90253d0d5517cf1a5cdca3695e59ec3.patch</a><br></li><li><a href="https://github.com/kamailio/kamailio/commit/d7bd8a187546f132547788c47ff9a3947be49957.patch">https://github.com/kamailio/kamailio/commit/d7bd8a187546f132547788c47ff9a3947be49957.patch</a><br></li><li><a href="https://github.com/kamailio/kamailio/commit/769dce2fad66efdbc6cce6951bc60b60bf453a19.patch">https://github.com/kamailio/kamailio/commit/769dce2fad66efdbc6cce6951bc60b60bf453a19.patch</a><br></li></ul></div><div>Thank you</div><div>Regards</div><div>José</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> escreveu no dia sexta, 16/08/2019 à(s) 12:36:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Can you try with latest master? I pushed some patches there for a
proper fix.</p>
<p>If you need to backport, are the patches done to the files
core/fmsg.{c,h} and to evapi module, because I pushed some other
patches not related to this issue.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="gmail-m_5988164441715945705moz-cite-prefix">On 16.08.19 12:03, José Seabra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Updating my last email with the output of coredump
generated by kamailio.
<div><br>
</div>
<div>Please check out the following link to get the coredump
output: <a href="https://pastebin.com/gsyPc0eg" target="_blank">https://pastebin.com/gsyPc0eg</a></div>
<div><br>
</div>
<div>Let me know if you need further information</div>
<div><br>
</div>
<div>Thank you</div>
<div>José </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">José Seabra <<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>>
escreveu no dia sexta, 16/08/2019 à(s) 10:37:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi Daniel,
<div>After apply your patch i noticed the following
situations:</div>
<div><br>
</div>
<div>When i restart my external application kamailio prints
the following logs:</div>
<div><br>
</div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13581]:
INFO: ESP_LOG: 123: [evapi:connection-closed] EVAPI
<a href="http://127.0.0.1:52906" target="_blank">127.0.0.1:52906</a>
connection has been closed</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i style="background-color:rgb(255,255,0)">edge-sip-proxy[13581]:
CRITICAL: ESP_LOG: 123: <core>
[core/mem/q_malloc.c:514]: qm_free(): BUG: freeing
already freed pointer (0x7f0ab9914a88), called from
core: core/parser/parse_via.c: free_via_list(2738),
first free core: core/parser/parse_via.c:
free_via_list(2738) - ignoring</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i style="background-color:rgb(255,255,0)">edge-sip-proxy[13581]:
CRITICAL: ESP_LOG: 123: <core>
[core/mem/q_malloc.c:514]: qm_free(): BUG: freeing
already freed pointer (0x7f0ab99103c0), called from
core: core/parser/hf.c: free_hdr_field_lst(217),
first free core: core/parser/hf.c:
free_hdr_field_lst(217) - ignoring</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13581]:
INFO: ESP_LOG: 123: evapi [evapi_dispatch.c:381]:
evapi_recv_client(): client closing connection - pos
[0] addr [<a href="http://127.0.0.1:52906" target="_blank">127.0.0.1:52906</a>]</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13581]:
INFO: ESP_LOG: 123: [evapi:connection-new] New EVAPI
connection from <a href="http://127.0.0.1:52980" target="_blank">127.0.0.1:52980</a></i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i style="background-color:rgb(255,255,0)">edge-sip-proxy[13581]:
CRITICAL: ESP_LOG: 123: <core>
[core/mem/q_malloc.c:514]: qm_free(): BUG: freeing
already freed pointer (0x7f0ab9914a88), called from
core: core/parser/parse_via.c: free_via_list(2738),
first free core: core/parser/parse_via.c:
free_via_list(2738) - ignoring</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i style="background-color:rgb(255,255,0)">edge-sip-proxy[13581]:
CRITICAL: ESP_LOG: 123: <core>
[core/mem/q_malloc.c:514]: qm_free(): BUG: freeing
already freed pointer (0x7f0ab99103c0), called from
core: core/parser/hf.c: free_hdr_field_lst(217),
first free core: core/parser/hf.c:
free_hdr_field_lst(217) - ignoring</i></p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i><br>
</i></p>
</div>
</blockquote>
<font face="Helvetica Neue" color="#454545"><span style="font-size:12px">Then when kamailio starts
sending/receiving events to/from external application it
breaks(stops) and prints the following logs:</span></font>
<div><font face="Helvetica Neue" color="#454545"><span style="font-size:12px"><br>
</span></font>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13571]:
INFO: ESP_LOG: <a href="mailto:7-32554@10.225.121.206" target="_blank">7-32554@10.225.121.206</a>:
FUZECI1-x1006 registered</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13581]:
INFO: ESP_LOG: 123: [evapi:connection-received]
EVAPI msg received ->
{"aor":<a class="gmail-m_5988164441715945705moz-txt-link-rfc2396E">"sip:FUZECI1-x1000@uc.fuze.domain"</a>,"contact":"<a class="gmail-m_5988164441715945705moz-txt-link-rfc2396E"><sip:FUZECI1-x1000@10.225.121.206:5060;transport=UDP></a>;expires=172800"}</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i><font style="background-color:rgb(255,255,0)" color="#000000">edge-sip-proxy[13581]: CRITICAL:
ESP_LOG: 123: <core>
[core/parser/hf.c:200]: clean_hdr_field(): BUG:
unknown header type 1885958972</font></i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i><font style="background-color:rgb(255,255,0)" color="#000000"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-Apple-converted-space"> </span>kernel:
traps: edge-sip-proxy[13581] general protection
ip:6a8dac sp:7ffdebb1a8b0 error:0 in
kamailio[400000+460000]</font></i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i><font style="background-color:rgb(255,255,0)" color="#000000">edge-sip-proxy[13589]: CRITICAL:
<core> [core/pass_fd.c:277]: receive_fd():
EOF on 27</font></i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i><font style="background-color:rgb(255,255,0)" color="#000000">edge-sip-proxy[13567]: ALERT:
<core> [main.c:756]: handle_sigs(): child
process 13581 exited by a signal 11</font></i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13567]:
ALERT: <core> [main.c:759]: handle_sigs():
core was not generated</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13567]:
INFO: <core> [main.c:781]: handle_sigs():
terminating due to SIGCHLD</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13573]:
INFO: ESP_LOG: 317f64550726afacb315390fd37ece05:
<core> [main.c:836]: sig_usr(): signal 15
received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13568]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13576]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13571]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13577]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13579]:
INFO: ESP_LOG: 123: <core> [main.c:836]:
sig_usr(): signal 15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13572]:
INFO: ESP_LOG: <a href="mailto:0dcb5707418c4142-13572@10.225.121.128" target="_blank">0dcb5707418c4142-13572@10.225.121.128</a>:
<core> [main.c:836]: sig_usr(): signal 15
received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13575]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13582]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13583]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13578]:
INFO: ESP_LOG: 123: <core> [main.c:836]:
sig_usr(): signal 15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13580]:
INFO: ESP_LOG: 123: <core> [main.c:836]:
sig_usr(): signal 15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13586]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13584]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13585]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13570]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13587]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13569]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13588]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13574]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13589]:
INFO: <core> [main.c:836]: sig_usr(): signal
15 received</i></p>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-p1"><i>edge-sip-proxy[13567]:
INFO: <core> [core/sctp_core.c:53]:
sctp_core_destroy(): SCTP API not initialized</i></p>
</div>
</blockquote>
<div><font face="Helvetica Neue" color="#454545"><span style="font-size:12px"><br>
</span></font></div>
</div>
<div><font face="Helvetica Neue" color="#454545"><span style="font-size:12px">Best Regards</span></font></div>
<div><font face="Helvetica Neue" color="#454545"><span style="font-size:12px">José Seabra</span></font></div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Daniel-Constantin Mierla
<<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
escreveu no dia quinta, 15/08/2019 à(s) 07:36:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello,</p>
<p>can you try with master branch? The issue should be
fixed by the commit:</p>
<p> * <a href="https://github.com/kamailio/kamailio/commit/d36a4b00c6becd42cfcec4fc7eb398371e1cc812" target="_blank">https://github.com/kamailio/kamailio/commit/d36a4b00c6becd42cfcec4fc7eb398371e1cc812</a></p>
<p>If works ok, then I will backport to stable branches.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006moz-cite-prefix">On
14.08.19 12:19, José Seabra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div>Please find out the logs in the following link:</div>
<div>
<ul>
<li><a href="https://pastebin.com/h2UNHwYC" target="_blank">https://pastebin.com/h2UNHwYC</a><br>
</li>
</ul>
<div>
<div>Let me know if you need something else.</div>
<div><br>
</div>
<div>Cheers<br>
</div>
<div>José Seabra</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Daniel-Constantin
Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
escreveu no dia quarta, 14/08/2019 à(s) 10:59:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello,</p>
<p>that's memory status, printing details for
each allocated chunk. I could spot a lot of
chunks from the parser and get header field
functions, but to be sure there is nothing
else, can you set global parameter:</p>
<p>mem_summary=12</p>
<p>and then reproduce again. The logs printed in
syslog should have smaller size, giving the
summary of allocated chunks - how many times
and the size for each location in the code.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882moz-cite-prefix">On
14.08.19 11:51, José Seabra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello Daniel,
<div>Please find out the attached zip file
with the output pkg_summary.</div>
<div><br>
</div>
<div>Let me know if you need something else.</div>
<div><br>
</div>
<div>Thank you for your support</div>
<div><br>
</div>
<div>Cheers</div>
<div>José Seabra</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Daniel-Constantin
Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
escreveu no dia quarta, 14/08/2019 à(s)
10:03:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello,</p>
<p>can you enable pkg summary and
generate it once the out of memory
happens?</p>
<p>Set memlog to lower value than debug,
when the memory happens, do:</p>
<p><a href="https://www.kamailio.org/docs/modules/devel/modules/corex.html#corex.rpc.pkg_summary" target="_blank">https://www.kamailio.org/docs/modules/devel/modules/corex.html#corex.rpc.pkg_summary</a></p>
<p>Then send some traffic to that
process and watch the syslog.</p>
<p>Alternative, enable memory summary
via core parameter and stop kamailio
when the errors happen, but you will
get summary for all processes, so it
might be harder to extract those log
messages related the evapi process.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-cite-prefix">On
14.08.19 10:37, José Seabra wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello there,
<div>I'm using kamailio 5.2.1 with
evapi module to send and receive
events from an external
application.</div>
<div> </div>
<div>During my stress tests to
kamailio i have been noticing that
at some point kamailio is getting
out of memory:</div>
<div><br>
</div>
<div>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]ERROR:
ESP_LOG: <null>:
<core>
[core/mem/q_malloc.c:291]:
qm_find_free():
qm_find_free(0x7fb8730b6010,
64); Free fragment not found!</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]:
ERROR: ESP_LOG: <null>:
<core>
[core/mem/q_malloc.c:425]:
qm_malloc():
qm_malloc(0x7fb8730b6010, 64)
called from core:
core/parser/msg_parser.c:
parse_headers(325), module:
core; Free fragment not found!</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]:
ERROR: ESP_LOG: <null>:
<core>
[core/parser/msg_parser.c:328]:
parse_headers(): memory
allocation error</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]:
ERROR: ESP_LOG: <null>: pv
[pv_core.c:704]:
pv_get_callid(): cannot parse
Call-Id header</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]:
INFO: ESP_LOG: <null>:
[evapi:connection-received]
EVAPI msg received -> {"aor":<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-rfc2396E">"sip:FUZECI1-x1516@uc.fuze.domain"</a>,"contact":"<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-rfc2396E"><sip:FUZECI1-x1516@10.225.121.206:5060;transport=UDP></a>"}</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]:
ERROR: ESP_LOG: <null>:
<core>
[core/mem/q_malloc.c:291]:
qm_find_free():
qm_find_free(0x7fb8730b6010,
64); Free fragment not found!</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">edge-sip-proxy[20565]:
ERROR: ESP_LOG: <null>:
<core>
[core/mem/q_malloc.c:425]:
qm_malloc():
qm_malloc(0x7fb8730b6010, 64)
called from core:
core/parser/msg_parser.c:
parse_headers(325), module:
core; Free fragment not found!</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">The
process id 20565 is running out
of memory as you can see bellow:</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">output
of kamcmd pkg.stats </p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>entry:
14</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>pid:<span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-converted-space"> </span></p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>rank:
-2</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>used:
6058696</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>free:
824</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>real_used:
8387784</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>total_size:
8388608</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>total_frags:
30</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">This
process ID is related with Evapi
Dispatcher</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">kamcmd
ps | grep 20565</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1"><br>
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">
</p>
<p class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-p1">20565<span class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>EvAPI
Dispatcher</p>
<div><br>
</div>
<div>After stop the sipp that was
generating traffic to kamailio
the evapi process still have all
the memory consumed</div>
<div><br>
</div>
<div>Can it be some memory leak in
Evapi module?</div>
<div><br>
</div>
<div>Best Regards</div>
<div>José Seabra</div>
-- <br>
<div dir="ltr" class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail-m_-4220985776146207598moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</blockquote>
<pre class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail-m_-4136311559141794882moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</blockquote>
<pre class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail-m_3333043850057548006moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_5988164441715945705gmail-m_-9171827475261910881gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_5988164441715945705gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</blockquote>
<pre class="gmail-m_5988164441715945705moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_5988164441715945705moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_5988164441715945705moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_5988164441715945705moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Cumprimentos<div>José Seabra</div></div>