Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq:nix [2020/11/16 20:31] – [Recycle] show example using "node rerun" while node in-use digital man | faq:nix [2023/02/08 23:50] (current) – [Maximum Open Files] Replace pgrep with pidof digital man | ||
---|---|---|---|
Line 22: | Line 22: | ||
* [[#SDL Errors|How do I work around SDL 1.2 run-time errors]]? | * [[#SDL Errors|How do I work around SDL 1.2 run-time errors]]? | ||
* [[# | * [[# | ||
+ | * [[# | ||
| | ||
===== Flavors ===== | ===== Flavors ===== | ||
Line 251: | Line 252: | ||
- **and** the BBS could not dynamically set the bind capabilities using the Linux " | - **and** the BBS could not dynamically set the bind capabilities using the Linux " | ||
- | The solution is to remove the '' | + | The solution is to remove the '' |
+ | ===== Maximum Open Files ===== | ||
+ | **Question: | ||
+ | Why am I seeing '' | ||
+ | |||
+ | **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 '' | ||
+ | |||
+ | **Answer: | ||
+ | You need to increase your maximum number of open files. | ||
+ | \\ \\ | ||
+ | **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 ''; | ||
+ | |||
+ | To view the soft limit: '' | ||
+ | To view the hard limit: '' | ||
+ | |||
+ | Another method that works on Linux is to search for line beginning with "Max open files" in the file ''/ | ||
+ | $ sudo grep "Max open files" / | ||
+ | Max open files 10000 10000 files | ||
+ | |||
+ | **If you start Synchronet with systemd**\\ | ||
+ | If you're using [[howto: | ||
+ | |||
+ | <file sbbs.service> | ||
+ | LimitNOFILE=10000 | ||
+ | </ | ||
+ | |||
+ | After adding the line, reload the service file from the command line using '' | ||
+ | |||
+ | **If you start Synchronet manually or with a shell script**\\ | ||
+ | If you start sbbs with a shell script, manually from the command line, or some other similar method, edit ''/ | ||
+ | |||
+ | To raise the soft limit for your Synchronet user, add this line: | ||
+ | |||
+ | <file limits.conf> | ||
+ | yourBBSuser | ||
+ | </ | ||
+ | |||
+ | |||
+ | | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: |