Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
faq:nix [2022/05/06 22:20] – Add FAQ about "Too many open files" error and solution digital man | faq:nix [2022/05/07 09:27] – Fixed broken anchor link. Cleaned up the entry a bit and clarified how the limits work. Andre | ||
---|---|---|---|
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]]? | ||
* [[# | * [[# | ||
- | * [[#maxopenfiles|How do I resolve ERROR 24 (Too many open files)]]? | + | * [[#Maximum_Open_Files|How do I resolve ERROR 24 (Too many open files)]]? |
| | ||
===== Flavors ===== | ===== Flavors ===== | ||
Line 256: | Line 256: | ||
===== Maximum Open Files ===== | ===== Maximum Open Files ===== | ||
**Question: | **Question: | ||
- | Why am I getting | + | Why am I seeing |
**Answer: | **Answer: | ||
- | You need to increase your maximum open file count. Run '' | + | You need to increase your maximum |
- | On Linux, edit ''/ | + | 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). |
+ | |||
+ | Soft limit: '' | ||
+ | Hard limit: '' | ||
+ | |||
+ | To alleviate the ERROR 24 problem on Linux, edit ''/ | ||
+ | |||
+ | To raise the soft limit up to the hard limit for your Synchronet user, it is recommended to add this line: | ||
<file limits.conf> | <file limits.conf> | ||
- | * soft nofile | + | yourBBSuser |
</ | </ | ||
+ | If you are still receiving ERROR 24, try raising both limits for all users by adding these lines instead: | ||
+ | |||
+ | <file limits.conf> | ||
+ | * | ||
+ | * | ||
+ | </ | ||
+ | |||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: |