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

Bug#771679: apache2-mpm-itk: fails to restart properly on some occasions



Package: apache2-mpm-itk
Version: 2.2.22-13+deb7u3
Severity: important

Since we have switched our Apache2 + mod_php web cluster to mod-itk,
we have had intermittent problems starting the webservers.

We have an automated system (AlternC.org) that frequently reloads the
apache webservers on different web nodes and sometimes it just fails.

It restarts the servers with the following command:

        ssh alternc@$(basename $0) sudo invoke-rc.d apache2 reload

Sometimes the webserver is left in an inconsistent state. We've had
situations where two trees of processes would be present, or where the
parent process would be gone. We have yet to investigate more fully
what exactly is happening, but the webserver basically becomes
unresponsive and gets kicked out of the load balancer.

The workaround we have found so far is to stop apache, kill all apache
processes then restart it:

    service apache2 stop
    killall -9 apache2
    service apache2 start

It seems to me there should be provisions in the init.d for that kind
of situations and a reload should never leave apache in such a weird
state.

We'll try to provide more details later, but so far we associate this
with the mod_itk switch, because we didn't have those problems before.

A.

-- Package-specific info:

List of /etc/apache2/mods-enabled/*.load:
  alias auth_basic authn_file authnz_ldap authz_default
  authz_groupfile authz_host authz_user autoindex cgi deflate dir env
  expires headers include info ldap mime negotiation php5 proxy
  proxy_http reqtimeout rewrite setenvif ssl status

List of enabled php5 extensions:

 apc curl gd imap intl ldap mcrypt mysql mysqli pdo pdo_mysql
 pdo_pgsql pdo_sqlite pgsql pspell sqlite3 tidy xsl yaz

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
  Architecture: i386 (x86_64)

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

Versions of packages apache2-mpm-itk depends on:
ii  apache2.2-bin     2.2.22-13+deb7u3
ii  apache2.2-common  2.2.22-13+deb7u3

apache2-mpm-itk recommends no packages.

apache2-mpm-itk suggests no packages.

-- no debconf information


Reply to: