Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
faq:nix [2020/11/14 11:19] – Create Linux-recycle FAQ digital man | faq:nix [2022/11/17 10:59] – [Maximum Open Files] grammar, style 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 216: | Line 217: | ||
===== Recycle ===== | ===== Recycle ===== | ||
**Question: | **Question: | ||
- | Why do my servers/ | + | Why do my servers/ |
+ | |||
+ | **Answer: | ||
+ | Servers will not recycle while they are in-use. | ||
+ | |||
+ | < | ||
+ | $ node rerun | ||
+ | |||
+ | Synchronet Node Display/ | ||
+ | |||
+ | Node 1: User #1 reading messages via telnet (M) [R] | ||
+ | Node 2: Waiting for connection [R] | ||
+ | Node 3: Waiting for connection [R] | ||
+ | Node 4: Waiting for connection [R] | ||
+ | Node 5: Waiting for connection [R] | ||
+ | Node 6: Waiting for connection [R] | ||
+ | Node 7: Waiting for connection [R] | ||
+ | Node 8: Waiting for connection [R] | ||
+ | </ | ||
**Question: | **Question: | ||
Line 227: | Line 246: | ||
| | ||
**Answer: | **Answer: | ||
- | Recycle support can be disabled manually be setting the '' | + | Recycle support can be disabled manually be setting the '' |
+ | The log warning messages above (" | ||
- Configured to bind-to/ | - Configured to bind-to/ | ||
- **and** the BBS was configured to change the current user-id in the '' | - **and** the BBS was configured to change the current user-id in the '' | ||
- **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 ''; | ||
+ | |||
+ | Soft limit: '' | ||
+ | Hard limit: '' | ||
+ | |||
+ | **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 ===== | ||
* [[: | * [[: |