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 [2018/02/13 12:44] – Removed the section I added on binding ports below 1024 on Linux, since there's already a howto page about that. nightfox | faq:nix [2022/05/07 18:50] – [Maximum Open Files] added systemd section. nelgin | ||
---|---|---|---|
Line 18: | Line 18: | ||
* [[# | * [[# | ||
* [[#Disk space|How much disk space is required]]? | * [[#Disk space|How much disk space is required]]? | ||
- | * [[#TermType|What does an '' | + | * [[#Terminal Type|What does an '' |
+ | * [[#tempnam warning|Why do I get a warning about use of '' | ||
+ | * [[#SDL Errors|How do I work around SDL 1.2 run-time errors]]? | ||
+ | * [[# | ||
+ | * [[# | ||
| | ||
===== Flavors ===== | ===== Flavors ===== | ||
Line 169: | Line 173: | ||
**Answer: | **Answer: | ||
- | A fresh install (as of Feb-2009) requires about 70MBytes. | + | A fresh install (as of Mar-2020) from source code, requires about 500MBytes of space. |
- | Much of the space consumed is in the form of intermediate build files which | + | Much of the space consumed is in the form of intermediate build files which may be removed after the build is complete if space is a concern. |
- | may be removed after the build is complete if space is a concern. | + | |
Line 192: | Line 195: | ||
To elaborate, [[util: | To elaborate, [[util: | ||
+ | ===== SDL errors ===== | ||
+ | **Question: | ||
+ | How do I work around SDL_main errors (e.g. '' | ||
+ | < | ||
+ | $ / | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | No protocol specified | ||
+ | Segmentation fault (core dumped) | ||
+ | </ | ||
+ | |||
+ | **Answer: | ||
+ | Double check that you can run X applications (e.g. '' | ||
+ | xhost +SI: | ||
+ | executed before switching to another user account (e.g. with '' | ||
+ | |||
+ | Work-arounds: | ||
+ | - Clean re-build all of Synchronet without SDL support (include '' | ||
+ | - Set the '' | ||
+ | |||
+ | ===== Recycle ===== | ||
+ | **Question: | ||
+ | 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: | ||
+ | What do the following warning-level log messages indicate? | ||
+ | Disabling Terminal Server recycle support | ||
+ | Disabling FTP Server recycle support | ||
+ | Disabling Web Server recycle support | ||
+ | Disabling Mail Server recycle support | ||
+ | Disabling Services recycle support | ||
+ | | ||
+ | **Answer: | ||
+ | Recycle support can be disabled manually be setting the '' | ||
+ | The log warning messages above (" | ||
+ | - Configured to bind-to/ | ||
+ | - **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 " | ||
+ | |||
+ | The solution is to remove the '' | ||
+ | |||
+ | ===== Maximum Open Files ===== | ||
+ | **Question: | ||
+ | Why am I seeing '' | ||
+ | |||
+ | **Answer: | ||
+ | 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 one that a user can raise (up to the hard limit). | ||
+ | |||
+ | Soft limit: '' | ||
+ | Hard limit: '' | ||
+ | |||
+ | 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 ''/ | ||
+ | |||
+ | To raise the soft limit up to the hard limit for your Synchronet user, it is recommended to add this line: | ||
+ | |||
+ | <file limits.conf> | ||
+ | yourBBSuser | ||
+ | </ | ||
+ | |||
+ | If you are still receiving ERROR 24, try raising both limits for all users by adding these lines instead: | ||
+ | |||
+ | <file limits.conf> | ||
+ | * | ||
+ | * | ||
+ | </ | ||
+ | |||
+ | |||
+ | If you are running sbbs from systemd then you'll need to edit your service file. Add the following line in the [Service] section | ||
+ | |||
+ | | ||
+ | Reload the service file | ||
+ | |||
+ | | ||
+ | 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 ===== | ||
* [[: | * [[: |