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

Sexton, George gsexton@mhsoftware.com
Wed, 26 Sep 2001 12:57:52 -0600


>>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?

I don't know. I built the RPMs rebuilding the SRPM from the RedHat RawHide
RPM site. The RPMs were built on a system with Apache 1.3.19 installed.

There should be no incompatibility.

Personally, I think PHP is pretty unstable. There seem to be a great number
of revisions to it constantly going on. It seems that about every other
issue submitted to this list is solved by updating (or reverting) versions
of PHP.

There is probably a threading or locking issue that you are hitting, and
perhaps a deadlock for a resource. I use the configuration in a low usage
basis and haven't had any problems.

The only suggestion I would have would be to update the version of PHP to
the latest and greatest and see if it fixes the issue.

-----Original Message-----
From: Walter R. Moore [mailto:moorewr@eckerd.edu]
Sent: 26 September, 2001 12:22 PM
To: imp@lists.horde.org
Subject: Re: [imp] Web Server race problems with RH 7.1/Apache IMP 2.2.6



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.


--
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