• SBBS crashing, where to look?

    From poindexter FORTRAN@VERT/REALITY to All on Saturday, August 19, 2017 18:16:15
    I'm running SBBS 3.17a on Windows, been stable for some time. Over the past few days, SBBS has been crashing with errors relating to javascript. I tried grabbing SBBS_RUN.zip, SBBS_DEV.zip, and restarting, to no avail.

    The following errors were logged before SBBS crashed. No error dialog box saying that SBBS encountered an error, just no BBS.

    Also, does anyone know the name of that app that checks to see if SBBS is running and if not, restarts it?



    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1752 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1752 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1812 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1812 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 2452 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 2452 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1916 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1916 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:13 pm realitycheckbbs.org
    Node 1 !JavaScript Initialization FAILURE

    Sat Aug 19 2017 05:14 pm realitycheckbbs.org
    web 1848 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:14 pm realitycheckbbs.org
    web 1848 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:14 pm realitycheckbbs.org
    web 2188 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:14 pm realitycheckbbs.org
    web 2188 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    Node 1 !JavaScript Initialization FAILURE

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    Node 1 !ERROR 2 (No such file or directory) (WinError 2) in exec.cpp line 587 (sbbs_t::js_execfile) checking "JavaScript support" access=0

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    Node 1 !ERROR 13 (Permission denied) (WinError 0) in exec.cpp line 588 (sbbs_t::js_execfile) executing "logindd" access=0

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    web 1936 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    web 1936 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    web 2492 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    web 2492 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    web 1752 !ERROR initializing JavaScript context

    Sat Aug 19 2017 05:15 pm realitycheckbbs.org
    web 1752 !ERROR setting up JavaScript support

    Sat Aug 19 2017 05:16 pm realitycheckbbs.org
    Node 1 !JavaScript Initialization FAILURE

    Sat Aug 19 2017 05:16 pm realitycheckbbs.org
    Node 2 !JavaScript Initialization FAILURE

    ---
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org
  • From Digital Man@VERT to poindexter FORTRAN on Sunday, August 20, 2017 15:42:34
    Re: SBBS crashing, where to look?
    By: poindexter FORTRAN to All on Sat Aug 19 2017 06:16 pm

    I'm running SBBS 3.17a on Windows, been stable for some time. Over the past few days, SBBS has been crashing with errors relating to javascript. I tried grabbing SBBS_RUN.zip, SBBS_DEV.zip, and restarting, to no avail.

    The following errors were logged before SBBS crashed. No error dialog box saying that SBBS encountered an error, just no BBS.

    Also, does anyone know the name of that app that checks to see if SBBS is running and if not, restarts it?



    Sat Aug 19 2017 05:10 pm realitycheckbbs.org
    web 1752 !ERROR initializing JavaScript context

    What are the JavaScript settings in your ctrl/sbbs.ini file set to?
    Is it possible you're running low on memory?

    digital man

    Synchronet/BBS Terminology Definition #27:
    HTTP = Hypertext Transfer Protocol
    Norco, CA WX: 82.1øF, 53.0% humidity, 11 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From poindexter FORTRAN@VERT/REALITY to Digital Man on Sunday, August 20, 2017 17:10:36
    Re: SBBS crashing, where to look?
    By: Digital Man to poindexter FORTRAN on Sun Aug 20 2017 03:42 pm

    What are the JavaScript settings in your ctrl/sbbs.ini file set to?
    Is it possible you're running low on memory?

    My settings look pretty default -- I've got a Windows XP system with 2 GB of RAM, and 600 MB used.

    ; JavaScript values can be specified here *and* in server-specific sections
    ; JavaScript values specified in server-specific sections will over-ride the global values
    ; Maximum allocation of memory per JS run-time:
    JavaScriptMaxBytes=
    ; Maximum stack size per JS context:
    JavaScriptContextStack=
    ; Maximum stack size per JS stack:
    JavaScriptThreadStack=
    ; Maximum number of loops (branch callbacks) before auto-termination of script:
    JavaScriptBranchLimit=
    ; Garbage Collection interval (in branch callbacks):
    JavaScriptGcInterval=
    ; Time-slice yield interval (in branch callbacks):
    JavaScriptYieldInterval=

    ---
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org
  • From Digital Man@VERT to poindexter FORTRAN on Sunday, August 20, 2017 23:44:58
    Re: SBBS crashing, where to look?
    By: poindexter FORTRAN to Digital Man on Sun Aug 20 2017 05:10 pm

    Re: SBBS crashing, where to look?
    By: Digital Man to poindexter FORTRAN on Sun Aug 20 2017 03:42 pm

    What are the JavaScript settings in your ctrl/sbbs.ini file set to?
    Is it possible you're running low on memory?

    My settings look pretty default -- I've got a Windows XP system with 2 GB of RAM, and 600 MB used.

    ; JavaScript values can be specified here *and* in server-specific sections
    ; JavaScript values specified in server-specific sections will over-ride the global values
    ; Maximum allocation of memory per JS run-time:
    JavaScriptMaxBytes=
    ; Maximum stack size per JS context:
    JavaScriptContextStack=
    ; Maximum stack size per JS stack:
    JavaScriptThreadStack=
    ; Maximum number of loops (branch callbacks) before auto-termination of script:
    JavaScriptBranchLimit=
    ; Garbage Collection interval (in branch callbacks):
    JavaScriptGcInterval=
    ; Time-slice yield interval (in branch callbacks):
    JavaScriptYieldInterval=

    With no values specified? That's odd. The default sbbs.ini looks like this:

    JavaScriptMaxBytes = 8M
    JavaScriptContextStack = 16K

    Those are the values that tweaking could cause the JS runtime to fail to init (or not). Try playing with them. Also, you have plenty of virtual memory (in the form of free disk space) available too?

    digital man

    Synchronet "Real Fact" #56:
    Synchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006).
    Norco, CA WX: 62.8øF, 88.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From poindexter FORTRAN@VERT/REALITY to Digital Man on Tuesday, August 22, 2017 08:18:40
    Re: SBBS crashing, where to look?
    By: Digital Man to poindexter FORTRAN on Sun Aug 20 2017 11:44 pm

    With no values specified? That's odd. The default sbbs.ini looks like this:

    JavaScriptMaxBytes = 8M
    JavaScriptContextStack = 16K

    I'll set those - thanks!

    Those are the values that tweaking could cause the JS runtime to fail to init (or not). Try playing with them. Also, you have plenty of virtual memory (in the form of free disk space) available too?

    I've got lots of VM and lots of physical memory available. I think it might have been a combination of ecweb4 and a web spider possibly exacerbating a JS issue -- I tried disabling services, then upgrading CoA and ecwebv4 and haven't had a crash yet -- fingers crossed.

    Thanks for checking back.

    --pF

    ---
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org