Hi Bogdan.<br><br>We are still facing this issue in one of our production servers; we tried by setting LD_PRELOAD environment variable in Solaris to use an alternative memory allocation library, but we could not solve the problem.<br>
<br>Right now the timer process of openser is exhibing a heap of almos 3.8 GB of physical memory.<br><br>What else would you suggest to try?<br><br>Best regards.<br><br>Sergio Gutiérrez.<br><br><div class="gmail_quote">On Jan 16, 2008 9:38 AM, Sergio Gutierrez <<a href="mailto:saguti@gmail.com">saguti@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Bogdan.<br><br>The openser we are running in our company is a stock one version as you say; code has not been modified in any way, and it was compiled using standard GCC provided with Solaris 10;<br>
<br>I am not sure if it is relevant, but, we are using db_mode=3, being our database MySQL
5.0.37, compiled also with standard gcc. OpenSER has been linked against this library.<br><br>Best Regards.<br><br>Sergio G.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Jan 16, 2008 7:53 AM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">
bogdan@voice-system.ro</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Sergio,<br><br>more or less, non of the modules you load are using libs with glib
<br>malloc/free functions. When you noticed this, were you running stock<br>openser or a modified one?<br><div><br>Regards,<br>Bogdan<br><br>Sergio Gutierrez wrote:<br></div><div><div></div><div>
> Hi Bogdan.<br>><br>> Thanks for your answer.<br>><br>> The private memory has the default value; I did not changed.<br>><br>> My module list is:<br>><br>> loadmodule "usrloc.so"<br>
> loadmodule "
registrar.so"<br>> loadmodule " rr.so"<br>> loadmodule "tm.so"<br>> loadmodule "xlog.so"<br>> loadmodule "mi_fifo.so"<br>> loadmodule "domain.so"<br>> loadmodule "
nathelper.so"<br>> loadmodule "textops.so"<br>> loadmodule "mediaproxy.so"<br>> loadmodule "uri.so"<br>> loadmodule "sl.so"<br>> loadmodule "maxfwd.so"
<br>> loadmodule "mysql.so"<br>> loadmodule "auth.so"<br>> loadmodule "auth_db.so"<br>> loadmodule "uri_db.so"<br>> loadmodule "avpops.so"<br>> loadmodule "
lcr.so"<br>> loadmodule "uac_redirect.so"<br>> loadmodule "alias_db.so"<br>> loadmodule "acc.so"<br>> loadmodule "dialog.so"<br>> loadmodule "statistics.so"
<br>> loadmodule "group.so"<br>> loadmodule "group_radius.so"<br>> loadmodule "avp_radius.so"<br>> loadmodule "auth_radius.so"<br>> loadmodule "exec.so"<br>
> loadmodule "siptrace.so"<br>> loadmodule "speeddial.so"<br>><br>> Currently, I tried to use a different implementation of malloc<br>> function, which is provided for Solaris in a library called
<br>> libmtmalloc; This is recommended for multithreaded programs specially,<br>> but I tried either, to see whether it improves the behaviour.<br>><br>> Best regards.<br>><br>> Sergio G.<br>><br>>
<br>><br>> On Jan 15, 2008 12:00 PM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a><br></div></div><div><div></div><div>> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">
bogdan@voice-system.ro</a>>> wrote:<br>><br>> Hi Sergio,<br>><br>> all openser processes reserve uses the same amount of private<br>> memory (so<br>> the timer process is not necessary different).
<br>> What is the private memory configured ? Is it the default value of 1M<br>> (see config.h) ? If so, the internal private memory is not guilty for<br>> this (as it cannot go over 1M).<br>><br>
> What can happen is that some used libs (like libxml2) are leaking<br>> dynamic memory (which is also allocated in heap). So, what module are<br>> you using?<br>><br>> Regards,<br>> Bogdan
<br>><br>> Sergio Gutierrez wrote:<br>> ><br>> > Hello everybody.<br>> ><br>> > Currently, I am watching a non normal behaviour in OpenSER 1.2.1<br>> , no<br>> > tls. My operating System is Solaris 10, running on Sparc
<br>> ><br>> > The process which appears as timer, is consuming almost the 50%<br>> of the<br>> > whole physical memory of the machine. After a deep inspection of<br>> > memory distribution, appears that the most of memory consumption
<br>> is at<br>> > process heap, as presented with pmap(1M) command:<br>> ><br>> > 1978: /toip/sbin/openser -n 9 -m 256 -f<br>> /toip/etc/openser/prueba1.cfg<br>> > Address Kbytes RSS Anon Locked Mode Mapped File
<br>> > 00010000 760 752 - - r-x-- openser<br>> > 000DC000 24 24 24 - rwx-- openser<br>> > 000E2000 56 32 24 - rwx-- [ anon ]
<br>> > 000F0000 192 128 - - rwx-- openser<br>> > 00120000 3906432 3906432 3627200 - rwx-- [ heap ]<br>> > EE800000 262144 3624 - - rw-s- [ anon ]
<br>> ><br>> > ...<br>> ><br>> > Thanks in advance for any hint about it.<br>> ><br>> > Best regards.<br>> ><br>> > Sergio Gutiérrez.<br>> > EPM Telecomunicaciones
S.A. E.S.P.<br>> > Medellin, Colombia.<br>> ><br>> ------------------------------------------------------------------------<br>><br>> ><br>> > _______________________________________________
<br>> > Users mailing list<br></div></div>> > <a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a> <mailto:<a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a>><br>
<div><div></div><div>> > <a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>> ><br>><br>>
<br><br></div></div></blockquote></div><br>
</div></div></blockquote></div><br>