Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users
Maximising Performance For Concurrent Connections
 

Index | Next | Previous | View Flat


imagenesis at gmail

Jun 28, 2009, 7:16 AM


Views: 348
Permalink
Maximising Performance For Concurrent Connections

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!

Subject User Time
Maximising Performance For Concurrent Connections imagenesis at gmail Jun 28, 2009, 7:16 AM
    Re: Maximising Performance For Concurrent Connections stefan at konink Jun 28, 2009, 7:19 AM
    Re: Maximising Performance For Concurrent Connections alvaro at alobbs Jun 28, 2009, 8:37 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.