Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
faq:nix [2022/05/07 20:43] – [Maximum Open Files] Reformatted using nelgin's better instructions. Andrefaq:nix [2022/11/17 10:59] – [Maximum Open Files] grammar, style digital man
Line 257: Line 257:
 **Question:**\\ **Question:**\\
 Why am I seeing ''ERROR 24 (Too many open files)'' failures in my error log? Why am I seeing ''ERROR 24 (Too many open files)'' failures in my error log?
 +
 +**Answer:**\\
 +Versions of Synchronet prior to v3.19c contained a bug with the JavaScript //User// class that could cause a leak of open file descriptors (concurrent opens of the ''[[dir:data]]/user.dat'' file that were never closed). This bug, combined with a long-running //webv4// ''events.ssjs'' issue that could cause a lot of instances of the //User// class to linger in the JavaScript heap (since fixed with a call to ''js.gc()''), could cause "Too many open files" errors to occur.
  
 **Answer:**\\ **Answer:**\\
Line 262: Line 265:
 \\ \\ \\ \\
 **Checking current open file limits**\\ **Checking current open file limits**\\
-The most reliable way to determine your open file limit is to login to your BBS as a sysop, run the '';SHELL'' [[module:str_cmds|string command]], and at the Linux command line use the commands below. The hard limit is the systemwide limit, and the soft limit is one that a user can raise (up to the hard limit).+The most reliable way to determine your open file limit is to login to your BBS as a sysop, run the '';SHELL'' [[module:str_cmds|string command]], and at the OS command line, issue the commands below. The hard limit is the systemwide limit, and the soft limit is one that a user can raise (up to the hard limit).
  
 Soft limit: ''ulimit -Sn''\\ Soft limit: ''ulimit -Sn''\\
Line 268: Line 271:
  
 **If you start Synchronet with systemd**\\ **If you start Synchronet with systemd**\\
-If you're using [[howto:systemd|systemd]] to start sbbs, edit your service file (usually sbbs.service) by adding the following line in the ''[Service]'' section:+If you're using [[howto:systemd|systemd]] to start sbbs, edit your service file (usually ''sbbs.service'') by adding the following line in the ''[Service]'' section:
  
 <file sbbs.service> <file sbbs.service>