# free<br>             total       used       free     shared    buffers     cached<br>Mem:       2074376    1740724     333652          0      72328    1280192<br>-/+ buffers/cache:     388204    1686172<br>Swap:      2031608          0    2031608
<br><br>can   you please explain in brief all the info.<br><br>thanks<br>arun<br><br><div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Morgan Gilroy</b> &lt;<a href="mailto:morgan@telappliant.com">morgan@telappliant.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<div lang="EN-US" link="#0000ff" vlink="#800080"><div><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: #000080">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.
</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: #000080">&nbsp;</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: #000080">
Use `free` to find the real amount of used memory on your server (look at the +/- buffers section)</span></font></p><p><font size="2" color="#000080" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: #000080">
&nbsp;</span></font></p><div><div align="center" style="text-align: center"><font size="3" face="Times New Roman"><span style="font-size: 12pt"><hr size="2" width="100%" align="center"></span></font></div><p><b><font size="2" face="Tahoma">
<span style="font-size: 10pt; font-family: Tahoma; font-weight: 700">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma"> <a href="mailto:users-bounces@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
users-bounces@openser.org</a> [mailto:<a href="mailto:users-bounces@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">users-bounces@openser.org</a>] <b><span style="font-weight: 700">On Behalf Of 
</span></b>Arun Kumar<br><b><span style="font-weight: 700">Sent:</span></b> 20 June 2007 14:44<br><b><span style="font-weight: 700">To:</span></b> USER; <a href="mailto:serusers@lists.iptel.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
serusers@lists.iptel.org</a><br><b><span style="font-weight: 700">Subject:</span></b> [Users] regarding memory usage</span></font></p></div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt">&nbsp;</span></font>
</p><p><font size="3" face="Times New Roman"><span style="font-size: 12pt"></span></font></p><div><span class="e" id="q_1134965d50f1fa2f_1">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&#39;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&#39;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&#39;ll be really thankfull. B&#39;coz of this I&#39;m facing may problem.
<br><br> thanks<br><br> arun<br><br></span></div> ______________________________________________________________________<br> This email has been scanned by the MessageLabs Email Security System.<br> For more information please visit 
<a href="http://www.messagelabs.com/email" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.messagelabs.com/email</a> <br> ______________________________________________________________________
  </div></div><br>_______________________________________________<br>Users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Users@openser.org">Users@openser.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br><br></blockquote></div><br>