[cod] Memory leak ?

Geoff Goas gitman at gmail.com
Sun Dec 2 15:17:13 EST 2007


"setenforce 0" will disable it for the time being, but you'll want to edit
the /etc/sysconfig/selinux file and make sure its set to permissive

On Dec 2, 2007 2:32 PM, Sander <sanderrednas at xs4all.nl> wrote:

> Sorry to reply too but I checked cpu usage and it was huge too, with an
> empty server.
> This is what my sestatus looks like :
>
> [root at dedi02 ~]# sestatus
> SELinux status:                 enabled
> SELinuxfs mount:                /selinux
> Current mode:                   enforcing
> Mode from config file:          enforcing
> Policy version:                 21
> Policy from config file:        targeted
>
> Thanks in advance,
>
> / Sander
>
> Geoff Goas wrote:
> > run "sestatus" and show us the output
> >
> > On Dec 2, 2007 1:44 PM, Bong-Master <bong-master at 22ndsas.org.uk
> > <mailto:bong-master at 22ndsas.org.uk>> wrote:
> >
> >     RudeDog wrote:
> >     > Did you check if SELinux is enabled? Because when it is.... many
> >     people have
> >     > very high CPU usage.
> >     >
> >     > -----Oorspronkelijk bericht-----
> >     > Van: Bong-Master [mailto: bong-master at 22ndsas.org.uk
> >     <mailto:bong-master at 22ndsas.org.uk>]
> >     > Verzonden: Sunday 2 December 2007 16:43
> >     > Aan: cod at icculus.org <mailto:cod at icculus.org>
>  >     > Onderwerp: Re: [cod] Memory leak ?
> >     >
> >     > Carsten Heine wrote:
> >     >
> >     >> Mem:   1001744k total,   975416k used,    26328k free,
> >     7928k buffers
> >     >> Swap:  1052248k total,   769536k used,   282712k free,
> >     196668k cached
> >     >>
> >     >>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
> >      COMMAND
> >     >> 28630 web1      15   0  359m 182m 3212 S  0.3 18.7   0:18.45
> >     >> cod4_lnxded-bin
> >     >> 28570 web1      15   0  359m 176m 3084 S   0.3 18.1   0:18.94
> >     >> cod4_lnxded-bin
> >     >>  5106 web1      15   0  658m  72m 2108 S 14.6  7.4 617:27.37
> >     cod_lnxded
> >     >> 25876 web1      15   0  171m  72m 2108 S  1.7  7.4  51:05.17
> >     coduo_lnxded
> >     >>  5307 web1      15   0 78664  67m 6516 S   0.0  6.9  93:34.72
> >     >> bf1942_lnxded
> >     >> 25854 web1      15   0  203m  48m 1700 S  0.0  4.9  28:01.90
> >     cod2_lnxded
> >     >>
> >     >> I have RAM-Problems too. This Morning one of the CoD4-Server
> >     used 1.8%
> >     >> of the RAM and the 2nd Server used 14%. After a Restart both
> Server
> >     >> uses now 18%.
> >     >>
> >     >> Greets
> >     >> Carsten Heine
> >     >>
> >     >> John Kennington schrieb:
> >     >>
> >     >>> This is what I am getting running 2 CoD4 and 1 CoD2 Server:
> >     >>>
> >     >>> Mem:   3369768k total,  2944916k used,   424852k free,
> >     430560k buffers
> >     >>> Swap:  2040212k total,       80k used,  2040132k free,
> >      1475688k cached
> >     >>>
> >     >>>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
> >      COMMAND
> >     >>> 17516 cod4      15   0  359m 307m 3708 S    2  9.4  11:40.30
> >     >>> cod4_lnxded-bin
> >     >>>
> >     >>> It never changes.  RHEL 5.0
> >     >>>
> >     >>> John
> >     >>>
> >     >>> On Dec 1, 2007 8:42 PM, Jeffro <jeffroiscool at gmail.com
> >     <mailto:jeffroiscool at gmail.com>> wrote:
> >     >>>
> >     >>>> same here, with only running 4 servers on 1 gb. 1 of them
> >     even used
> >     >>>> 700 mb
> >     >>>> :S when the server was empty
> >     >>>>
> >     >>>>
> >     >>>>
> >     >>>> On Dec 1, 2007 10:23 PM, Rens Ariëns <rens at serververhuur.com
> >     <mailto:rens at serververhuur.com> > wrote:
> >     >>>>
> >     >>>>>
> >     >>>>> Hello everyone,
> >     >>>>>
> >     >>>>>
> >     >>>>>
> >     >>>>> Currently i'm seeing a huge increase in memory usage.
> >     >>>>>
> >     >>>>> As soon as I launch the COD4 servers on my dual quadcore
> system
> >     >>>>> with 4GB
> >     >>>>>
> >     >>>> memory all memory is full. (quite normal with 20 servers on it)
> >     >>>>
> >     >>>>> 48 Hours later it now also uses 3.7GB of swap space (while
> >     this was
> >     >>>>> 2GB
> >     >>>>>
> >     >>>> yesterday).
> >     >>>>
> >     >>>>> This seems a bit too much to me, anyone else having problems ?
> >     >>>>>
> >     >>>>>
> >     >>>>>
> >     >>>>> Regards,
> >     >>>>>
> >     >>>>> Rens Ariens
> >     >>>>>
> >     >>>>> Serververhuur
> >     >>>>>
> >     >>>> --
> >     >>>>
> -----------------------------------------------------------------
> >     >>>> I'm tha pimp you know, get a invite on http://isnoop.net/gmail/
> >     >>>>
> >     >>>>
> >     >>>
> >     >>>
> >     >> ---
> >     >> 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
> >     >>
> >     >>
> >     >>
> >     >>
> >     > I have
> >     > PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> >     > 14458 swampy    15   0  356m 317m 3172 R   64 16.2   1058:22
> >     cod4_lnxded-bin
> >     >
> >     > 64% Cpu OMG & its empty
> >     >
> >     > ---
> >     > 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
> >     >
> >     >
> >     >
> >     >
> >     > __________ NOD32 2697 (20071202) Information __________
> >     >
> >     > This message was checked by NOD32 antivirus system.
> >     > http://www.eset.com <http://www.eset.com/>
> >     >
> >     >
> >     >
> >     > ---
> >     > 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
> >     >
> >     >
> >     >
> >     >
> >     Sorry   SELinux ?? not got a clue
> >
> >     ---
> >     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
> >
> >
> >
> >
> >
> > --
> > 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/20071202/735ae699/attachment.htm>


More information about the Cod mailing list