why my nginx so many waiting users ?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

why my nginx so many waiting users ?

vedranf
Active connections: 82
server accepts handled requests
 1404 1404 3579
Reading: 0 Writing: 1 Waiting: 81

http://www.21andy.com/nginx.gif

how can i fix it?

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


_______________________________________________
nginx mailing list
[hidden email]
http://nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: why my nginx so many waiting users ?

Maxim Dounin
Hello!

On Tue, Feb 02, 2010 at 04:28:32AM -0500, 21andy wrote:

> Active connections: 82
> server accepts handled requests
>  1404 1404 3579
> Reading: 0 Writing: 1 Waiting: 81
>
> http://www.21andy.com/nginx.gif
>
> how can i fix it?

You don't really want to fix it, as "waiting" means kept-alive
connections.  They consume almost no resources (socket + about
2.5M of memory per 10000 connections in nginx).

If you really want to switch keepalive off, you may do so by

keepalive_timeout 0;

See here for details:

http://wiki.nginx.org/NginxHttpCoreModule#keepalive_timeout

Maxim Dounin

_______________________________________________
nginx mailing list
[hidden email]
http://nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: why my nginx so many waiting users ?

Igor Sysoev-2
In reply to this post by vedranf
On Tue, Feb 02, 2010 at 04:28:32AM -0500, 21andy wrote:

> Active connections: 82
> server accepts handled requests
>  1404 1404 3579
> Reading: 0 Writing: 1 Waiting: 81
>
> http://www.21andy.com/nginx.gif
>
> how can i fix it?

This is keepalive connections, so you do not need to fix it.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
[hidden email]
http://nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: why my nginx so many waiting users ?

ayman
In reply to this post by vedranf
Active connections: 8
server accepts handled requests
 1292 1292 3884
Reading: 0 Writing: 2 Waiting: 2

always showing waiting what is waiting and how to make normal like "0"

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,49182,278314#msg-278314

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: why my nginx so many waiting users ?

Maxim Dounin
Hello!

On Thu, Feb 01, 2018 at 01:46:59AM -0500, prasanna wrote:

> Active connections: 8
> server accepts handled requests
>  1292 1292 3884
> Reading: 0 Writing: 2 Waiting: 2
>
> always showing waiting what is waiting and how to make normal like "0"

http://nginx.org/en/docs/http/ngx_http_stub_status_module.html#data

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: why my nginx so many waiting users ?

ayman
In reply to this post by ayman
@
i just worried, but i realized its keepalive connections.

if you have any knowledge oo LEMP configuration please let me know


anyway, thank you for the nginx forum.'

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,49182,278322#msg-278322

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx