Hi all,
I blew away my old ecwebv4 install and started fresh with the jsexec installer on ecweb. After doing so, I noticed that my server load on my bbs machine would shoot way up, and eventually the server would start throwing "too many open files" errors.
I managed to stop the server load from shooting up by disabling the "files" section (removing 002-files.xjs from pages), as it took a good 50 minutes to load my files section any time someone hit that page.
However, that didn't stop my too many open files issue. It turns out something is opening user.dat and not closing it in sbbs/http as the following lsof snippet shows:
sbbs/http 26362 26424 root 70r REG 8,0 138444 5780571 /sbbs/data/user/user.dat
sbbs/http 26362 26424 root 72r REG 8,0 138444 5780571 /sbbs/data/user/user.dat
sbbs/http 26362 26424 root 76r REG 8,0 138444 5780571 /sbbs/data/user/user.dat
sbbs/http 26362 26424 root 77r REG 8,0 138444 5780571 /sbbs/data/user/user.dat
sbbs/http 26362 26424 root 78r REG 8,0 138444 5780571 /sbbs/data/user/user.dat
sbbs/http 26362 26424 root 80r REG 8,0 138444 5780571 /sbbs/data/user/user.dat
-=-=-=-=-=-=-
Eventually there are so many instances of user.dat open that the server hits its max open files limit.
Has anyone run into this?
I've had to roll back to the default synchronet web interface for the time being.
Eventually there are so many instances of user.dat open that the server hits its max open files limit.
Has anyone run into this?
The problem has been reported by before now, no one has been able to say *what* files were open by sbbs at the time of failure.
I've forwarded the report on echicken via irc. Hopefully it's an easy fix (likely so).
server hits its max open files limit.
Has anyone run into this?
I've seen the "too many open files" problem but wasn't sure why that was happening.
Looks like you shed some light on it so that's a good thing.. :)
Eventually there are so many instances of user.dat open that the
server hits its max open files limit.
Has anyone run into this?
I've had to roll back to the default synchronet web interface for the
time being.
The problem has been reported by before now, no one has been able to say *what* files were open by sbbs at the time of failure.
I've forwarded the report on echicken via irc. Hopefully it's an easy fix (likely so).
In any case, it had gotten really bad in the past few days. But after upgrading ecweb and sbbs, I think there's been a marked improvement.
I also started running into that problem recently. My logs were filling up with "error 24" and "Too many open files". The lsof command clearly showed seemingly infinite references to /sbbs/data/user/user.dat.
Anyway, I guess the problem was that I had stuck with an older version of ecwebv4 because I thought I heard that ftelnet support was being dropped.
In any case, it had gotten really bad in the past few days. But after upgrading ecweb and sbbs, I think there's been a marked improvement.
The real test will be the next few days to make sure the board stays up.
For me, I kept seeing the "too many open files" issue even after upgrading ecwebv4. Digital Man put in a fix recently that fixed the issue though, so I'd
try updating to newer binaries if you haven't done that recently.
El 21/08/18 a las 13:42, Nightfox escribió:
For me, I kept seeing the "too many open files" issue even after upgrading ecwebv4. Digital Man put in a fix recently that fixed the issue though, so I'd
try updating to newer binaries if you haven't done that recently.
I have "too many open files" error on my debian gnu/linux sometimes.. I
run another services in same server with synchronet. But never see that issue before.
Sometimes i need to restart sbbs daemon.
I still have not had the opportunity to better debug to found the origin
of this issue, but i think that some bbs process do not correctly close
some file handle or someelse.
Re: Re: bbs crashing after ecweb update
By: Ragnarok to Nightfox on Fri Aug 24 2018 11:42 am
El 21/08/18 a las 13:42, Nightfox escribió:
For me, I kept seeing the "too many open files" issue even after upgrading
ecwebv4. Digital Man put in a fix recently that fixed the issue though, so I'd
try updating to newer binaries if you haven't done that recently.
I have "too many open files" error on my debian gnu/linux sometimes.. I run another services in same server with synchronet. But never see that issue before.
Sometimes i need to restart sbbs daemon.
I still have not had the opportunity to better debug to found the origin of this issue, but i think that some bbs process do not correctly close some file handle or someelse.
There was an issue with the JS User object which could trigger that - that issue was introduced to CVS in June (as part of a performance improvement) and
fixed in August.
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 54:17:14 |
Calls: | 508 |
Messages: | 220051 |