-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello wrote:
> 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
> <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!

The problem is most likely the php max request stuff.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkpHfAAACgkQYH1+F2Rqwn30gQCgk/lCyJok5MbIiy5fMvzbBQXK
l5YAoIdsm5hud/UqV7g+Ui6cvX8S9WMf
=RAdg
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to