On 12/05/2010, at 03:53, Tyler Fryman wrote:

> I've been asking this question for several days in #cherokee, and only 
> recived one answer that really didnt help.
> My ab command is: [r...@loadtest ~]# ab -n 1000 -c 200 
> 10.176.234.218/bench.php
> Benchmarking 10.176.234.218 (be patient)
> Completed 100 requests
> Completed 200 requests
> Completed 300 requests
> Completed 400 requests
> apr_socket_recv: Connection reset by peer (104)
> Total of 404 requests completed

Most likely connection are starving because of php-cgi cannot keep up with that 
200 connections per second rate. Actually, it makes pretty good sense. If can 
not expect php-cgi to handler two handled concurrent connections while it has 5 
child processes (thus, only five concurrent requests are attended at a given 
moment).

Please, increase the PHP_FCGI_CHILDREN value in the PHP Information Source 
entry so php-cgi spawns more child processes and the real concurrency factor is 
increased. That should fix the problem.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to