# Max file descriptor needed by nginx

**URL:** <https://www.ruby-forum.com/t/max-file-descriptor-needed-by-nginx/187181>\
**Category:** NGINX\
**Created:** [April 19, 2010, 12:03pm UTC](https://www.ruby-forum.com/t/max-file-descriptor-needed-by-nginx/187181 "2010-04-19T12:03:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent\_MAUGE](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e68b1a/32.png) [@Vincent\_MAUGE](https://www.ruby-forum.com/u/Vincent_MAUGE)\
**Post date:** [April 19, 2010, 12:03pm UTC](https://www.ruby-forum.com/t/max-file-descriptor-needed-by-nginx/187181/1 "2010-04-19T12:03:52Z")

</div>

Hey,

I have a question concerning max file descriptor need by nginx.  
The page [http://wiki.nginx.org/NginxHttpEventsModule#worker\_connections](http://wiki.nginx.org/NginxHttpEventsModule#worker_connections)  
said that nginx use one pool for internet connection. But which pool  
is used to open file ?

I use nginx as reverse proxy with lot of of post request. Is the  
following caclul correct ?  
max\_fd = worker\_connections + max\_upload  
=\> max\_fd = worker\_connections + worker\_connections / 2

Regards,

Vincent
