<html 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=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C84080.0FBEC050">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:647 0 0 0 159 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        mso-ansi-font-size:10.0pt;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
</head>

<body lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>I do not
quite understand the memory issues that everyone has posted about here. The
meminfo basically tells you total memory in use, is there a way for it to list
each processes memory/swap used?<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>My running
processes state it is taking up 367 megs for COD4 process, but does not call
out how much of this is in swap space. This VM is currently running a 32 man
COD4 server plus email &amp; web with only 256megs of physical ram on it.<o:p></o:p></span></font></span></p>

<p class=MsoNormal><span class=EmailStyle17><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Thanks,<o:p></o:p></span></font></span></p>

<p class=MsoAutoSig><!--[if supportFields]><font color=black><span 
style='color:black'><span style='mso-element:field-begin'></span><span 
style="mso-spacerun: yes"> </span>AUTOTEXTLIST \s &quot;E-mail Signature&quot; <span 
style='mso-element:field-separator'></span></span></font><![endif]--><b><i><font
size=4 color=blue face="Book Antiqua"><span style='font-size:14.0pt;mso-bidi-font-size:
12.0pt;font-family:"Book Antiqua";color:blue;font-weight:bold;font-style:italic'>Dallas
Crandall<o:p></o:p></span></font></i></b></p>

<p class=MsoAutoSig><b><i><font size=4 color=blue face="Book Antiqua"><span
style='font-size:14.0pt;mso-bidi-font-size:12.0pt;font-family:"Book Antiqua";
color:blue;font-weight:bold;font-style:italic'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></i></b></p>

