Server Crash - "isc_socket_create: fcntl/reserved: Too many open files" [Howto Fix]
A Debian has been crashed and I should found how it happened.
Memory, Swap and Harddisk wasn't full, but the Server was unreachable, no ssh, ftp, http, ping...
After a hardware reset I have analysed the log files.
The crash was 22:45 offline and I want to analyse log entries between 22:40 and 22:50 and greped them
cat syslog.2 |grep '22:4'
...
Apr 2 22:41:12 USER named[3493]: isc_socket_create: fcntl/reserved: Too many open files
Apr 2 22:41:12 USER named[3493]: isc_socket_create: fcntl/reserved: Too many open files
Apr 2 22:41:12 USER named[3493]: isc_socket_create: fcntl/reserved: Too many open files
Apr 2 22:41:12 USER named[3493]: isc_socket_create: fcntl/reserved: Too many open files
...
and seen a lot of the time the same error. The server has tried to open files, but couldn't and crashed.
number of the max open files was 1024
USER:/var/log# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 73728
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 73728
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
I've changed the value of max open files to 8192 with
ulimit -n 8192
and it works very well
Similar entries
- Howto duplicate (clone) VirtualBox image in Windows 7
- [Howto Fix] Table './eximstats/sends' is marked as crashed and should be repaired
- Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mysite/public_html/includes/
- Comparison of free Shopping Carts - 2009
- Search in text files recursively with PHP - Grep
- Search only in .php files under linux
- Save / open .ico files (icons) with Adobe Photoshop CS4 64 / 32 Bit
- Iframe Trojan / Virus of Alcobro.net
- 403 error after installing Nagios and Webmin (conflict)
- Set auto_prepend_file with .htaccess on Hosteurope managed hosting
- need help for customizing PHP-grep files search
- Why tableless design, DIV vs. TABLE
- Include both php/ html files, catch & assign output to a string variable
- Filezilla and plain-text clear, unsecure password storage
- Howto install Volatility (RAM / Memory Forensic Framework) in Windows
- search for files and create an archive with them (tar,find,linux)
- Update / overwrite files and directories recursively with Linux mv - cp commands
- Howto protect admin.php / login.php with htaccess password
- Howto install dig in Debian 5 (Lenny)
- Using "Linux Find" command to get human readable directory sizes in public_html

Comments
Post new comment