Welcome! Log In Create A New Profile

Advanced

Re: Question on socket usage

Anton Yuzhaninov
April 13, 2012 11:22AM
On 04/13/12 10:50, Andy Bartaman wrote:
> I am new to nginx. I was wondering if nginx uses one server-side socket for each
> connection request. That is if there are 100 http connections simultaneously active
> tp an nginx server would there be 100 sockets in use in nginx?

Yes, you are right.

In case if request proxied by nginx to upstream, take in account sockets used by
upstream connections too.

If you wan to tune max sockets limit in OS, don't forget about sockets in
TIME_WAIT state - this connections closed in nginx, but usually accounted in OS
limits.

--
Anton Yuzhaninov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Question on socket usage

Andy Bartaman April 13, 2012 02:52AM

Re: Question on socket usage

Anton Yuzhaninov April 13, 2012 11:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready