[asterisk-users] asterisk unable to create files, too many
files open
matteo brancaleoni
mbrancaleoni at espia.it
Wed Apr 18 06:26:25 MST 2007
Hi,
On Wed, 2007-04-18 at 15:56 +0300, Maysara A. Abdulhaq wrote:
> hello,
> i tried to increase the number in /proc/sys/fs/file-max , which was:
> 203511
> and file-nr was
> 2112 0 203511
> so i did :
> echo 400176 >/proc/sys/fs/file-max
> but it didn't help, what could possibly make this happen, and does
> asterisk need that huge number of files ? this machine takes less than
> ~40 calls at peaks!
that value is a system value, not a process one.
You should increase asterisk process file limit
with "ulimin -n" before starting *.
Eg ulimit -n 8192 will increase max files from the default 1024 to 8192.
Greetings,
matteo.
--
Matteo Brancaleoni
R&D Director
Tel :+39.02.70633354
Voip :sip:matteo at sip.voismart.it
More information about the asterisk-users
mailing list