mik*_*ikl 5 freebsd httpd apache-2.2
我在 FreeBSD 7.2 网络服务器上运行 Apache HTTPD 2.2。我在我的 中启用了httpready和,如下所示:dataready/boot/loader.conf
accf_http_load="YES"
accf_data_load="YES"
Run Code Online (Sandbox Code Playgroud)
这在服务器启动时效果很好,但是每当我重新启动(通过apachectl graceful或apachectl restart)时,我都会在我的/var/log/httpd-error.log:
[Thu Oct 08 13:32:53 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter
[Thu Oct 08 13:32:53 2009] [warn] (22)Invalid argument: Failed to enable the 'dataready' Accept Filter
[Thu Oct 08 13:32:53 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter
[Thu Oct 08 13:32:53 2009] [warn] (22)Invalid argument: Failed to enable the 'dataready' Accept Filter
[Thu Oct 08 13:32:53 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter
[Thu Oct 08 13:32:53 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter
Run Code Online (Sandbox Code Playgroud)
ASF bugzilla 上有一个关于此的错误,但看起来它不会很快消失,所以与此同时,我正在寻找这是否真的是一个问题(httpready 过滤器是否仍然有效,尽管警告?),如果是,是否有解决方法?
我相信这是两件事之一。要么 Apache 在打开新的侦听套接字之前不会关闭先前的连接(或者它甚至可能回收旧的连接),要么内核将过滤器使用与 PID 而不是套接字相关联(这充其量是奇怪的)。绝对有问题,但我不确定它是在 Apache 还是内核中。该问题在9.0和2.2.20中仍然存在。
由于两年来似乎没有人关心这个问题,并且通过使用 rc 脚本而不是 apachectl 可以轻松解决这个问题,所以我不会追查它(抱歉)。
| 归档时间: |
|
| 查看次数: |
3250 次 |
| 最近记录: |