Too many open files errors

Mustafa Toraman lists at ruby-forum.com
Thu Jan 3 02:32:49 MSK 2008


I found that on nginx mail lists but cant understand what to do :\


-------------
Subject:    Re: too many open files Re: too many open files

On 01.03.2006, at 11:31, L0rda wrote: On 01.03.2006, at 11:31, L0rda 
wrote:

> Good day,
>
> narisovalas a problem nginx can not open more than 500 log files, the signal-HUP not overloading configuration, 24: Too many open files. 24 gives a mistake: Too many open files.
>
>
> nginx.conf:   worker_rlimit_nofile 15000; nginx.conf: worker_rlimit_nofile 15000;
>
> df -i df-i
> Filesystem             Inodes   IUsed   IFree IUse% Mounted on Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/sda1             15794176   840958 14953218     6% / / dev/sda1 15794176 840958 14953218 6% /
> /dev/shm               219846       1   219845     1% /dev/shm / dev / shm 219846 1 219845 1% / dev / shm
> /dev/sda2             1048576   15442 1033134     2% /var / dev/sda2 1048576 15442 1033134 2% / var
>
> sysctl -a|grep file sysctl-a | grep file
> fs.file-max = 500000 fs.file-max = 500000
> fs.file-nr = 11820 0 500000 fs.file-nr = 11820 0 500000
>
> ulimit -n 15000 ulimit-n 15000
> To reload the configuration had to disable several log files.
>
> Perhaps someone met with a similar problem? 
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list