how large? game log or console log? i&#39;ve never encountered this. just doesn&#39;t make sense to me that it&nbsp;would read the whole log file to memory before appending data to it - all its doing is a vfprintf()<br><br>
<div class="gmail_quote">On Jan 14, 2008 6:27 PM, Tyson Couch &lt;<a href="mailto:twisted@twistedgamingservice.com">twisted@twistedgamingservice.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Neither have the rest that are claiming it's a leak. Leaks consume ram till<br>there&#39;s no more and crash everything. A spike that doesn&#39;t go back after
<br>clients leave isn&#39;t a leak. It&#39;s a release issue most likely working as<br>intended because the specs do say a working ram size of 360MB is typical.<br><br>What&#39;s probably killing servers is the log files which don&#39;t seem to be
<br>cycled at map change like they should be. Once they get so large the game<br>just can&#39;t handle them and crashes. That's my consensus from my testing.<br><br>Tyson<br>Twisted Gaming Service<br><a href="http://www.twistedgamingservice.com/" target="_blank">
http://www.twistedgamingservice.com</a><br>
<div class="Ih2E3d"><br><br>-----Original Message-----<br>From: John Kennington [mailto:<a href="mailto:jwkennington@gmail.com">jwkennington@gmail.com</a>]<br>Sent: Monday, January 14, 2008 11:36 AM<br>To: <a href="mailto:cod@icculus.org">
cod@icculus.org</a><br></div>
<div>
<div></div>
<div class="Wj3C7c">Subject: Re: [cod] server up too long? MEMORY LEAK!<br><br>I haven&#39;t experienced a memory leak with RHEL 5.<br><br>On Jan 14, 2008 1:23 PM, Johannes Heinsoo &lt;<a href="mailto:johu002@gmail.com">
johu002@gmail.com</a>&gt; wrote:<br>&gt; There is need to restart CoD4 server daily as there IS memory leak. I<br>&gt; have tested it! If 5 people visited test server and left few times the<br>&gt; memory usage jumped all the way up to 300Mb from 170Mb and never went
<br>&gt; back till CoD4 daemon restart. I think leakage can get even larger. I am<br>&gt; not using selinux!<br>&gt; My test server has 3Ghz P4 with 1,125Mb RAM. It&#39;s not much but our<br>&gt; servers are not too popular. CoD, CoD:UO and CoD2 servers are running on
<br>&gt; same machine with no problems.<br>&gt;<br>&gt; Johannes Heinsoo,<br>&gt; <a href="http://callofduty.ee/" target="_blank">callofduty.ee</a><br>&gt;<br>&gt; RG GR wrote:<br>&gt; &gt;<br>&gt; &gt; My 2 cents....<br>
&gt; &gt;<br>&gt; &gt; That&#39;s the beauty of a Linux OS, so you shouldn&#39;t have to schedule<br>&gt; &gt; restarts (unless your running Microsoft......).<br>&gt; &gt;<br>&gt; &gt; It seems there should be a configuration setting for
<br>&gt; &gt; MAXIMUM_LOGFILE_SIZE, which archives the logfile and creates a new one<br>&gt; &gt; so you don&#39;t HAVE to restart your server at 5am.<br>&gt; &gt;<br>&gt; &gt;<br>------------------------------------------------------------------------
<br>&gt; &gt; &nbsp; &nbsp; Date: Mon, 14 Jan 2008 09:02:45 -0500<br>&gt; &gt; &nbsp; &nbsp; From: <a href="mailto:dax.douglass@gmail.com">dax.douglass@gmail.com</a><br>&gt; &gt; &nbsp; &nbsp; To: <a href="mailto:cod@icculus.org">cod@icculus.org</a><br>
&gt; &gt; &nbsp; &nbsp; Subject: Re: [cod] server up too long?<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; Geoff,<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; How do you clear the game log with the server running? &nbsp;I wanted<br>&gt; &gt; &nbsp; &nbsp; to do the same thing myself, but was afraid it may cause some
<br>issues.<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; On Jan 14, 2008 8:44 AM, Geoff Goas &lt; <a href="mailto:gitman@gmail.com">gitman@gmail.com</a><br>&gt; &gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:gitman@gmail.com">gitman@gmail.com</a>&gt;&gt; wrote:
<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; game logs can be cleared out without having to restart the<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; server. if i can maintain the same uptime on my cod2 server<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; and not experience these issues, then the same should go for
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; cod4.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; On Jan 14, 2008 6:40 AM, Jon Adams &lt;<a href="mailto:dooku@ner-clan.net">dooku@ner-clan.net</a><br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:dooku@ner-clan.net">
dooku@ner-clan.net</a>&gt;&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Somethings aren&#39;t bugs, they are just &quot;the way things are&quot;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unfortunately not every cockroach can be snuffed out.
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; And if a clan is playing a match at 5am they need to<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; discover the outside!<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; On 14/01/2008, *Dubravszky József* &lt;<a href="mailto:mail@joed.hu">
mail@joed.hu</a><br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<a href="mailto:mail@joed.hu">mail@joed.hu</a>&gt;&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Well, we all know setting up a cron job is not a big<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; deal for this method. But restarting periodically is
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; not a fair thing. What if a team is actually playing<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; matches @ 5 AM? Anyway I think the better way is to<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; find and fix the bug.<br>&gt; &gt;
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ----- Original Message -----<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *From:* Jon Adams &lt;mailto:<a href="mailto:dooku@ner-clan.net">dooku@ner-clan.net</a>&gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *To:* 
<a href="mailto:cod@icculus.org">cod@icculus.org</a> &lt;mailto:<a href="mailto:cod@icculus.org">cod@icculus.org</a>&gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *Sent:* Monday, January 14, 2008 9:52 AM<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *Subject:* Re: [cod] server up too long?
<br>&gt; &gt;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Good practice you should really restart you&#39;re<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; server periodically, reduce game log sizes &amp;<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; knocks out any errors. I&#39;m sure there are more
<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; experienced people here that can advise on a linux<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; program that will schedule this for you, but a 5am<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; restart will alleviate these kinds of troubles :)
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Get the power of Windows + Web with the new Windows Live. Get it now!<br>&gt; &gt; &lt;
<a href="http://www.windowslive.com/?ocid=TXT_TAGHM_Wave2_powerofwindows_012008" target="_blank">http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008</a>&gt;<br>&gt;<br>&gt;<br>&gt; ---<br>&gt; To unsubscribe, send a blank email to 
<a href="mailto:cod-unsubscribe@icculus.org">cod-unsubscribe@icculus.org</a><br>&gt; 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>&gt;<br>&gt;<br>&gt;<br><br><br><br>--<br>Waiting on the pier until Charon comes....<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>---<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></div></div></blockquote></div>
<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>