amazon ec2 apache performance tuning php elastic cache and s3 buckets

view full story

http://serverfault.com – I am trying to load test an amazon centos instance sitting behind the amazon loadbalancer. The application is written on php and uses the elastic cache and media is stored in s3 bucket. When the server gets more than 1000 concurrent requests its starts giving "Apache interanl dummy connection" and the pages dont load when tried externally, even though the load uptime metric does not go beyond 1. Which means theres plenty of CPU and MEM resources, I have configured the apache prefork to this: StartServers 32 MinSpareServers 20 MaxSpareServers 80 ServerLimit 256 MaxClients (HowTos)