Welcome! Log In Create A New Profile

Advanced

Re: Nginx Filed Descriptor are increasing in n*n space complexity

November 29, 2012 08:10AM
On Nov 29, 2012, at 16:05 , goelvivek wrote:

> HI,
> If I increase nginx worker count. File descriptor count are getting
> increased in n*n oder.
> Example with 10 worker.
> 2 0xffff8801c4dec000
> 10 0xffff8801c4dec300
> 10 0xffff8801c4dec600
> 2 0xffff8801c4dec900
> 10 0xffff8801c4decc00
> 10 0xffff8801c4decf00
> 2 0xffff8801c4ded200
> 2 0xffff8801c4ded500
> 10 0xffff8801c4ded800
> 2 0xffff8801c4dedb00
> 10 0xffff8801c4dee100
> 2 0xffff8801c4dee400
> 10 0xffff8801c4dee700
> 2 0xffff8801c4deea00
> 10 0xffff8801c4deed00
> 2 0xffff8801c4def000
> 10 0xffff8801c4def300
> 2 0xffff8801c4def600
> 10 0xffff8801c4def900
> 2 0xffff8801c4defc00
>
>
> Is there a way I can decrease this count ? I

These are unix socket pairs intended to communicate between worker processes.
Actual number of sockets is N but not NxN because they are shared. Sockets file
descriptors are indeed NxN, but the file descriptor is more cheap kernel object,
than socket or inode/vnode objects.


--
Igor Sysoev
http://nginx.com/support.html

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

Nginx Filed Descriptor are increasing in n*n space complexity

goelvivek November 29, 2012 07:05AM

Re: Nginx Filed Descriptor are increasing in n*n space complexity

goelvivek November 29, 2012 07:22AM

Re: Nginx File Descriptor are increasing in n*n space complexity

goelvivek November 29, 2012 07:36AM

Re: Nginx Filed Descriptor are increasing in n*n space complexity

Igor Sysoev November 29, 2012 08:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 209
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