file descriptors

File Descriptors

On a busy Linux system, you may need to increase the number of file descriptors available.

System-wide descriptors are set via /proc/sys/fs/file-max

On RedHat Enterprise 3.x this is set by default to 104855, which should be plenty.
The per-user limit is still low at 1024

As root, you can issue the command (e.g. in safe_asterisk):
ulimit -n 65535

However, if running Asterisk as non-root, then edit via:
asterisk soft nofile 65535
asterisk hard nofile 65535

Created by: simon, Last modification: Mon 28 of Jun, 2004 (15:48) by flavour
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+