how large? game log or console log? i've never encountered this. just doesn't make sense to me that it 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 <<a href="mailto:twisted@twistedgamingservice.com">twisted@twistedgamingservice.com</a>> 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's no more and crash everything. A spike that doesn't go back after
<br>clients leave isn't a leak. It'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's probably killing servers is the log files which don't seem to be
<br>cycled at map change like they should be. Once they get so large the game<br>just can'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't experienced a memory leak with RHEL 5.<br><br>On Jan 14, 2008 1:23 PM, Johannes Heinsoo <<a href="mailto:johu002@gmail.com">
johu002@gmail.com</a>> wrote:<br>> There is need to restart CoD4 server daily as there IS memory leak. I<br>> have tested it! If 5 people visited test server and left few times the<br>> memory usage jumped all the way up to 300Mb from 170Mb and never went
<br>> back till CoD4 daemon restart. I think leakage can get even larger. I am<br>> not using selinux!<br>> My test server has 3Ghz P4 with 1,125Mb RAM. It's not much but our<br>> servers are not too popular. CoD, CoD:UO and CoD2 servers are running on
<br>> same machine with no problems.<br>><br>> Johannes Heinsoo,<br>> <a href="http://callofduty.ee/" target="_blank">callofduty.ee</a><br>><br>> RG GR wrote:<br>> ><br>> > My 2 cents....<br>
> ><br>> > That's the beauty of a Linux OS, so you shouldn't have to schedule<br>> > restarts (unless your running Microsoft......).<br>> ><br>> > It seems there should be a configuration setting for
<br>> > MAXIMUM_LOGFILE_SIZE, which archives the logfile and creates a new one<br>> > so you don't HAVE to restart your server at 5am.<br>> ><br>> ><br>------------------------------------------------------------------------
<br>> > Date: Mon, 14 Jan 2008 09:02:45 -0500<br>> > From: <a href="mailto:dax.douglass@gmail.com">dax.douglass@gmail.com</a><br>> > To: <a href="mailto:cod@icculus.org">cod@icculus.org</a><br>
> > Subject: Re: [cod] server up too long?<br>> ><br>> > Geoff,<br>> ><br>> > How do you clear the game log with the server running? I wanted<br>> > to do the same thing myself, but was afraid it may cause some
<br>issues.<br>> ><br>> > On Jan 14, 2008 8:44 AM, Geoff Goas < <a href="mailto:gitman@gmail.com">gitman@gmail.com</a><br>> > <mailto:<a href="mailto:gitman@gmail.com">gitman@gmail.com</a>>> wrote:
<br>> ><br>> > game logs can be cleared out without having to restart the<br>> > server. if i can maintain the same uptime on my cod2 server<br>> > and not experience these issues, then the same should go for
<br>> > cod4.<br>> ><br>> ><br>> > On Jan 14, 2008 6:40 AM, Jon Adams <<a href="mailto:dooku@ner-clan.net">dooku@ner-clan.net</a><br>> > <mailto:<a href="mailto:dooku@ner-clan.net">
dooku@ner-clan.net</a>>> wrote:<br>> ><br>> > Somethings aren't bugs, they are just "the way things are"<br>> > unfortunately not every cockroach can be snuffed out.
<br>> > And if a clan is playing a match at 5am they need to<br>> > discover the outside!<br>> ><br>> ><br>> > On 14/01/2008, *Dubravszky József* <<a href="mailto:mail@joed.hu">
mail@joed.hu</a><br>> > <mailto:<a href="mailto:mail@joed.hu">mail@joed.hu</a>>> wrote:<br>> ><br>> > Well, we all know setting up a cron job is not a big<br>> > deal for this method. But restarting periodically is
<br>> > not a fair thing. What if a team is actually playing<br>> > matches @ 5 AM? Anyway I think the better way is to<br>> > find and fix the bug.<br>> >
<br>> > ----- Original Message -----<br>> > *From:* Jon Adams <mailto:<a href="mailto:dooku@ner-clan.net">dooku@ner-clan.net</a>><br>> > *To:*
<a href="mailto:cod@icculus.org">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org">cod@icculus.org</a>><br>> > *Sent:* Monday, January 14, 2008 9:52 AM<br>> > *Subject:* Re: [cod] server up too long?
<br>> ><br>> > Good practice you should really restart you're<br>> > server periodically, reduce game log sizes &<br>> > knocks out any errors. I'm sure there are more
<br>> > experienced people here that can advise on a linux<br>> > program that will schedule this for you, but a 5am<br>> > restart will alleviate these kinds of troubles :)
<br>> ><br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> > Get the power of Windows + Web with the new Windows Live. Get it now!<br>> > <
<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>><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>><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>