Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 1997 21:23:53 -0600
From:      Scott Halbert <thor@thuntek.net>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Apache Socket Starvation Bug in 1.2
Message-ID:  <3.0.32.19970505212008.01103168@thuntek.net>

next in thread | raw e-mail | index | archive | help
Is anyone familiar with the problems with Apache versions 1.2 with socket
starvation?  The problem manifests itself as the server locking itself up
and clients hanging with "waiting for reply".  For me a KILL -HUP will get
things going again.

To quote the apacheweek article, "This problem only affects systems which 
do not define USE_FLOCK_SERIALIZED_ACCEPT or USE_FCNTL_SERIALIZED_ACCEPT
in conf.h (this includes SunOS 4, FreeBSD, BSDI and some others)."

Here are some URLS documenting the bug:

	http://www.apache.org/bugdb.cgi/full/467
	http://www.apacheweek.com/issues/97-04-25

My problem is that the Apache workaround does not work for me.  Turning
on USE_FLOCK_SERIALIZED_ACCEPT does not help and USE_FCNTL_SERIALIZED_ACCEPT
hangs the server immediately.

It sure seems to me that I've got something unique in my configuration.
If this happened to all apache 1.2 servers under FreeBSD, I'd hear this
group freaking out.  I daresay that a very high majority of FreeBSD ISPs
use Apache. Maybe some of you have seen it and were in the same boat?

This problem is upsetting my customers and making me pull my hair out.

Maybe this is not exactly the bug I'm chasing, though it sure looks like
it.  Maybe I've got my timeouts and idles messed up in my configuration
file.

Thanks!

---Scott Halbert
Thunder Network Technologies, Inc.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970505212008.01103168>