httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sairam 71 <saira...@gmail.com>
Subject [users@httpd] apache returns error 500 under load
Date Sat, 11 Jan 2014 09:16:37 GMT
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!

Mime
View raw message