Every time I start Asterisk or do a simple reload I see this message: "Cannot open maximum file descriptor 32767 at boot? No such file or directory" Does anybody have some idea of what can it be? It did not happen in version 1.4. Philip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100921/033b0c0b/attachment.htm
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of CDR Sent: Tuesday, September 21, 2010 8:42 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Unexplained message in 1.6.2 Every time I start Asterisk or do a simple reload I see this message: "Cannot open maximum file descriptor 32767 at boot? No such file or directory" Does anybody have some idea of what can it be? It did not happen in version 1.4. Philip Tilghman did a post on this for 1.4 SVN - http://www.mail-archive.com/svn-commits at lists.digium.com/msg51758.html My C is iffy, but I think it means Asterisk tried to open too many files on startup. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100921/277e0717/attachment-0001.htm
On Tuesday 21 September 2010 08:42:04 CDR wrote:> Every time I start Asterisk or do a simple reload I see this message: > "Cannot open maximum file descriptor 32767 at boot? No such file or > directory" > Does anybody have some idea of what can it be? It did not happen in version > 1.4. > PhilipEssentially what this is saying is that you've raised your per-process file descriptor limit higher than your booted kernel will allow in a single process. This should almost never happen. See the value here: bash% sysctl fs.file-max -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org
Every time I start Asterisk or do a simple reload I see this message: ?Cannot open maximum file descriptor 32767 at boot? No such file or directory?. It only works if I set 1024 in asterisk.conf "maxfiles" However, my sysctl fs.file-max fs.file-max = 65535 and my ulimits are ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 400000 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 400000 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 1056768 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100921/ac1da843/attachment.htm