concurrent connections with Nginx


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
5 views
How to know the number obnovlennyh connections to nginx at the moment?
by | 5 views

3 Answers

0 like 0 dislike
In the config:
\r
location /status { stub_status on; allow all; } 

\r
Then just go to <the domain to which screwed>/status and look at the first line
by
0 like 0 dislike
Do you mean:
1) the number of sessions
2) number of outstanding sockets
3) the number sockets ready to read
??
by
0 like 0 dislike
in freebsd you can write sockstat -c | grep -c nginx and get all the info without /status :)
by

Related questions

110,608 questions
257,186 answers
0 comments
27,971 users