[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#666926: apache2: Error on graceful restart: "(9)Bad file descriptor: apr_socket_accept: (client socket)"



Package: apache2.2-common
Version: 2.2.22-13+deb7u1
Followup-For: Bug #666926

#666926 seems to have re-emerged in apache2 2.2.22-13+deb7u1.

Unlike what was stated in the original report, I don't see apache2 processes
growing.

This bug also appears to be related to #443310.

Checking the logs on two affected webservers, this log entry first appeared
on February 16th 2014 in /var/log/apache2/error.log during the daily log
rotation. I'm not sure whether that coincides with prior installation of
Debian updates, but I guess so.

Just like stated in the original report, Apache seems to be running fine
and responds normally despite these log entries.

I found these log entries on several servers, but on two other servers that
are basically configured alike, these entries do not show up. Off the top
of my head I don't see obvious differences regarding installed packages
between the servers affected and the servers not affected.

Log entries still look like this:

# apachectl graceful
# tail /var/log/apache2/error.log
[Snip: older entries]
[Wed Jun 18 20:56:41 2014] [notice] Graceful restart requested, doing restart
[Wed Jun 18 20:56:41 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jun 18 20:56:41 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jun 18 20:56:41 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u11 configured -- resuming normal operations

# apachectl restart
# tail /var/log/apache2/error.log
[Snip: older entries]
[Wed Jun 18 20:56:47 2014] [notice] SIGHUP received.  Attempting to restart
[Wed Jun 18 20:56:47 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.4-14+deb7u11 configured -- resuming normal operations

Regards,

Yann


-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi deflate dir env mime
  negotiation php5 reqtimeout rewrite setenvif status
List of enabled php5 extensions:
  gd imagick mysql mysqli pdo pdo_mysql tidy

-- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork  2.2.22-13+deb7u1
ii  apache2.2-common     2.2.22-13+deb7u1

apache2 recommends no packages.

apache2 suggests no packages.

Versions of packages apache2.2-common depends on:
ii  apache2-utils  2.2.22-13+deb7u1
ii  apache2.2-bin  2.2.22-13+deb7u1
ii  lsb-base       4.1+Debian8+deb7u1
ii  mime-support   3.52-1
ii  perl           5.14.2-21+deb7u1
ii  procps         1:3.3.3-3

Versions of packages apache2.2-common recommends:
ii  ssl-cert  1.0.32

Versions of packages apache2.2-common suggests:
pn  apache2-doc                             <none>
pn  apache2-suexec | apache2-suexec-custom  <none>
pn  www-browser                             <none>

-- no debconf information


Reply to: