Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3060F9C02 for ; Tue, 27 Sep 2011 11:17:01 +0000 (UTC) Received: (qmail 37532 invoked by uid 500); 27 Sep 2011 11:16:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 37508 invoked by uid 500); 27 Sep 2011 11:16:58 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 37500 invoked by uid 99); 27 Sep 2011 11:16:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 11:16:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tevans.uk@googlemail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 11:16:53 +0000 Received: by vcbfl10 with SMTP id fl10so5442946vcb.18 for ; Tue, 27 Sep 2011 04:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6RByDiwO1PyOdNwf4vwpNQ4en3ur8KY60QZk0YoVfXY=; b=Uv7WooMZ4vyH09hvFT1unyw1cRsF8JvZFGBreKHSG/+MRX2E0P7u36Nko+pEhiapc8 v/3TOw80WYqTBqL1L/zOHkSbY5+93Icn9KFavtdn7Z8DXykYyBahFVCNRjKHc9CJnuqG im4xu4AB7lGl6yyEZ+FTPHCjW722WWqcKlHME= MIME-Version: 1.0 Received: by 10.52.26.97 with SMTP id k1mr7355652vdg.523.1317122192201; Tue, 27 Sep 2011 04:16:32 -0700 (PDT) Received: by 10.52.112.65 with HTTP; Tue, 27 Sep 2011 04:16:32 -0700 (PDT) In-Reply-To: <1317072921.53390.YahooMailNeo@web126017.mail.ne1.yahoo.com> References: <1317072921.53390.YahooMailNeo@web126017.mail.ne1.yahoo.com> Date: Tue, 27 Sep 2011 12:16:32 +0100 Message-ID: From: Tom Evans To: users@httpd.apache.org, Abhi Auradkar Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] Apache freezes after running for 2 days. On Mon, Sep 26, 2011 at 10:35 PM, Abhi Auradkar wrote: > 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 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon Jul 18 10:05:09 E= DT > 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: =C2=A0 Sep =C2=A08 2011 23:41:28 > Server's Module Magic Number: 20051115:28 > Server loaded: =C2=A0APR 1.4.5, APR-Util 1.3.12 > Compiled using: APR 1.4.5, APR-Util 1.3.12 > Architecture: =C2=A0 64-bit > Server MPM: =C2=A0 =C2=A0 Worker > =C2=A0 threaded: =C2=A0 =C2=A0 yes (fixed thread count) > =C2=A0 =C2=A0 forked: =C2=A0 =C2=A0 yes (variable process count) > Server compiled with.... > =C2=A0-D APACHE_MPM_DIR=3D"server/mpm/worker" > =C2=A0-D APR_HAS_SENDFILE > =C2=A0-D APR_HAS_MMAP > =C2=A0-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > =C2=A0-D APR_USE_SYSVSEM_SERIALIZE > =C2=A0-D APR_USE_PTHREAD_SERIALIZE > =C2=A0-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > =C2=A0-D APR_HAS_OTHER_CHILD > =C2=A0-D AP_HAVE_RELIABLE_PIPED_LOGS > =C2=A0-D DYNAMIC_MODULE_LIMIT=3D128 > =C2=A0-D HTTPD_ROOT=3D"/usr/local/apache2" > =C2=A0-D SUEXEC_BIN=3D"/usr/local/apache2/bin/suexec" > =C2=A0-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status" > =C2=A0-D DEFAULT_ERRORLOG=3D"logs/error_log" > =C2=A0-D AP_TYPES_CONFIG_FILE=3D"conf/mime.types" > =C2=A0-D SERVER_CONFIG_FILE=3D"conf/httpd.conf" > > I have a custom module(mod_XXXX.so) and oracle weblogic apache > plugin(mod_wl_22.so) 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. =C2=A0Has 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 135.115.142.108] ap_proxy: > trying POST /cwmp-allow/cwmpWeb/CPEMgt at backend host '64.186.185.155/70= 03; > got exception 'CONNECTION_REFUSED [os error=3D0, line 1715 of > ../nsapi/URL.cpp]: Error connecting to host 64.186.185.155:7003' > 2. [Tue Sep 20 08:15:12 2011] [error] [client 135.115.142.100] (34)Numeri= cal > 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 does= n't > seem to be coming from APR. > Has some come across such a issue? Any kind of help/advice will really > helpfull. errno 34 is ERANGE. Your custom module is trying to parse a number from a string, probably strtol() or variant, and fails. It then reports a problem releasing a mutex, and your entire server locks up. I'd suggest these things are not unrelated. Given that the failing code is in your custom module, I guess you are on your own. The proxy error comes from mod_wl_22; you should contact Oracle to resolve that. Cheers Tom --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org