<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The numbers shown for memory usage also
include shared memory, ie memory used by multiple processes/threads, these
shared areas will be counted multiple times.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Use `free` to find the real amount of used
memory on your server (look at the +/- buffers section)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
users-bounces@openser.org [mailto:users-bounces@openser.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Arun Kumar<br>
<b><span style='font-weight:bold'>Sent:</span></b> 20 June 2007 14:44<br>
<b><span style='font-weight:bold'>To:</span></b> USER; serusers@lists.iptel.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Users] regarding memory
usage</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi<br>
<br>
1.
Is&nbsp;there&nbsp;any&nbsp;benefit&nbsp;of&nbsp;increasing&nbsp;the&nbsp;value&nbsp;of&nbsp;&nbsp;PKG_MEM_POOL_SIZE
&nbsp;and SHM_MEM_SIZE ?<br>
<br>
/*used only if PKG_MALLOC is defined*/<br>
#define PKG_MEM_POOL_SIZE 1024*1024<br>
<br>
/*used if SH_MEM is defined*/<br>
#define SHM_MEM_SIZE 32<br>
<br>
<br>
2. I've compiled my ser with <br>
<br>
#define PKG_MEM_POOL_SIZE 1024*1024*512<br>
<br>
ans started using ser -m 100 option with children=4 and listening on two ips<br>
<br>
when I started memory usages was seems to fine for few days(3-4) less then
1GB&nbsp;but&nbsp;after&nbsp;that&nbsp;nealy&nbsp; 1.7&nbsp;-&nbsp;1.8&nbsp;GB&nbsp;of&nbsp;memory&nbsp;usage&nbsp;and&nbsp;when&nbsp;I&nbsp;do&nbsp;top:<br>
<br>
16165 root 15 0 617m 54m 36m S 0.3 2.7 0:16.34 ser<br>
16167 root 15 0 617m 54m 36m S 0.3 2.7 0:15.89 ser<br>
16164 root 15 0 617m 54m 36m S 0.3 2.7 0:16.29 ser<br>
16166 root 15 0 617m 54m 36m S 0.7 2.7 0:16.16 ser<br>
16172 root 16 0 617m 53m 35m S 0.0 2.7 0:05.04 ser<br>
16168 root 16 0 617m 52m 34m S 0.0 2.6 0:00.09 ser<br>
16170 root 16 0 617m 52m 34m S 0.0 2.6 0:00.07 ser<br>
16169 root 16 0 617m 52m 34m S 0.0 2.6 0:00.08 ser<br>
16171 root 16 0 617m 52m 34m S 0.0 2.6 0:00.10 ser<br>
16163 root 16 0 617m 52m 34m S 0.0 2.6 0:00.01 ser<br>
16145 root 25 0 617m 52m 34m S 0.0 2.6 0:07.80 ser<br>
<br>
it shows 11 instance of ser with above info. If I sum up<br>
617 * 11 = 6787 MB of memory but in my machine I've only 2 GB Physical RAM and
it never uses Swap ? <br>
if 54 * 11 = &nbsp;594 ? but free -m and top shows more memory usage ?<br>
<br>
can please explain me in brief . I'll be really thankfull. B'coz of this I'm
facing may problem.<br>
<br>
thanks<br>
<br>
arun<br>
<br>
______________________________________________________________________<br>
This email has been scanned by the MessageLabs Email Security System.<br>
For more information please visit http://www.messagelabs.com/email <br>
______________________________________________________________________<o:p></o:p></span></font></p>

</div>

</body>

</html>