[imp] Web Server race problems with RH 7.1/Apache IMP 2.2.6

Walter R. Moore moorewr@eckerd.edu
Wed, 26 Sep 2001 14:21:40 -0400


Well, I have seen what happens when postgres locks or lags. That's 
semingly not the case here; there would be 60+ apache processes, 30 of 
them grabbing the cpu, and only 2-3 postgres processes. Totally the 
opposite of my past experience.

I backed down to 2.2.4 and had the same problem, so the other thing I 
can test is backing down to php-4.0.4pl1. I'm doing that now and will 
test it for a while before I send this message. I'll be stuck on 2.2.4 
but the system will be stable (if insecure).

That appears to be the answer. Perhaps an incompatibility between the 
php-4.0.5 RPMs I used (from ftp.mhsoftware.com/RPMS/) and apache-1.3.19?

Thanks,
-Walter

Sexton, George wrote:

> There was a discussion about this last month. I think the resolution came
> down to paring the session table in Postgres using a cron job. Unfortunately
> the person never really got back to me. Here is a pointer to the article.
> 
> 
> http://marc.theaimsgroup.com/?l=imp&m=99842874510931&w=4
> 
> 
> 
> -----Original Message-----
> From: Walter R. Moore [mailto:moorewr@eckerd.edu]
> Sent: 26 September, 2001 10:22 AM
> To: imp@lists.horde.org
> Subject: [imp] Web Server race problems with RH 7.1/Apache IMP 2.2.6
> 
> 
> 
> Since everytthing tested well, I upgraded our webmail server from IMP
> 2.2.4 to 2.2.6 and from horde 1.2.4 to horde 1.2.6. A disastrous new
> behavior has started: after a while under load Apache begins to spawn
> more and more children, all chewing up cpu cycles. The load rises
> arithmetically well before I run out of idle cpu time. I just saw it hit
> 60. Stopping apache, killing the bad children and starting it makes
> things work for 30 minutes to an hour under load, then boom again.
> 
> This did not happen under the same loads with 2.2.4. Any suggestions?
> 
> Dell PowerApp.web 120 - PIII 866, 512mb memory
> 
> RedHat 7.1
> php-4.0.5-2
> postgresql-7.0.3-8
> horde 1.2.6
> imp 2.2.6
> apache-1.3.19-5
> 
> I have KeepAlive turned off (I tried on as well, just to see if that
> made a difference). Web responses are quick until the load rises past
> 25, there do not appear to be a lot of postgres connections hanging
> open, and disk & cpu load are low for a while.
> 
> We do about 75,000 hits/1500-2000 logins a day on the webmail server, so
> there should, in theory, not be undue stress on the box.
> 
> Anyone else solve or experience this? What would you tune? HELP! :)
> 
> -Walter Moore
>   ITS
> 
> --
> +-----------------------------------------------------------------+
> Walter R. Moore --  System Administrator, Eckerd College
> moorewr@eckerd.edu --  http://home.eckerd.edu/~moorewr
> 
> "If the United Kingdom is to be overun, keep outside the ring. Go to
> South  Africa, Australia, Canada. Keep going, and stay in touch with
> Auxiliary units in the UK. Remember, it took the Greeks only six
> hundred years to get free of the Turks."
>     - Peter Wilkinson, chief of staff to Col. Gubbins, SOE, May, 1940.
> 
> 
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 
> 



-- 
+-----------------------------------------------------------------+
Walter R. Moore --  System Administrator, Eckerd College
moorewr@eckerd.edu --  http://home.eckerd.edu/~moorewr

"If the United Kingdom is to be overun, keep outside the ring. Go to
South  Africa, Australia, Canada. Keep going, and stay in touch with
Auxiliary units in the UK. Remember, it took the Greeks only six
hundred years to get free of the Turks."
    - Peter Wilkinson, chief of staff to Col. Gubbins, SOE, May, 1940.