[cod] CentOS Huge CPU Usage

Ian mu mu.llamas at gmail.com
Wed Aug 1 14:44:17 EDT 2007


Actually, think I may have tracked it down...I dont think its 1000hz, its
selinux.

To test, try
/usr/sbin/setenforce 0

start cod2 as usual, check cpu usage, chances are its ok I'm guessing (is on
mine now).

/usr/sbin/setenforce 1 to put it back and check cpu is high (setenforce isnt
kept over a reboot iirc).

This can perm be changed if wanted

/etc/sysconfig/selinux (/etc/selinux/config) to disabled (or could try
permissive). Obviously security needs an extra thought, but many people
don't use it.

Any feedback much appreciated as we'll probably do ours at some point.

Ian


On 8/1/07, Ian mu <mu.llamas at gmail.com> wrote:
>
> Hi, just did a quick test to see, as ours are all centos 4 (or rh or
> lower)...tried a test server on version 5 final running at 1000hz and it had
> this problem, 4.4 didn't at 1000hz, so that may be an alternative as well
> if a kernel recompile doesn't sort it.
>
> On 8/1/07, ::DFC::MacBooom[NL] <macbooom at dutchfightclub.nl> wrote:
> >
> > Which version of CentOS are you talking about, the 4.5 or the 5 series,
> > cause with the 4.5 i never had high cpu loads, did not try/test the 5
> > though.
> >
> >
> >
> > ::DFC::MacBooom[NL]
> >
> > http://www.dutchfightclub.nl
> >
> >
> >
> >
> >
> > Alle mail geclassificeerd als SPAM zal  direct zonder inzage automatisch
> >
> > uit mijn mail programma verwijderd worden. Mocht je mij geheel niet
> > kunnen
> > bereiken, stuur dan een E-mail "tekst only" zonder welke spam
> > gerelateerde
> > vermeldingen dan ook.
> >
> > -----Oorspronkelijk bericht-----
> > Van: Andy Booth [mailto:andy at cybernetic-servers.co.uk]
> > Verzonden: woensdag 1 augustus 2007 12:06
> > Aan: cod at icculus.org
> > Onderwerp: [cod] CentOS Huge CPU Usage
> >
> > Hi Everyone,
> >
> > We usually use Fedora, but are switching to Centos for COD2.
> >
> > Initial tests do not look good however, on a 2.8 Xeon machine, an idle
> > COD2
> > is using 70% CPU.
> >
> > Has anyone else experienced this, and could advise what's wrong?
> >
> > Thanks
> > Andy
> >
> >
> >
> > ---
> > To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
> >
> >
> >
> > ---
> > To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20070801/06141609/attachment.htm>


More information about the Cod mailing list