httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhi Auradkar <>
Subject [users@httpd] Apache freezes after running for 2 days.
Date Mon, 26 Sep 2011 21:35:21 GMT
Hi All, 

I have been running the apache server to load test a application. 

The apache 2.2.20 is running on CentOS 5.6

-bash-3.2$ uname -a
Linux hdm102 #1 SMP Mon Jul 18 10:05:09 EDT 2011 x86_64 x86_64
x86_64 GNU/Linux
-bash-3.2$ cat /etc/issue
CentOS release 5.6 (Final)
Kernel \r on an \m

-bash-3.2$ ./httpd -V
Server version: Apache/2.2.20 (Unix)
Server built:   Sep  8 2011 23:41:28
Server's Module Magic Number: 20051115:28
Server loaded:  APR 1.4.5, APR-Util 1.3.12
Compiled using: APR 1.4.5, APR-Util 1.3.12
Architecture:   64-bit
Server MPM:     Worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

I have a custom module( and oracle weblogic apache plugin( loaded
via LoadModule directive into apache. 

The load that is being tested is 2500 req/second. 

Under this load apache continues to run for 2-3 days but suddnely stops responding.  Has
been happening consistently. 
Once this condition occurs apache stops serving even static pages exa: index.html or does
not display server-status(mod_status).

And the only way to recover is to restart the server. 

The errors that I see in the error log are the following ones, which keep showing up frequently
of which the first one when the weblogic server refuses connections dues to overload condition.

1. [Tue Sep 20 08:15:11 2011] [error] [client] ap_proxy: trying POST /cwmp-allow/cwmpWeb/CPEMgt
at backend host '; got exception 'CONNECTION_REFUSED [os error=0, line
1715 of ../nsapi/URL.cpp]: Error connecting to host'

2. [Tue Sep 20 08:15:12 2011] [error] [client] (34)Numerical result out of
range: mod_XXXX: XXXX_throttle_handler(): failed to release the mutex lock

Had a look at the errno of apr and (34)Numerical result out of range doesn't seem to be coming
from APR. 

Has some come across such a issue? Any kind of help/advice will really helpfull. 
View raw message