<p class=MsoAutoSig><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'><![if !supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal><!--[if supportFields]><font color=black><span 
style='color:black'><span style='mso-element:field-end'></span></span></font><![endif]--><font
color=black><span style='color:black'><![if !supportEmptyParas]>&nbsp;<![endif]></span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Geoff Goas
[mailto:gitman@gmail.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, December 16, 2007
10:23 PM<br>
<b><span style='font-weight:bold'>To:</span></b> cod@icculus.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [cod] COD4 Server
Memory Limit</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>probably has to do with the fact that
they're using memory-resident fastfiles in addition to the iwd system</span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>On Dec 16,
2007 11:20 PM, Vaughan Reid &lt;<a href="mailto:vaunus@gmail.com">vaunus@gmail.com</a>&gt;
wrote:</span></font><font color=black><span style='color:black;mso-color-alt:
windowtext'><o:p></o:p></span></font></p>

<div style='border:none;border-left:solid #CCCCCC .75pt;padding:0in 0in 0in 6.0pt'>

<p class=MsoNormal style='margin-left:40.8pt;border:none;mso-border-left-alt:
solid #CCCCCC .75pt;padding:0in;mso-padding-alt:0in 0in 0in 6.0pt'><font
size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;
color:black'>Agreed. I just bought 8GB of RAM for that system and it is almost
all being soaked up already. I can't see any logical reason why they would take
com_hunkmegs out of the game. <br>
<br>
The meminfo command was pointed out to me on a forum which is the basis on
which I limited the ram with com_hunkmegs in older games in the COD series, and
as I said, I have had absolutely no problems with this on servers of varying
size. </span></font><font color=black><span style='color:black;mso-color-alt:
windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:40.8pt;border:none;mso-border-left-alt:solid #CCCCCC .75pt;
padding:0in;mso-padding-alt:0in 0in 0in 6.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'><br>
-----Original Message-----<br>
From: Robert Ros [mailto:<a href="mailto:robertros@gmail.com">robertros@gmail.com</a>]<br>
Sent: Monday, 17 December 2007 5:39 AM<br>
To: <a href="mailto:cod@icculus.org">cod@icculus.org</a><br>
Subject: Re: [cod] COD4 Server Memory Limit</span></font><font color=black><span
style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:40.8pt;border:none;mso-border-left-alt:solid #CCCCCC .75pt;
padding:0in;mso-padding-alt:0in 0in 0in 6.0pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>That's
nonsense, a dedicated server just needs to handle network<br>
connections between the clients and it manages a global gamestate<br>
(Player locations / health / etc) A dedicated server doesn't need to <br>
load all those high resolution textures in memory. That's where the huge<br>
amount of memory usage is coming from I think.<br>
<br>
There is a command 'meminfo' in CoD4, I'm not sure what the numbers mean <br>
though.<br>
<br>
meminfo<br>
10485760 bytes total hunk<br>
<br>
&nbsp; &nbsp; 5096 low permanent<br>
<br>
&nbsp; &nbsp;39648 high permanent<br>
<br>
&nbsp; &nbsp;44744 total hunk in use<br>
$init &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0<br>
common_mp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 39.0<br>
localized_common_m &nbsp; 2.6<br>
free physical &nbsp; &nbsp; &nbsp; 33.6<br>
mp_convoy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 51.7<br>
localized_code_pos &nbsp; 0.7<br>
code_post_gfx_mp &nbsp; &nbsp; 0.5<br>
------------------------<br>
<br>
<br>
- Robert<br>
<br>
NewLight Systems wrote:<br>
&gt; just buy more ram :S <br>
&gt;<br>
&gt; Vaughan Reid escribió:<br>
&gt;&gt;<br>
&gt;&gt; I know this issue has been brought up a couple of times already, but<br>
&gt;&gt; has anyone found a way to limit memory usage for COD4 server instances<br>
&gt;&gt; in Linux/Unix? <br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I am currently hosting nearly 30 servers and the amount of RAM they<br>
&gt;&gt; use collectively is ridiculous. Whats more, the differences in RAM<br>
&gt;&gt; usage are huge – right now servers are using anything from 15Mb to <br>
&gt;&gt; 300Mb. They are all empty and all similar in maxplayers size. I also<br>
&gt;&gt; host around 15 COD/COD2 servers and have had com_hunkmegs set to 64Mb<br>
&gt;&gt; for all of them for months now without issues as I have found that <br>
&gt;&gt; servers do not use anything near what they reserve for themselves.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I'm not sure why they took com_hunkmegs out of COD4 but I really need<br>
&gt;&gt; an alternative if anyone has one. I've tried ulimit without success. <br>
&gt;&gt;<br>
&gt;&gt;
------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; No virus found in this incoming message.<br>
&gt;&gt; Checked by AVG Free Edition.<br>
&gt;&gt; Version: 7.5.503 / Virus Database: 269.17.4/1187 - Release Date:
16/12/2007 11:36<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; *David Aguilar Valero*<br>
&gt; Dpto. Comercial y Soporte técnico<br>
&gt; NewLight Systems<br>
&gt; *Servidores de juegos, HW, Dedicados* <br>
&gt;<br>
&gt; *crk01@nls.es*<br>
&gt; <a href="mailto:crk01@newlightsystems.com">crk01@newlightsystems.com</a><br>
&gt; <a href="mailto:tecnico@newlightsystems.com">tecnico@newlightsystems.com</a><br>
&gt; #NewLight_Systems @ <a href="http://irc-hispano.org/" target="_blank">irc-hispano.org</a><br>
&gt; *<a href="http://www.newlightsystems.com/" target="_blank">www.newlightsystems.com</a><br>
&gt; www.nls.es*<br>
&gt;<br>
&gt; This email and any files or attachments transmitted with it are intended <br>
&gt; solely for the use of the intended recipient. This email is confidential<br>
&gt; and may contain legally privileged information. If you are not the<br>
&gt; intended recipient you should not read, disseminate, distribute, or copy <br>
&gt; this email. If you have received this email in error, please notify the<br>
&gt; sender immediately and delete it from your system.<br>
<br>
---<br>
To unsubscribe, send a blank email to <a
href="mailto:cod-unsubscribe@icculus.org">cod-unsubscribe@icculus.org</a><br>
Mailing list archives: <a href="http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38"
target="_blank">http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38</a><br>
<br>
<br>
<br>
---<br>
To unsubscribe, send a blank email to <a
href="mailto:cod-unsubscribe@icculus.org">cod-unsubscribe@icculus.org</a><br>
Mailing list archives: <a href="http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38"
target="_blank">http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38</a> <br
style='mso-special-character:line-break'>
<![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
<![endif]></span></font><font color=black><span style='color:black;mso-color-alt:
windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'><br>
<br clear=all>
<br>
-- <br>
Geoff Goas<br>
IT Specialist, <a href="http://www.goastech.com">http://www.goastech.com</a><br>
Administrator, <a href="http://www.anarchic-x.com">http://www.anarchic-x.com </a></span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>

</div>

</body>

</html>