• binkit timeouts/hanging

    From Dumas Walker@VERT/CAPCITY2 to All on Friday, November 02, 2018 19:34:29
    I am still having (or started having again) issues with binkit hanging during outbound sessions. I have a crontab script event that calls binkit every few hours by running this single command:

    touch /sbbs/data/binkit.now

    That has been working without issue for months. Just recently, I have noticed that binkit has been hung on the system. I notice it because QWK mail sessions (users and nodes) come in, sit about 5 minutes, and then timeout without creating a QWK *OR* they upload a REP which does not unpack.

    If I 'Q'uit synchronet and start it up again, I will see a BINKIT error flash by when it is going down, and will see the REP(s) uppack when I am bringing it back up.

    This is under linux, BTW.

    Here is some log output. Note that the BINKIT session in question was started at 1600 local time, so it sat that long until I hit 'Q' and it spat out these messages (there was no error when everything stopped at 1600):

    11/2 18:51:15 srvc 0040 BinkIT closing socket 0.0.0.0 port 24554
    11/2 18:51:15 srvc 0041 BinkIT closing socket :: port 24554
    11/2 18:51:15 srvc #### Services thread terminated (222 clients served)
    11/2 18:51:15 evnt BINKIT Failed to receive the whole file '/sbbs/temp/event/0000ffb5.sa0'.
    11/2 18:51:15 evnt BINKIT Sending M_ERR command args: Forced Shutdown
    11/2 18:51:15 term Waiting for events thread to terminate...
    11/2 18:51:15 evnt BINKIT Attempting poll for node 314:314/0@pinet
    11/2 18:51:15 evnt BINKIT JSBinkP/1.111 callout to 314:314/0@pinet started
    11/2 18:51:15 evnt BINKIT Connecting to necrobbs.strangled.net:24556
    11/2 18:51:16 evnt BINKIT Sending M_ERR command args: MD5 Required
    11/2 18:51:16 evnt BINKIT !JavaScript /sbbs/exec/binkit.js line 255: TypeError: bp.remote_addrs is undefined
    11/2 18:51:16 evnt Timed event: BINKIT returned 0

    That 1600 session quit reporting any progress about 1602. Shortly after that, a QWK network "call" came in, which was apparently successful in generating a QWK packet. The QWK network calls that were unsuccessful came later.

    Shortly after I restarted synchronet, the next scheduled binkit session ran at 1900. It also stopped reporting any progress at about 1902.

    For what it is worth, when bikit used to run without issue, it would usually be done in under 2 minutes. It does not appear to be consistent as to which session it hangs during, although by law of averages it is usually with a mystic system.

    I checked my sbbsecho.ini and there do not appear to be any rogue entries at the bottom as there were the last time I had any issues with binkit connections. I did see these entries, which look a little weird to me:

    BsyTimeout = 12H
    BsoLockDelay = 10S
    BsoLockAttempts = 60
    MaxEchomailAge = 60D
    MaxNetmailAge = 0S

    Should those entries be a mix of alpha and numeric characters?

    Version info, from the binkit.js file:

    // $Id: binkit.js,v 2.10 2018/09/08 19:37:54 rswindell Exp $

    Thanks!

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Digital Man@VERT to Dumas Walker on Friday, November 02, 2018 23:56:28
    Re: binkit timeouts/hanging
    By: Dumas Walker to All on Fri Nov 02 2018 07:34 pm

    I am still having (or started having again) issues with binkit hanging during outbound sessions. I have a crontab script event that calls binkit every few hours by running this single command:

    touch /sbbs/data/binkit.now

    That has been working without issue for months. Just recently, I have noticed that binkit has been hung on the system. I notice it because QWK mail sessions (users and nodes) come in, sit about 5 minutes, and then timeout without creating a QWK *OR* they upload a REP which does not unpack.

    If I 'Q'uit synchronet and start it up again, I will see a BINKIT error flash by when it is going down, and will see the REP(s) uppack when I am bringing it back up.

    This is under linux, BTW.

    Here is some log output. Note that the BINKIT session in question was started at 1600 local time, so it sat that long until I hit 'Q' and it spat out these messages (there was no error when everything stopped at 1600):

    11/2 18:51:15 srvc 0040 BinkIT closing socket 0.0.0.0 port 24554
    11/2 18:51:15 srvc 0041 BinkIT closing socket :: port 24554
    11/2 18:51:15 srvc #### Services thread terminated (222 clients served)
    11/2 18:51:15 evnt BINKIT Failed to receive the whole file '/sbbs/temp/event/0000ffb5.sa0'.

    Looks like it was attempting to receive a file and went into some kind of blocking poll/select or receive without timeout.

    I checked my sbbsecho.ini and there do not appear to be any rogue entries at the bottom as there were the last time I had any issues with binkit connections. I did see these entries, which look a little weird to me:

    BsyTimeout = 12H
    BsoLockDelay = 10S
    BsoLockAttempts = 60
    MaxEchomailAge = 60D
    MaxNetmailAge = 0S

    Those looks correct.

    Should those entries be a mix of alpha and numeric characters?

    Yes (H for hours, S for seconds, D for days).

    digital man

    This Is Spinal Tap quote #34:
    We'd love to stand around and chat, but we've gotta sit down in the lobby Norco, CA WX: 69.0øF, 41.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Saturday, November 03, 2018 19:16:00
    Here is some log output. Note that the BINKIT session in question was started at 1600 local time, so it sat that long until I hit 'Q' and it spat
    out these messages (there was no error when everything stopped at 1600):

    11/2 18:51:15 srvc 0040 BinkIT closing socket 0.0.0.0 port 24554
    11/2 18:51:15 srvc 0041 BinkIT closing socket :: port 24554
    11/2 18:51:15 srvc #### Services thread terminated (222 clients served) 11/2 18:51:15 evnt BINKIT Failed to receive the whole file '/sbbs/temp/event/0000ffb5.sa0'.

    Looks like it was attempting to receive a file and went into some kind of blocking poll/select or receive without timeout.

    Yeah, except it waited nearly 3 hours to do so, and only did so when I hit
    Q to stop synchronet. I don't think it is supposed to do that, is it?

    ---
    þ SLMR 2.1a þ "We use language??" - Beavis
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Digital Man@VERT to Dumas Walker on Saturday, November 03, 2018 23:44:47
    Re: binkit timeouts/hanging
    By: Dumas Walker to DIGITAL MAN on Sat Nov 03 2018 07:16 pm

    Looks like it was attempting to receive a file and went into some kind of blocking poll/select or receive without timeout.

    Yeah, except it waited nearly 3 hours to do so, and only did so when I hit
    Q to stop synchronet. I don't think it is supposed to do that, is it?

    No, I wasn't trying to suggest it should be doing that.

    digital man

    Synchronet/BBS Terminology Definition #68:
    XJS = External JavaScript
    Norco, CA WX: 70.8øF, 40.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Dumas Walker on Saturday, November 03, 2018 23:51:45
    Re: binkit timeouts/hanging
    By: Digital Man to Dumas Walker on Sat Nov 03 2018 11:44 pm

    Re: binkit timeouts/hanging
    By: Dumas Walker to DIGITAL MAN on Sat Nov 03 2018 07:16 pm

    Looks like it was attempting to receive a file and went into some kind of blocking poll/select or receive without timeout.

    Yeah, except it waited nearly 3 hours to do so, and only did so when I hit
    Q to stop synchronet. I don't think it is supposed to do that, is it?

    No, I wasn't trying to suggest it should be doing that.

    And you can file a bug report with the author (Deuce) here: https://github.com/RealDeuce/cvs-synchronet-exec/issues

    digital man

    Synchronet "Real Fact" #37:
    Synchronet's Windows Control Panel is built with Borland C++ Builder.
    Norco, CA WX: 70.4øF, 41.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Sunday, November 04, 2018 09:13:00
    Looks like it was attempting to receive a file and went into some kind of >> > blocking poll/select or receive without timeout.

    Yeah, except it waited nearly 3 hours to do so, and only did so when I hit >> Q to stop synchronet. I don't think it is supposed to do that, is it?

    No, I wasn't trying to suggest it should be doing that.

    Sorry, I didn't figure as much. :) I guess where I was going with that was wondering if there was something I should do to (help) fix it?

    ---
    þ SLMR 2.1a þ "Don't touch me...I'll wound your inner child!" - Beavis
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Sunday, November 04, 2018 10:02:00
    And you can file a bug report with the author (Deuce) here: https://github.com/RealDeuce/cvs-synchronet-exec/issues

    It was a real pain getting an account set up... I seemed to get stuck in an endless "verify your email account" loop, but it is posted now.

    Any chance you can nudge him into reading the bbs echoes that support the software he works on?

    ---
    þ SLMR 2.1a þ Keep your stick on the ice
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Digital Man@VERT to Dumas Walker on Sunday, November 04, 2018 11:14:34
    Re: binkit timeouts/hanging
    By: Dumas Walker to DIGITAL MAN on Sun Nov 04 2018 10:02 am

    And you can file a bug report with the author (Deuce) here: https://github.com/RealDeuce/cvs-synchronet-exec/issues

    It was a real pain getting an account set up... I seemed to get stuck in an endless "verify your email account" loop, but it is posted now.

    Any chance you can nudge him into reading the bbs echoes that support the software he works on?

    I've tried. You can find him idling on irc.synchro.net as well, but I think he's pretty busy with home improvements right now.

    digital man

    Synchronet/BBS Terminology Definition #1:
    ANSI = American National Standards Institute
    Norco, CA WX: 77.8øF, 27.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net