Active connections from status

this is from my /nginx_status page:

Active connections: 82
server accepts handled requests
4489 4489 5657
Reading: 0 Writing: 2 Waiting: 80

does this mean 82 connections are waiting to be served? this is very
high
right?
my config is below:

http {
upstream backend{
server 127.0.0.1:9000;
server 127.0.0.1:9001;
}
include conf/mime.types;
default_type application/octet-stream;
access_log logs/access.log;

sendfile        on;
keepalive_timeout  65;

gzip  on;


server {
    listen       8089;
    server_name  localhost;
    location /nginx_status {
        stub_status on;
        access_log   off;
        #allow SOME.IP.ADD.RESS;
        #deny all;
    }



    location /static {
        root   /home/mark/work/kissme;
    }
    location / {
        root   /home/mark/work/kissme;

    fastcgi_pass backend;

    fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
    fastcgi_param PATH_INFO       $fastcgi_script_name;
    fastcgi_param QUERY_STRING    $query_string;
    fastcgi_param CONTENT_TYPE    $content_type;
    fastcgi_param CONTENT_LENGTH  $content_length;
    fastcgi_param REQUEST_METHOD  $request_method;
    fastcgi_param REMOTE_ADDR     $remote_addr;
    fastcgi_param REMOTE_PORT     $remote_port;
    fastcgi_param SERVER_PROTOCOL $server_protocol;
    fastcgi_param SERVER_ADDR     $server_addr;
    fastcgi_param SERVER_PORT     $server_port;
    fastcgi_param SERVER_NAME     $server_name;
}

}

Hello!

On Sat, 24 Nov 2007, [email protected] wrote:

this is from my /nginx_status page:

Active connections: 82
server accepts handled requests
4489 4489 5657
Reading: 0 Writing: 2 Waiting: 80

does this mean 82 connections are waiting to be served? this is very high
right?

“Waiting” also counts keep-alive connections (in fact, it counts all
established connections except reading/writing ones). So it’s not very
high.

Maxim D.

Hello!

On Sat, 24 Nov 2007, [email protected] wrote:

“Waiting” also counts keep-alive connections (in fact, it counts all
established connections except reading/writing ones). So it’s not very

cool! thanks a lot! I have a timeout for keepalive 65 seconds…

keepalive_timeout 65;

is this a good number? or should I have 0?

Default (keepalive_timeout 75) is good enough. I see no reason to change
it unless you have too many keep-alive connections (“too many” may vary

but usually it means at least several thousands - so don’t bother).

Maxim D.

On Nov 24, 2007 4:23 PM, Maxim D. [email protected] wrote:

cool! thanks a lot! I have a timeout for keepalive 65 seconds…

keepalive_timeout  65;

is this a good number? or should I have 0?
thanks