You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Tal Cohen <ta...@exenge.com> on 2006/10/12 21:16:31 UTC
Bad file descriptor: apr_socket_accept: (client socket) on graceful-stop
Hi,
I am new to this group, so please be gentle :)
Recently, I installed apache 2.2.3 on a Crux 2.1 (Linux Kernel
2.6.11.7). Now, every time I do an apachectl graceful or apachectl
graceful-stop I get "[error] (9)Bad file descriptor: apr_socket_accept:
(client socket)" in the apache error log file. I am running:
libapreq2-2.08
mod_perl-2.0.2
apache 2.2.3
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_file_cache.c
mod_cache.c
mod_disk_cache.c
mod_filter.c
mod_deflate.c
mod_log_config.c
mod_env.c
mod_headers.c
mod_setenvif.c
mod_proxy.c
mod_proxy_http.c
mod_proxy_ajp.c
mod_proxy_balancer.c
mod_ssl.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_actions.c
mod_alias.c
mod_so.c
I searched in Google could not find anything. I posted a message on the
apache users group, but got no response. Anyone have any ideas what causes
this error, and what can I do to prevent it?
Thanks,
Tal
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.2/472 - Release Date: 10/11/2006
Re: Bad file descriptor: apr_socket_accept: (client socket) on graceful-stop
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Tal Cohen wrote:
> I am new to this group, so please be gentle :)
> Recently, I installed apache 2.2.3 on a Crux 2.1 (Linux Kernel
> 2.6.11.7). Now, every time I do an apachectl graceful or apachectl
> graceful-stop I get "[error] (9)Bad file descriptor: apr_socket_accept:
> (client socket)" in the apache error log file. I am running:
> libapreq2-2.08
> mod_perl-2.0.2
> apache 2.2.3
I would suggest trying a combination of strace/fstat
I highly suspect you are hitting this:
#ifdef TPF
if (s == 0) {
/* 0 is an invalid socket for TPF */
return APR_EINTR;
}
#endif
from apr/network_io/unix/sockets.c::apr_socket_accept()
--
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide....