Strange change in writing. (webserver)

heric nginx-forum at nginx.us
Tue Sep 7 07:08:50 MSD 2010


Hello!

I use Nginx / fastcgi.

See the graph of connections:

[img]http://img707.imageshack.us/img707/3285/graf19.png[/img]


[b]Normal requests:[/b]

Active connections: 2185 
Reading: 94 Writing: 736 Waiting: 1355 

[b]Strange behavior:[/b]

Active connections: 10893 
Reading: 136 Writing: 9454 Waiting: 1303 

Periodically, the number of "Writing" requests increases, slowing the
server.

[b]part of nginx.conf:[/b]

worker_processes  2;
events {
    worker_connections  11000;
}
http {
keepalive_timeout     30 60;
limit_zone eueu $binary_remote_addr 10m;
limit_req_zone  $binary_remote_addr  zone=one:10m   rate=2r/s;

server {

        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME
/var/www$fastcgi_script_name;
                include fastcgi_params;
        }


limit_conn  eueu 30;
limit_req   zone=one  burst=5;


}

[b]Could anyone help me?[/b]

(sorry my bad english)

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,127823,127823#msg-127823




More information about the nginx mailing list