Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous 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 [2023/02/08 23:50] (current) – [Maximum Open Files] Replace pgrep with pidof digital man | ||
---|---|---|---|
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: | ||
+ | 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 ===== | ||
* [[: | * [[: |