[cod] server up too long? MEMORY LEAK!

Geoff Goas gitman at gmail.com
Mon Jan 14 14:12:55 EST 2008


The older games also don't use the fastfile system which loads a lot of
assets into memory

On Jan 14, 2008 2:10 PM, Johannes Heinsoo <johu002 at gmail.com> wrote:

> 0.o
> It might be, that I haven't noticed that memory usage can go up to 350
> but no more. I always thought that as it got over 250 it was leaking,
> All other servers take no more than 170 (UO. Other take even less).
>
> Johannes Heinsoo,
> callofduty.ee
>
> Geoff Goas wrote:
> > no leak here, i always see 350-370mb usage per server - fedora 6 and 7
> >
> > On Jan 14, 2008 1:36 PM, John Kennington <jwkennington at gmail.com
> > <mailto:jwkennington at gmail.com>> wrote:
> >
> >     I haven't experienced a memory leak with RHEL 5.
> >
> >     On Jan 14, 2008 1:23 PM, Johannes Heinsoo <johu002 at gmail.com
> >     <mailto: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 <http://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 <mailto:dax.douglass at gmail.com>
> >     > >     To: cod at icculus.org <mailto: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>
> >     > >     <mailto: 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>
> >     > >         <mailto: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>
> >     > >             <mailto: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 <mailto:dooku at ner-clan.net>>
> >     > >                     *To:* cod at icculus.org
> >     <mailto:cod at icculus.org> <mailto: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
> >     <
> http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008>>
> >     >
> >     >
> >     > ---
> >     > To unsubscribe, send a blank email to
> >     cod-unsubscribe at icculus.org <mailto: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
> >     <mailto:cod-unsubscribe at icculus.org>
> >     Mailing list archives:
> >     http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
> >     <http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38>
> >
> >
> >
> >
> >
> > --
> > Geoff Goas
> > IT Specialist, http://www.goastech.com
> > Administrator, http://www.anarchic-x.com
>
>
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>
>
>


-- 
Geoff Goas
IT Specialist, http://www.goastech.com
Administrator, http://www.anarchic-x.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080114/37d76d9d/attachment.htm>


More information about the Cod mailing list