apache and ajp performance

Posted by user12145 on Server Fault See other posts from Server Fault or by user12145
Published on 2009-12-28T08:36:57Z Indexed on 2010/05/14 1:04 UTC
Read the original article Hit count: 387

Filed under:
|

I have an apache sitting in front of two tomcat app servers(one on the same physical server, the other on a different one) that does time consuming work(0.5 sec to 10sec per request). The apache http server is getting killed by an average of 1 to 2 concurrent requests per second. both Server spec is about 2GB of RAM. Is there a way to optimize apache to handle the load? any advise is welcome.



BalancerMember ajp://localhost:8009/whoisserver
BalancerMember ajp://XXX.XX.XXX.XX:8009/whoisserver

I keep getting the following in apache2.2 log:

[Mon Dec 28 00:31:02 2009] [error] ajp_read_header: ajp_ilink_receive failed
[Mon Dec 28 00:31:02 2009] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:8009 (localhost)

© Server Fault or respective owner

Related posts about apache

Related posts about performance-tuning