вопрос worker_rlimit_nofile, rlimit

Igor Sysoev is at rambler-co.ru
Thu Aug 9 10:38:15 MSD 2007


On Thu, Aug 09, 2007 at 10:31:44AM +0400, Alexey Rymonin wrote:

> в конфиге следующее:
> worker_rlimit_nofile  8192;
> 
> events {
>     worker_connections  8192;
>     use  /dev/poll;
> }
> 
> но при этом
> [root at snake nginx]# pfiles `pgrep nginx` | grep rlimit
>   Current rlimit: 256 file descriptors
>   Current rlimit: 256 file descriptors
>   Current rlimit: 256 file descriptors
>   Current rlimit: 256 file descriptors
>   Current rlimit: 256 file descriptors
>   Current rlimit: 256 file descriptors
>   Current rlimit: 256 file descriptors
> 
> Так и должно быть?

Основной процесс запускается от рута ?


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list