Gentoo Archives: gentoo-dev

From: "Robin H.Johnson" <robbat2@g.o>
To: Benjamin Podszun <ben@××××××××××××××.de>
Cc: Brian Jackson <brian@××××.com>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] Performance once again..
Date: Sat, 12 Apr 2003 20:45:42
Message-Id: 20030412204540.GA5108@cherenkov.orbis-terrarum.net
In Reply to: Re: [gentoo-dev] Performance once again.. by Benjamin Podszun
1 On Sat, Apr 12, 2003 at 10:32:00PM +0200, Benjamin Podszun wrote:
2 > The Apache-Version is the same, so is the configuration.
3 > The only thing that I noticed is that one apache instance sucks up to
4 > 99% CPU... It never uses less than 30% ..
5 > And since this is a Compaq Server with Dual P3 1GHz and 2GB RAM I doubt
6 > that this is right (tm).
7 Do you use PHP (and possibly MySQL) on that machine? I saw that problem
8 on my Slackware box a few months ago. I never did find the solution tho,
9 as I upgraded to Apache2. I did confirm that the bug didn't occur when
10 PHP wasn't being used for me. For some reason, PHP seemed to be in a
11 massive loop after the page was sent, eating CPU and memory.
12
13 A good temporary workaround is to have a little watcher shell script
14 that looks for any apache processes that have been eating >80% CPU for
15 the all of the last 30 seconds (I checked at 30 second intervals) and
16 send a SIGKILL to them.
17
18 --
19 Robin Hugh Johnson
20 E-Mail : robbat2@××××××××××××××.net
21 Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
22 ICQ# : 30269588 or 41961639
23 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-dev] Performance once again.. Benjamin Podszun <ben@××××××××××××××.de>