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 [2022/05/07 09:27] – Fixed broken anchor link. Cleaned up the entry a bit and clarified how the limits work. Andre | faq:nix [2022/11/17 10:59] – [Maximum Open Files] grammar, style digital man | ||
---|---|---|---|
Line 257: | Line 257: | ||
**Question: | **Question: | ||
Why am I seeing '' | 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: | **Answer: | ||
You need to increase your maximum number of open files. | You need to increase your maximum number of open files. | ||
- | + | \\ \\ | |
- | To determine your open file limit, when logged in as the user Synchronet runs as, use the commands below. The hard limit is the systemwide limit, and the soft limit is a soft limit that a user can raise (up to the hard limit). | + | **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: '' | Soft limit: '' | ||
Hard limit: '' | Hard limit: '' | ||
- | To alleviate the ERROR 24 problem on Linux, edit '' | + | **If you start Synchronet with systemd**\\ |
+ | If you're using [[howto: | ||
- | To raise the soft limit up to the hard limit for your Synchronet user, it is recommended to add this line: | + | < |
- | + | LimitNOFILE=10000 | |
- | < | + | |
- | yourBBSuser | + | |
</ | </ | ||
- | If you are still receiving ERROR 24, try raising both limits | + | 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> | <file limits.conf> | ||
- | * | + | yourBBSuser |
- | * soft | + | |
</ | </ | ||
- | + | ||
+ | |||
+ | | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: |