• binkd using CPU 100%?

    From Alpha@21:4/158 to All on Sun Jan 11 02:51:56 2026

    Noticed my BBS slowing way down, and running 'htop' shows me that 'binkd: client manager' is taking up 100% of the cpu. If I let it run long enough, it stacks up multiple duplicate processes as well. I'l running binkd from an .sh file -- from an hourly BBS event -- any idea what could cause it not to exit?

    Cheers,

    --
    ...Alpha / Robbie
    ...The Drunken Gamer BBS
    ...thedrunkengamer.com:8888
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158)
  • From Alpha@21:4/158 to Mindsurfer on Sun Jan 11 02:51:56 2026


    On 09/14/2020 4:15 pm Mindsurfer said...
    Noticed my BBS slowing way down, and running 'htop' shows me that
    'binkd: client manager' is taking up 100% of the cpu. If I let it
    run long enough, it stacks up multiple duplicate processes as well.
    I'l running binkd from an .sh file -- from an hourly BBS event --
    any idea what could cause it not to exit?

    anything in your binkd log file about it?

    this is my .sh file to poll fsxnet every xx minute via crontab

    #!/bin/sh /usr/local/sbin/binkd -c -p -q -P "21:3/100@fsxnet" /home/bbs/MagickaBBS/ftn/binkd.conf


    the log doesn't show anything odd -- binkd is closing the session and quitting. I'm using this .sh file to loop through each uplink:

    ----
    #!/bin/bash -e
    UPLINKS=("21:4/100@fsxnet" "77:1/100@scinet" "1337:3/100@tqwnet" "46:1/156@agoranet" "1:218/700@fidonet")
    for uplink in "${UPLINKS[@]}"
    do
    /usr/local/sbin/binkd -p -P $uplink /home/robbiew/enigma-bbs/misc/binkd.conf
    done
    exit 0
    ----

    Not really sure what's going on! I'll try adding those other flags and see what happens. Thanks!

    --
    ...Alpha / Robbie
    ...The Drunken Gamer BBS
    ...thedrunkengamer.com:8888
    --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158)
  • From Alpha@21:4/158 to Avon on Sun Jan 11 02:51:56 2026


    On 09/15/2020 9:18 am Avon said...
    On 14 Sep 2020 at 03:07p, Alpha pondered and said...
    Noticed my BBS slowing way down, and running 'htop' shows me
    that 'binkd: client manager' is taking up 100% of the cpu. If I let it run long enough, it stacks up multiple duplicate processes as well. I'l running binkd from an .sh file -- from an hourly BBS event -- any idea what could cause it not to exit?



    I do get issues with a not the most up to date version of BinkD for Windows were by I end up with a too many servers message and it seems to fail to toss packets etc until I close it down and restart. It happens randomly and despite efforts to resolve by playing with settings I've never managed to sort a fix for it. Thing is it's not consistent and occurs randomly over time making it harder to troubleshoot :(

    I couldn't figure it out--I compiled the latest from the source, and still kept getting those CPU spikes. So last night, I ended up transferring my BBS over to a Rpi, and used the "apt install binkd" version -- using all the same config files that I used on the Ubuntu machine -- and the problem went away!

    Enigma runs very smooth on a Pi, and now that the CPU issues are gone, even smoother! Plus, I can kill my virtual host and save $6 a month :)

    --- ENiGMA 1/2 v0.0.12-beta (linux; arm; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158)
  • From Alpha@21:4/158 to Alpha on Sun Jan 11 02:51:56 2026



    On 09/15/2020 9:34 am Alpha said...
    I couldn't figure it out--I compiled the latest from the source, and still kept getting those CPU spikes. So last night, I ended up transferring my BBS over to a Rpi, and used the "apt install binkd" version -- using all the same config files that I used on the Ubuntu machine -- and the problem went away!

    I spoke too soon. It's baaaaaack... But it happened *after* I changed my binkd.conf file to what's below--short story is, I'm having a tough time figuring out how to get outbound messages sent from anything other than my defauly network (fsxnet). When I use this conf file dir structure, mail *appears* to send from all nets--packets disappear and .try files are left behind. BUT my messages don't actually land anywhere other than fsxnet, and I get the multiple instances of biinkd stacking up in htop.

    Here's the top of the binkd.conf file that I think is the source:

    ----
    # Number @ end is the root zone
    # Enigma's outbound BASE path in config.hjson is set to '/home/robbiew/enigma-bbs/mail/ftn_out'
    domain fsxnet /home/robbiew/enigma-bbs/mail/ftn_out/outbound 21
    domain fidonet /home/robbiew/enigma-bbs/mail/ftn_out/fidonet 1
    domain scinet /home/robbiew/enigma-bbs/mail/ftn_out/scinet 77
    domain tqwnet /home/robbiew/enigma-bbs/mail/ftn_out/tqwnet 1337
    domain agoranet /home/robbiew/enigma-bbs/mail/ftn_out/agoranet 46

    ----

    When I leave off "outbound" from the other directories, packets are deposited in the directory, but packets never leave when I poll... using "ftn_out/outbound/scinet scinet" or just "ftn_out/outbound scinet" = same thing, mail doesn't send.

    Frustrating, lol. Anyone running Enigma care to share their multi-net binkd.conf?

    Thanks!!


    --- ENiGMA 1/2 v0.0.12-beta (linux; arm; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158)
  • From Mindsurfer@21:3/119 to Mindsurfer on Sun Jan 11 02:51:56 2026

    domain fidonet /mnt/ssd1/bbs/ftn/io/out 2
    domain bbsnet /mnt/ssd1/bbs/ftn/io/out 2
    domain pinet /mnt/ssd1/bbs/ftn/io/out 2
    domain amiganet /mnt/ssd1/bbs/ftn/io/out 2
    domain fsxnet /mnt/ssd1/bbs/ftn/io/out 2
    domain tqwnet /mnt/ssd1/bbs/ftn/io/out 2

    address 2:240/5411@fidonet
    address 75:49/4@bbsnet
    address 314:314/245@pinet
    address 39:170/2411@amiganet
    address 21:3/119@fsxnet

    and the in out folders will look like that.

    drwxr-xr-x 2 bbs bbs 4096 Aug 13 22:59 in
    drwxr-xr-x 2 bbs bbs 4096 Sep 16 19:04 in_sec
    drwxr-xr-x 2 bbs bbs 4096 Sep 16 19:04 in_temp
    drwxr-xr-x 3 bbs bbs 4096 Sep 16 19:03 out
    drwxr-xr-x 2 bbs bbs 4096 Sep 16 19:02 out.001
    drwxr-xr-x 3 bbs bbs 4096 Sep 16 19:09 out.015
    drwxr-xr-x 3 bbs bbs 4096 Sep 16 19:03 out.027
    drwxr-xr-x 3 bbs bbs 4096 Sep 16 19:01 out.04b
    drwxr-xr-x 3 bbs bbs 4096 Sep 16 19:02 out.13a
    drwxr-xr-x 3 bbs bbs 4096 Sep 16 19:09 out.539
    drwxr-xr-x 2 bbs bbs 4096 Sep 16 19:08 out_temp
    drwxr-xr-x 2 bbs bbs 4096 Sep 12 15:21 tic_bad

    Mindsurfer

    --- MagickaBBS v0.15alpha (Linux/armv7l)
    * Origin: FuNToPia telnet://funtopia.ddnss.eu:2023 (21:3/119)
  • From Alpha@21:4/158 to Mindsurfer on Sun Jan 11 02:51:56 2026


    On 09/16/2020 10:15 am Mindsurfer said...
    domain fidonet /mnt/ssd1/bbs/ftn/io/out 2
    domain bbsnet /mnt/ssd1/bbs/ftn/io/out 2
    domain pinet /mnt/ssd1/bbs/ftn/io/out 2
    domain amiganet /mnt/ssd1/bbs/ftn/io/out 2
    domain fsxnet /mnt/ssd1/bbs/ftn/io/out 2

    Oh, interesting. You're using the same Zone number at the end, so it all ends up in the same folder? When I use the unique Zone number for each net, binkd ends up creating seperate folders for each. I'll give this a try, thanks!

    I *think* I've gotten to the bottom of the CPU issue, my hunch is my shell pollscript wasn't exiting properly, so I've created individual event polls for each network for the time being, and it seems to have stopped...

    --- ENiGMA 1/2 v0.0.12-beta (linux; arm; 12.18.3)
    * Origin: The Drunken Gamer (21:4/158)