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 F026910177 for ; Sat, 11 Jan 2014 09:17:17 +0000 (UTC) Received: (qmail 48366 invoked by uid 500); 11 Jan 2014 09:17:11 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48345 invoked by uid 500); 11 Jan 2014 09:17:05 -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 48337 invoked by uid 99); 11 Jan 2014 09:17:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jan 2014 09:17:03 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sairam71@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jan 2014 09:16:58 +0000 Received: by mail-ie0-f170.google.com with SMTP id tq11so5548748ieb.29 for ; Sat, 11 Jan 2014 01:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Y+EQQCSK5xbxyQ2w4r4ore72o4DH665l7TdYFs27X68=; b=bChobrNFdJcKMBEVh64MR7WYKTsOBTdt4T7CJLaRBgHhllMAJl+cqx2oQjCDdzv/pS t7CoUDC44QdljnupCwTpt7VTrCTZjmvKfAmMecqkzzi8+65LaGoLxAa4t/dGaBCWl0iG IFHQrJL5Dpwz4c8hC6h3dmqnaAcP8xGCV20tEfD0PeyOfIwBNT5XLfzNrRCy6DrAjgb9 b3Mcn7btyEtPaPqQ7xFUs2yfUNiFrVYSyaXEaB/Imusp6Abp4iJ8Fmx1/ZX7angImQDy OhtUEYHj++Utux11RcI3ZtoFOiDWQjK8w9U0sjmmLNhq8uZieQCPmS0fMtI9/MysgzJY Yv1A== MIME-Version: 1.0 X-Received: by 10.43.143.211 with SMTP id jn19mr1100650icc.0.1389431797758; Sat, 11 Jan 2014 01:16:37 -0800 (PST) Received: by 10.64.102.102 with HTTP; Sat, 11 Jan 2014 01:16:37 -0800 (PST) Date: Sat, 11 Jan 2014 01:16:37 -0800 Message-ID: From: Sairam 71 To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11c2f1acbec05904efae4cf5 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] apache returns error 500 under load --001a11c2f1acbec05904efae4cf5 Content-Type: text/plain; charset=ISO-8859-1 Hi, i have a setup on OSX Mavericks, Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8 utilizing mod_proxy. Mod_proxy then routes data to a tomcat 7.0.42 back end for processing. To test my app I created a selenium test app, that opens about 10 clients using FireFox all at once and navigates through the app. It then closes these clients after a few minutes and then opens a set of 10 again. Under this load certain requests randomly return error 500. Firefox even downloads a file in these situations and if I open the file it reads, server error, error 500, "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script." I don't know if the browser is returning this or apache. There are no errors in apache error.log that help diagnose this. If I bypass apache and go directly to tomcat everything works fine. I tried playing around with maxClients settings and still saw this error. I even turned off keep-alive and mod_cache. Nothing is working. I suspect based on the nature of the issue my application is very chatty and I need to configure apache properly to handle bursts of traffic. Any pointers? I have spent hours on this without any progress. Thank you! --001a11c2f1acbec05904efae4cf5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

i have a setup on OSX Mavericks, Apache/= 2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8 utilizing mod_proxy. Mod_proxy t= hen routes data to a tomcat 7.0.42 back end for processing.

To test= my app I created a selenium test app, that opens about 10 clients using Fi= reFox all at once and navigates through the app. It then closes these clien= ts after a few minutes and then opens a set of 10 again.

Under this load certain requests randomly return error 500. Firefox eve= n downloads a file in these situations and if I open the file it reads, ser= ver error, error 500, "The server encountered an internal error and wa= s =A0 =A0 =A0unable to complete your request. Either the server is =A0 =A0 = overloaded or there was an error in a CGI script." I don't know if= the browser is returning this or apache.

There are no errors in apache error.log that help diagnose this. If I b= ypass apache and go directly to tomcat everything works fine.

I tried playing around with maxClients settings and still saw this er= ror. I even turned off keep-alive and mod_cache. Nothing is working. I susp= ect based on the nature of the issue my application is very chatty and I ne= ed to configure apache properly to handle bursts of traffic.=A0

Any pointers? I have spent hours on this without any pr= ogress.=A0

Thank you!
--001a11c2f1acbec05904efae4cf5--