Re: Bad file descriptor: apr_socket_accept: (client socket) on graceful-stop

"Philip M. Gollucci" <[email protected]>
Newsgroups gmane.comp.apache.apreq
Organization P6M7G8 Inc.
Message-ID <[email protected]>
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 ([email protected]) 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....
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.