V
V
vixh2010-12-29 00:53:04
Nginx
vixh, 2010-12-29 00:53:04

concurrent connections in Nginx

How to find out the number of simultaneous connections to nginx at the moment?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
clamaw, 2010-12-29
@vixh

In config:

location /status {
		stub_status on;
		allow all;
	}

Next, just go to <domain to which you connected>/status and look at the first line

H
Horse, 2010-12-29
@Horse

Do you mean:
1) number of sessions
2) number of open sockets
3) number of sockets ready for reading
??

E
equand, 2010-12-31
@equand

in freebsd you can write sockstat -c | grep -c nginx and get all info without /status :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question