Clement Laforet wrote: > On Tue, Apr 22, 2008 at 10:34:14PM +0200, Ivan Voras wrote: > >>Scott Long wrote: [...] >>Does anyone know why accf_accept is disabled by default in the ports' >>stock Apache 2.2 (it's disabled in the default config files)? I thought >>it was because it was dangerous or flawed for some reason, though (at >>least for light loads comparable to those of OP) it seems to work fine. > > > There's not technical reason actually. It's an "opt-in" feature ;-) > In the early 2.2.x times, httpd used to print a warning when accf_http > is disabled. It was, of course, just a matter of loglevel. apache ran > perfectly fine, but a warning got printed. Some users started > complaining about how my port was broken, sometimes in very rude > manner. > So I decided to explicilty disable AcceptFilter unless > apache22_http_accept_enable is set to "YES" in /etc/rc.conf. There is another one "problem" with accf_*. Even if modules are loaded, apache on graceful restart prints warning: [Tue Apr 22 02:22:09 2008] [notice] Graceful restart requested, doing restart [Tue Apr 22 02:22:09 2008] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Tue Apr 22 02:22:09 2008] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Tue Apr 22 02:22:09 2008] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter It is known problem for a long time (as I am seeing it few years). Plain start works without warnings. I have apache controlled by daemontools with run script: exec /usr/local/sbin/httpd -D NO_DETACH -D SSL 2>> /var/log/httpd-error.log Graceful restart done by: kill -USR1 `cat /var/run/httpd.pid` apache-2.2.8 on FreeBSD 7.0-RELEASE i386 GENERIC Miroslav Lachman PS: https://issues.apache.org/bugzilla/show_bug.cgi?id=37863Received on Thu Apr 24 2008 - 09:13:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:30 UTC