I have a new server install of CentOS 6.4 64bit on a VM with 2 cpu and 8gb of ram.
The server has nothing installed other than apache and php. The server is hosting a simple web API that writes data to a RabbitMQ queue on another server.
I'm running 10 instances of a simple script that does a curl call to this web server which I've looped 100,000 times each.
This has cause the web server to use 100% CPU but very little ram (500MB). I've played around with Apache config and even set it to 1000 maxclients and I get the same result.
Is there an issue with Apache doing a lot of work even with only a few clients?
Thanks