Welcome! Log In Create A New Profile

Advanced

why my nginx so many waiting users ?

Posted by 21andy 
21andy
why my nginx so many waiting users ?
February 02, 2010 10:30AM
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
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Maxim Dounin
Re: why my nginx so many waiting users ?
February 02, 2010 11:00AM
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
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Igor Sysoev
Re: why my nginx so many waiting users ?
February 02, 2010 11:10AM
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
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
prasanna
Re: why my nginx so many waiting users ?
February 01, 2018 07:50AM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Maxim Dounin
Re: why my nginx so many waiting users ?
February 01, 2018 02:10PM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
rajuginne
Re: why my nginx so many waiting users ?
February 02, 2018 07:10PM
@
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login