• Synchronet resource issues and crashing

    From Nightfox@1:103/705 to Digital Man on Sunday, October 20, 2019 16:46:35
    Hi DM,

    Currently I'm running Synchronet for Windows with binaries from September 25th. Today I tried logging onto my BBS and noticed there were 2 users online playing a couple of DOS doors. When I tried logging in, Synchronet showed some errors running some of the JavaScript modules during login. The following is the log from when I was logging in (I disconnected during login, and there are some more errors after that):

    10/20 02:24:40p Node 3 !JavaScript Initialization FAILURE
    10/20 02:24:40p Node 3 02:24p Sun Oct 20 2019 Node 3
    10/20 02:24:40p Node 3 RLogin <no name> [192.168.1.1]
    10/20 02:24:43p Node 3 <Nightfox> received CTerm version report: 1.245
    10/20 02:24:43p Node 3 <Nightfox> terminal type: 80x25 ansi-bbs
    10/20 02:24:43p Node 3 <Nightfox> (0001) Nightfox Logon 0 - 1
    10/20 02:24:43p Node 3 <Nightfox> !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 581 (sbbs_t::js_execfile) checking "JavaScript support" access=0
    10/20 02:24:50p Node 3 <Nightfox> !ERROR 11 (Resource temporarily unavailable) (WinError 0) in exec.cpp line 582 (sbbs_t::js_execfile) executing "logon" access=0
    10/20 02:24:50p Node 3 <Nightfox> !ERROR 11 (Resource temporarily unavailable) (WinError 0) in exec.cpp line 581 (sbbs_t::js_execfile) checking "JavaScript support" access=0
    10/20 02:24:54p Node 3 <Nightfox> !ERROR 11 (Resource temporarily unavailable) (WinError 0) in exec.cpp line 582 (sbbs_t::js_execfile) executing "animatedPause" access=0
    10/20 02:25:01p Node 3 disconnected
    10/20 02:25:01p Node 3 <Nightfox> !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 581 (sbbs_t::js_execfile) checking "JavaScript support" access=0
    10/20 02:25:01p Node 3 <Nightfox> !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 582 (sbbs_t::js_execfile) executing "DDReadPersonalMail 0 1 0" access=0
    10/20 02:25:02p Node 3 <Nightfox> logout initiated
    10/20 02:25:02p Node 3 <Nightfox> !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 581 (sbbs_t::js_execfile) checking "JavaScript support" access=0
    10/20 02:25:02p Node 3 <Nightfox> !ERROR 2 (No such file or directory) (WinError 0) in exec.cpp line 582 (sbbs_t::js_execfile) executing "logout" access=0
    10/20 02:25:02p Node 3 thread terminated (2 node threads remain, 165 clients served)


    At that time, it seemed like resource usage wasn't too much. The Windows task manager said the memory usage was about 584MB (out of 2GB RAM on the VM), and CPU usage was about 1-2%. sbbsctrl.exe was using about 60MB of RAM.

    About 15 minutes later or so, I noticed one of the DOS doors seemed to have exited, but sbbsctrl still said the user was in that door. I noticed sbbsctrl.exe memory usage had gone up to about 1.3GB (not sure if there's a memory leak somewhere), and then sbbsctrl crashed.

    I don't monitor my BBS closely all the time, but I think this happens on a regular basis. I have a program set up in the Windows task scheduler every 10 minutes to check and see if sbbsctrl.exe is running and will re-run it if it's not running. Normally I keep sbbsctrl maximized on my screen, and occasionally I'll check it and the sbbsctrl GUI is in its default state (the titlebar button shows it's not fully maximized, and the Services tab will be selected; I normally have the "FTP Server" tab selected).

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)