I'm running into an issue where my system will lock up due to too many open files. It's been happening for a couple months. I upped the open file limit, but that didn't seem to help.
[root@bbs ctrl]# ulimit -a
open files (-n) 950000
Now, when I checked, lsof | wc -l only showed about 72K open files.
the
majority were by sbbs/term, and sbbs/http to /sbbs/data/user/user.dat
after killing sbbs and restarting, my open files were down to 12k.
The kicker is, 72k is far less than the 950K my system allows. is there an open file limit built into SBBS?
Unless you're running the bbs as 'root' (and I hope you're not), this isn't really relevant. You need to adjust the open file limit for the user that sbbs is run as: http://wiki.synchro.net/faq:nix#maximum_open_files
DaiTengu wrote to Digital Man <=-
Re: too many open files - user.dat
By: Digital Man to DaiTengu on Sat May 28 2022 12:42 pm
Unless you're running the bbs as 'root' (and I hope you're not), this isn't really relevant. You need to adjust the open file limit for the user that sbbs is run as: http://wiki.synchro.net/faq:nix#maximum_open_files
Found the problem, which the wiki link helped me with. I had to
up the open file limit in the systemd start config. I had it set
to 950k for both users and root, but didn't update the startup
config.
LimitNOFILE=150000
Have I ever mentioned how much I hate systemd? :)
Slackware.
MX Linux.
Devuan.
<a few more>
DaiTengu wrote to Gamgee <=-
Slackware.
MX Linux.
Devuan.
<a few more>
Gentoo can run on either. My BBS runs under CentOS though, as
it was just easier to deal with for the most part.
at some point I need to move it to CentOS 8 or 9. Or maybe Rocky.
Are you locked in to running it only on RedHat variants, or something?
Gentoo can run on either. My BBS runs under CentOS though, as
it was just easier to deal with for the most part.
at some point I need to move it to CentOS 8 or 9. Or maybe Rocky.
Okay..... but <confused look> that isn't going to solve anything regarding using 'systemd', which is what the whole point of my comment was...
DaiTengu wrote to Gamgee <=-
Gentoo can run on either. My BBS runs under CentOS though, as
it was just easier to deal with for the most part.
at some point I need to move it to CentOS 8 or 9. Or maybe Rocky.
Okay..... but <confused look> that isn't going to solve anything
regarding using 'systemd', which is what the whole point of my comment was...
I can hate systemd and still use it.
RedHat variants are my OS of choice for systems I want to "just
work" because I'm familiar with them.
Okay..... but <confused look> that isn't going to solve anything
regarding using 'systemd', which is what the whole point of my
comment was...
I can hate systemd and still use it.
Sure. Just seems a little odd. I also hate systemd and won't use a
distro for that very reason.
I'm running into an issue where my system will lock up due to too
many open files. It's been happening for a couple months. I upped
the open file limit, but that didn't seem to help.
Sysop: | Nelgin |
---|---|
Location: | Plano, TX |
Users: | 605 |
Nodes: | 10 (1 / 9) |
Uptime: | 64:55:01 |
Calls: | 9,591 |
Calls today: | 5 |
Files: | 16,048 |
D/L today: |
1 files (53K bytes) |
Messages: | 1,060,301 |
Posted today: | 9 |