[cod] server up too long? MEMORY LEAK!

Tyson Couch twisted at twistedgamingservice.com
Mon Jan 14 18:27:10 EST 2008


Neither have the rest that are claiming it’s a leak. Leaks consume ram till
there's no more and crash everything. A spike that doesn't go back after
clients leave isn't a leak. It's a release issue most likely working as
intended because the specs do say a working ram size of 360MB is typical.

What's probably killing servers is the log files which don't seem to be
cycled at map change like they should be. Once they get so large the game
just can't handle them and crashes. That’s my consensus from my testing.

Tyson
Twisted Gaming Service
http://www.twistedgamingservice.com


-----Original Message-----
From: John Kennington [mailto:jwkennington at gmail.com] 
Sent: Monday, January 14, 2008 11:36 AM
To: cod at icculus.org
Subject: Re: [cod] server up too long? MEMORY LEAK!

I haven't experienced a memory leak with RHEL 5.

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



-- 
Waiting on the pier until Charon comes....

---
To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38






More information about the Cod mailing list