Hi everyone,
Last night, around midnight, my Synchronet setup (running under Ubuntu) became unresponsive.
Typical log fragment:
Feb 20 07:22:42 synchronet synchronet: term Node 1 !Error 24 (Too many open files) opening: /sbbs/text/answer.msg
Feb 20 07:22:42 synchronet synchronet: term Node 1 !JavaScript : can't open /sbbs/exec/loginDD.js: No such file or directory
Feb 20 07:22:42 synchronet synchronet: term Node 1 !ERROR 24 (Too many open files) in exec.cpp line 662 (js_execfile) compiling "/sbbs/exec/loginDD.js" access=0
It wasn't just linked to loginDD.js - anything involving files would throw this error (including sbbsecho).
A stop / start has resolved the issue.... for now....
What's the best approach to hardening my installation against this?
Sounds like a bug (a file descriptor leak, usually open files, but could be open socket descriptors or other types of file descriptors that were not closed) somewhere. Using a tool such as 'lsof' if/when it happens again should help to identify the culprit.
Sysop: | Xerxes |
---|---|
Location: | Azle, Texas |
Users: | 119 |
Nodes: | 10 (0 / 10) |
Uptime: | 92:06:18 |
Calls: | 3,016 |
Calls today: | 1 |
Files: | 154 |
U/L today: |
0 files (0K bytes) |
D/L today: |
0 files (0K bytes) |
Messages: | 293,563 |
Posted today: | 0 |