Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    66
    Points
    3,621
    Level
    25

    Arrow apache error: (9)Bad file descriptor: apr_socket_accept: (client socket)

    i am seeing the following in my apache error logs. apache goes down. i have to manually stop/start to regain function:

    [Thu Nov 19 17:02:30 2009] [notice] Graceful restart requested, doing restart

    [Thu Nov 19 17:02:30 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

    [Thu Nov 19 17:02:30 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

    [Thu Nov 19 17:02:30 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

    [Thu Nov 19 17:02:30 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

    [Thu Nov 19 17:02:30 2009] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

    i know "graceful restart" is not handled well by apache, but why is a graceful restart even being done? 64-bit CentOS 5 w/ 4.1.0 panel, Server Version: Apache/2.2.8 (Unix) DAV/2 PHP/5.1.6 mod_ssl/2.2.8 OpenSSL/0.9.8e-fips-rhel5 mod_watch/4.3
    Last edited by 127.0.0.1; 11-20-2009 at 04:18 AM.
    InterWorx Freak'in Rocks!

    Shared IWORX Hosting Through:
    http://ExtremaHosting.com
    Speed, Reliability, Performance

  2. #2
    Join Date
    Jul 2010
    Posts
    53
    Points
    2,304
    Level
    19
    Did anybody come out with a solution for this?

    I'm getting the same problem when connecting from the HostBill software.

    Thanks

  3. #3
    Join Date
    Jan 2008
    Posts
    24
    Points
    2,606
    Level
    21
    hi,

    i have the same problem with one server.

    help please

  4. #4
    Join Date
    Jul 2010
    Posts
    53
    Points
    2,304
    Level
    19
    This is what did the trick for me.

    To avoid "Bad file descriptor: apr_socket_accept: (client socket)" do the following:

    Edit file: /usr/local/interworx/iworx.ini

    and change the line:
    force_graceful="0"
    to
    force_graceful="1"

    Hope it helps you.

    Regards,

    Rodrigo

  5. #5
    Join Date
    May 2010
    Location
    Newcastle upon Tyne, UK
    Posts
    80
    Points
    3,041
    Level
    22
    Glad I found this, it also resolved an issue I had where HostBill orders would get stuck in the 'Pending' stage, after adding the account to Interworx!

    Thanks!

    Jon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •