Hello, I have run some preliminary benchmarks and I am failing requests at
100 concurrent connections (approx 900 out of 5000 requests). At 200
concurrent connections, ab fails with the error message:
apr_socket_recv: Connection reset by peer (104)

After around 80 connections. I am doing something like:

./ab -n 1000 -c 200 "
http://example.com/adserver.php?action=myaction&mysql_where_variable1=adsize_300&mysql_where_variable2=g
"

The script is connecting to a local mysql server. The mysql server has:

max_user_connections=500
max_connections=1000

Any ideas? I have set the

PHP_FCGI_CHILDREN=20
export PHP_FCGI_CHILDREN

But could not get multiple spawned fastcgis to bind to the same socket. I'll
try to figure this out. I'm assuming there is only own fastcgi worker
serving requests. I'll update this in a few hours. Thank you!
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to