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 revisionBoth sides next revision
faq:nix [2022/05/07 09:29] – [Maximum Open Files] Poor wording. Allow myself to introduce... myself. Andrefaq:nix [2022/05/07 18:50] – [Maximum Open Files] added systemd section. nelgin
Line 266: Line 266:
 Hard limit: ''ulimit -Hn'' Hard limit: ''ulimit -Hn''
  
-To alleviate the ERROR 24 problem on Linux, edit ''/etc/security/limits.conf'' to add the lines below.+To alleviate the ERROR 24 problem on Linux, follow one of the following procedures. 
 + 
 + 
 +If you're not using systemd to start sbbs you can edit ''/etc/security/limits.conf'' to add the lines below.
  
 To raise the soft limit up to the hard limit for your Synchronet user, it is recommended to add this line: To raise the soft limit up to the hard limit for your Synchronet user, it is recommended to add this line:
Line 281: Line 284:
 </file> </file>
    
 +
 +If you are running sbbs from systemd then you'll need to edit your service file. Add the following line in the [Service] section
 +
 +   LimitNOFILE=10000
 +Reload the service file
 +
 +   systemctl daemon-reload
 +This will give you a safety net in case a runaway process tries to open a lot of files. Don't forget to restart your bbs after making the change. 
 +
 +To verify the number of files, you can use the sysop ;SHELL command and run
 +
 +  ulimit -a
 +to see exactly which limits your process is to conform to.
 +
 +      
 ===== See Also ===== ===== See Also =====
   * [[:faq:|Frequently Asked Questions]]   * [[:faq:|Frequently Asked Questions]]