Hi<br><br>Here is the output:<br>version: openser 1.2.3-notls (i386/linux)<br>flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>svnrevision: unknown<br>@(#) $Id: main.c 3173 2007-11-20 08:26:35Z bogdan_iancu $<br>main.c compiled on 02:27:47 Dec 24 2008 with gcc 4.0.2<br><br>Thanks,<br>
Krunal Patel<br><div class="gmail_quote">On Wed, Dec 31, 2008 at 6:17 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
send the output of "openser -V".<div class="Ih2E3d"><br>
<br>
Daniel<br>
<br>
<br>
On 12/31/08 14:36, Krunal Patel wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hi<br>
Yes I have recompiled/reinstalled openser with -DDBG_QM_MALLOC.<br>
<br>
Thanks,<br>
Krunal Patel<br>
<br></div><div class="Ih2E3d">
On Wed, Dec 31, 2008 at 6:03 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>> wrote:<br>
<br>
Hello,<br>
<br>
have you recompiled/reinstalled openser with -DDBG_QM_MALLOC?<br>
<br>
The log does not show it. There should be messages like:<br>
<br>
alloc'd from file.c: function(line)<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<br>
<br>
On 12/31/08 13:55, Krunal Patel wrote:<br>
<br>
Hi,<br>
<br>
I have captured memory dump using kill -SIGUSR1 OPENSER-PID.<br>
Here is the link for the dump.<br>
<a href="http://pastebin.com/m1e8fcd01" target="_blank">http://pastebin.com/m1e8fcd01</a><br>
<br>
As well as I have stopped openser & captured memory Dump.<br>
Here is the link for the same.<br>
<a href="http://pastebin.com/m2edde70" target="_blank">http://pastebin.com/m2edde70</a><br>
<br>
Would you please help me to interpret the logs & find out<br>
whether memory leak does exist or not?<br>
<br>
Thanks in advance!!<br>
<br>
--<br>
Krunal Patel<br>
<br>
<br>
On Sun, Dec 28, 2008 at 3:06 PM, Daniel-Constantin Mierla<br>
<<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>><br></div><div><div></div><div class="Wj3C7c">
<mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>>> wrote:<br>
<br>
Hello,<br>
<br>
<br>
On 12/23/08 16:20, Krunal Patel wrote:<br>
<br>
Hi,<br>
<br>
I am using openser 1.2.3.<br>
<br>
1.2.3 is rather old. Can you update to a newer version?<br>
kamailio<br>
1.4.3 for example...<br>
<br>
I have increased PKG_MEM_POOL_SIZE to 4MB.<br>
Openser worked properly for 4 days since last restart.<br>
I found get_hdr_field: out of memory for all messages.<br>
<br>
This might be a side effect, the leak can be in other parts.<br>
Please follow the guidelines described here:<br>
<a href="http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory</a><br>
<br>
Grab the log messages and put them somewhere to download,<br>
if they<br>
are too big. The log will help to identify where the issue is.<br>
<br>
Note that out of memory messages can occur due to heavy<br>
traffic,<br>
with no leak there -- case when increasing the private<br>
memory size<br>
is the solution.<br>
<br>
Happy holidays!<br>
Daniel<br>
<br>
<br>
I did openser restart & the issue is fixed now.<br>
<br>
Is anybody there who have faced the same issue?<br>
<br>
Thanks in advance!!<br>
<br>
--<br>
Krunal patel<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>><br>
<mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>>><br>
<br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
-- Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a> <mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
-- Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<br>
<br>
</div></div></blockquote><div><div></div><div class="Wj3C7c">
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<br>
</div></div></blockquote></div><br>