From owner-freebsd-apache@FreeBSD.ORG Mon Oct 19 15:12:41 2009 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC1CE1065670 for ; Mon, 19 Oct 2009 15:12:41 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6C70D8FC1B for ; Mon, 19 Oct 2009 15:12:41 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id BB00419E027 for ; Mon, 19 Oct 2009 16:55:10 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id CB90D19E019 for ; Mon, 19 Oct 2009 16:55:04 +0200 (CEST) Message-ID: <4ADC7DC8.8040909@quip.cz> Date: Mon, 19 Oct 2009 16:55:04 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-apache@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Bad file descriptor: apr_socket_accept X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 15:12:41 -0000 Hi, I got following error in log after upgrade of Apache to version 2.2.13. [error] (9)Bad file descriptor: apr_socket_accept: (client socket) The error appeared after each graceful restart (reload / SIGUSR1). I can see it on more then one machine. Some machines are using APR from ports, some don't. The full log follows: [Mon Oct 19 16:42:30 2009] [notice] Graceful restart requested, doing restart [Mon Oct 19 16:42:30 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket) [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'dataready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:30 2009] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Mon Oct 19 16:42:31 2009] [notice] Digest: generating secret for digest authentication ... [Mon Oct 19 16:42:31 2009] [notice] Digest: done [Mon Oct 19 16:42:31 2009] [notice] Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e configured -- resuming normal operations The Apache is compiled with these options: root@lite enabled/# grep WITH_ /var/db/ports/apache22/options WITH_AUTH_BASIC=true WITH_AUTH_DIGEST=true WITH_AUTHN_FILE=true WITH_AUTHN_DEFAULT=true WITH_AUTHZ_HOST=true WITH_AUTHZ_USER=true WITH_AUTHZ_DBM=true WITH_AUTHZ_DEFAULT=true WITH_ALIAS=true WITH_AUTOINDEX=true WITH_DEFLATE=true WITH_DIR=true WITH_EXPIRES=true WITH_HEADERS=true WITH_INCLUDE=true WITH_LOG_CONFIG=true WITH_MIME=true WITH_NEGOTIATION=true WITH_REWRITE=true WITH_SETENVIF=true WITH_STATUS=true WITH_PATCH_PROXY_CONNECT=true WITH_SSL=true System is FreeBSD 7.2-RELEASE i386 with GENERIC kernel. Am I the only one with this error logged with Apache 2.2.13? As I found on the web, this error message is reported / fixed for years from version to version, but I never seen it before on my machines. Miroslav Lachman