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&nbsp; 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.<br><br><div class="gmail_quote">On Jan 16, 2008 7:53 AM, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@voice-system.ro">
bogdan@voice-system.ro</a>&gt; 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 class="Ih2E3d"><br>Regards,<br>Bogdan<br><br>Sergio Gutierrez wrote:<br></div><div><div></div><div class="Wj3C7c">
&gt; Hi Bogdan.<br>&gt;<br>&gt; Thanks for your answer.<br>&gt;<br>&gt; The private memory has the default value; I did not changed.<br>&gt;<br>&gt; My module list is:<br>&gt;<br>&gt; loadmodule &quot;usrloc.so&quot;<br>&gt; loadmodule &quot;
registrar.so&quot;<br>&gt; loadmodule &quot; rr.so&quot;<br>&gt; loadmodule &quot;tm.so&quot;<br>&gt; loadmodule &quot;xlog.so&quot;<br>&gt; loadmodule &quot;mi_fifo.so&quot;<br>&gt; loadmodule &quot;domain.so&quot;<br>&gt; loadmodule &quot;
nathelper.so&quot;<br>&gt; loadmodule &quot;textops.so&quot;<br>&gt; loadmodule &quot;mediaproxy.so&quot;<br>&gt; loadmodule &quot;uri.so&quot;<br>&gt; loadmodule &quot;sl.so&quot;<br>&gt; loadmodule &quot;maxfwd.so&quot;
<br>&gt; loadmodule &quot;mysql.so&quot;<br>&gt; loadmodule &quot;auth.so&quot;<br>&gt; loadmodule &quot;auth_db.so&quot;<br>&gt; loadmodule &quot;uri_db.so&quot;<br>&gt; loadmodule &quot;avpops.so&quot;<br>&gt; loadmodule &quot;
lcr.so&quot;<br>&gt; loadmodule &quot;uac_redirect.so&quot;<br>&gt; loadmodule &quot;alias_db.so&quot;<br>&gt; loadmodule &quot;acc.so&quot;<br>&gt; loadmodule &quot;dialog.so&quot;<br>&gt; loadmodule &quot;statistics.so&quot;
<br>&gt; loadmodule &quot;group.so&quot;<br>&gt; loadmodule &quot;group_radius.so&quot;<br>&gt; loadmodule &quot;avp_radius.so&quot;<br>&gt; loadmodule &quot;auth_radius.so&quot;<br>&gt; loadmodule &quot;exec.so&quot;<br>
&gt; loadmodule &quot;siptrace.so&quot;<br>&gt; loadmodule &quot;speeddial.so&quot;<br>&gt;<br>&gt; Currently, I tried to use a different implementation of malloc<br>&gt; function, which is provided for Solaris in a library called
<br>&gt; libmtmalloc; This is recommended for multithreaded programs specially,<br>&gt; but I tried either, to see whether it improves the behaviour.<br>&gt;<br>&gt; Best regards.<br>&gt;<br>&gt; Sergio G.<br>&gt;<br>&gt;
<br>&gt;<br>&gt; On Jan 15, 2008 12:00 PM, Bogdan-Andrei Iancu &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a><br></div></div><div><div></div><div class="Wj3C7c">&gt; &lt;mailto:<a href="mailto:bogdan@voice-system.ro">
bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>&gt;<br>&gt; &nbsp; &nbsp; Hi Sergio,<br>&gt;<br>&gt; &nbsp; &nbsp; all openser processes reserve uses the same amount of private<br>&gt; &nbsp; &nbsp; memory (so<br>&gt; &nbsp; &nbsp; the timer process is not necessary different).
<br>&gt; &nbsp; &nbsp; What is the private memory configured ? Is &nbsp;it the default value of 1M<br>&gt; &nbsp; &nbsp; (see config.h) ? If so, the internal private memory is not guilty for<br>&gt; &nbsp; &nbsp; this (as it cannot go over 1M).<br>&gt;<br>
&gt; &nbsp; &nbsp; What can happen is that some used libs (like libxml2) are leaking<br>&gt; &nbsp; &nbsp; dynamic memory (which is also allocated in heap). So, what module are<br>&gt; &nbsp; &nbsp; you using?<br>&gt;<br>&gt; &nbsp; &nbsp; Regards,<br>&gt; &nbsp; &nbsp; Bogdan
<br>&gt;<br>&gt; &nbsp; &nbsp; Sergio Gutierrez wrote:<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; Hello everybody.<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; Currently, I am watching a non normal behaviour in OpenSER 1.2.1<br>&gt; &nbsp; &nbsp; , no<br>&gt; &nbsp; &nbsp; &gt; tls. My operating System is Solaris 10, running on Sparc
<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; The process which appears as timer, is consuming almost the 50%<br>&gt; &nbsp; &nbsp; of the<br>&gt; &nbsp; &nbsp; &gt; whole physical memory of the machine. After a deep inspection of<br>&gt; &nbsp; &nbsp; &gt; memory distribution, appears that the most of memory consumption
<br>&gt; &nbsp; &nbsp; is at<br>&gt; &nbsp; &nbsp; &gt; process heap, as presented with pmap(1M) command:<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; 1978: &nbsp; /toip/sbin/openser -n 9 -m 256 -f<br>&gt; &nbsp; &nbsp; /toip/etc/openser/prueba1.cfg<br>&gt; &nbsp; &nbsp; &gt; &nbsp;Address &nbsp;Kbytes &nbsp; &nbsp; RSS &nbsp; &nbsp;Anon &nbsp;Locked Mode &nbsp; Mapped File
<br>&gt; &nbsp; &nbsp; &gt; 00010000 &nbsp; &nbsp; 760 &nbsp; &nbsp; 752 &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; &nbsp; - r-x-- &nbsp;openser<br>&gt; &nbsp; &nbsp; &gt; 000DC000 &nbsp; &nbsp; &nbsp;24 &nbsp; &nbsp; &nbsp;24 &nbsp; &nbsp; &nbsp;24 &nbsp; &nbsp; &nbsp; - rwx-- &nbsp;openser<br>&gt; &nbsp; &nbsp; &gt; 000E2000 &nbsp; &nbsp; &nbsp;56 &nbsp; &nbsp; &nbsp;32 &nbsp; &nbsp; &nbsp;24 &nbsp; &nbsp; &nbsp; - rwx-- &nbsp; &nbsp;[ anon ]
<br>&gt; &nbsp; &nbsp; &gt; 000F0000 &nbsp; &nbsp; 192 &nbsp; &nbsp; 128 &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; &nbsp; - rwx-- &nbsp;openser<br>&gt; &nbsp; &nbsp; &gt; 00120000 3906432 3906432 3627200 &nbsp; &nbsp; &nbsp; - rwx-- &nbsp; &nbsp;[ heap ]<br>&gt; &nbsp; &nbsp; &gt; EE800000 &nbsp;262144 &nbsp; &nbsp;3624 &nbsp; &nbsp; &nbsp; - &nbsp; &nbsp; &nbsp; - rw-s- &nbsp; &nbsp;[ anon ]
<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; ...<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; Thanks in advance for any hint about it.<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; Best regards.<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; Sergio Gutiérrez.<br>&gt; &nbsp; &nbsp; &gt; EPM Telecomunicaciones 
S.A. E.S.P.<br>&gt; &nbsp; &nbsp; &gt; Medellin, Colombia.<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; ------------------------------------------------------------------------<br>&gt;<br>&gt; &nbsp; &nbsp; &gt;<br>&gt; &nbsp; &nbsp; &gt; _______________________________________________
<br>&gt; &nbsp; &nbsp; &gt; Users mailing list<br></div></div>&gt; &nbsp; &nbsp; &gt; <a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a> &lt;mailto:<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a>&gt;<br>
<div><div></div><div class="Wj3C7c">&gt; &nbsp; &nbsp; &gt; <a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt; &nbsp; &nbsp; &gt;<br>&gt;<br>&gt;
<br><br></div></div></blockquote></div><br>