Paul,

I've been getting a similar problem on my mailserver/webmail server. Its
running Courier IMAP and SMTP. SM v.1.2.6 PHP 4.1.2, apache 1.3.26-0woody,
debian stable.  I had been blaming it on some badly written CGI scripts,
but what your seeing sounds very familiar.

Another detail of the hang for me is that just doing a normal init.d/ssh
restart doesn't work. I have to kill -9 all the running apache processes
and run the /etc/init.d/ssh start.

I also have just kludged together a script to try and wget a file every
few minutes and if it times out kill and restart the webserver but I would
like to know WHY its going stale and how to fix it instead.

Considering the very different versions of apache we are using i'm not
sure I concur with the other response that the problem is a bug in apache.
It looks like the only part we have in common is the same version of
PHP...

 --
David Ehle
Computing Systems Manager
CAPP CSRRI
rm 077
LS Bld. IIT Main Campus
Chicago IL 60616
[EMAIL PROTECTED]
312-567-3751


On Fri, 24 Oct 2003, Paul Haldane wrote:

>
> We're using Squirrelmail 1.4.2 on Red Hat 8.0 with
> Apache 2.0.40 (from the Red Hat httpd-2.0.40-11.7 rpm),
> PHP 4.2.2 (again from Red Hat rpm) and Turck Mmcache 2.4.3
> (built from source).
>
> This is acting as a front end to a server using Cyrus IMAPD (2.0.14)
> on Solaris.  The IMAP server is fine - we've still got the old Webmail
> front end that we used up to this year (running on a Windows box) and
> that works fine (but very limited compared to Squirrelmail).
>
> Problem is that every so often Apache just hangs - it still accepts
> connections but doesn't respond - if I use strace on the main httpd
> process when it's in this state I get
>
> ...
> wait4(-1, 0xbffff470, WNOHANG|WUNTRACED, NULL) = 0
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> wait4(-1, 0xbffff470, WNOHANG|WUNTRACED, NULL) = 0
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> wait4(-1, 0xbffff470, WNOHANG|WUNTRACED, NULL) = 0
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> wait4(-1, 0xbffff470, WNOHANG|WUNTRACED, NULL) = 0
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> ...
>
> This used to happen maybe once a day but is now happening several times
> an hour.
> This implies that it's probably load related (since this is our main
> mail service
> for students (around 16,000 of them) and we're now a few weeks into
> term).
>
> As a temporary measure I've got a script which checks to see if the
> access log has been updated recently and restarts httpd if it hasn't but
> that's
> obviously not a real fix.
>
> I've tried turning on debug for mmcache but that looks completely
> normal.
>
> We need to use mmcache to handle the load (we tried without it at the
> start
> of term and the machine just couldn't keep up).
>
> Any thoughts?  I realise that this may not be (probably isn't)
> specifically
> a Squirrelmail problem but I'm hoping that someone might have seen
> similar
> behaviour.
>
> Paul
> --
> Paul Haldane
> Unix Systems, Information Systems and Services, University of Newcastle
> upon Tyne
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: The SF.net Donation Program.
> Do you like what SourceForge.net is doing for the Open
> Source Community?  Make a contribution, and help us add new
> features and functionality. Click here: http://sourceforge.net/donate/
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to