Subj : Binkd 1.1a77 binaries for Win32, Win64, OS/2 To : Pavel Gulchouck From : Michiel van der Vlist Date : Thu Jan 28 2016 09:53 pm Hello Pavel, On Thursday January 28 2016 16:59, you wrote to me: PG> Now I built linux multithread binkd version, started it on my node and PG> with -C switch and touch config every 5 minutes. 2 days running - no PG> errors. :-( So it is problems with the windows version... PG> Could you please show binkd logs (as detailed as you have) before the PG> crash? + 25 Jan 21:28:48 [2664] binkd.cfg changed! + 25 Jan 21:28:48 [2664] Reloading configuration... - 25 Jan 21:28:48 [2664] servmgr listen on *:24554 25 Jan 21:29:00 [3932] previous config is no longer in use, unloading - 25 Jan 21:30:13 [2664] incoming from 2001:4800:7810:512:be76:4eff:fe04:406b (44779) + 25 Jan 21:30:13 [2228] incoming session with 2001:4800:7810:512:be76:4eff:fe04:406b - 25 Jan 21:30:13 [2228] SYS The Lounge - 25 Jan 21:30:13 [2228] ZYZ egon - 25 Jan 21:30:13 [2228] LOC San Francisco CA - 25 Jan 21:30:13 [2228] NDL 1M,TCP,BINKP - 25 Jan 21:30:13 [2228] TIME Mon, 25 Jan 2016 20:30:07 +0000 - 25 Jan 21:30:13 [2228] VER binkd/1.1a-75/Linux binkp/1.1 + 25 Jan 21:30:13 [2228] addr: 1:218/401@fidonet - 25 Jan 21:30:14 [2228] OPT NDA EXTCMD CRYPT GZ BZ2 + 25 Jan 21:30:14 [2228] Remote supports asymmetric ND mode + 25 Jan 21:30:14 [2228] Remote supports EXTCMD mode + 25 Jan 21:30:14 [2228] Remote requests CRYPT mode + 25 Jan 21:30:14 [2228] Remote supports GZ mode + 25 Jan 21:30:14 [2228] pwd protected session (MD5) - 25 Jan 21:30:14 [2228] session in CRYPT mode + 25 Jan 21:30:14 [2228] done (from 1:218/401@fidonet, OK, S/R: 0/0 (0/0 bytes)) 25 Jan 21:30:14 [2228] session closed, quitting... - 25 Jan 21:30:14 [2664] incoming from 85.176.242.18 (61195) + 25 Jan 21:30:14 [2448] incoming session with 85.176.242.18 - 25 Jan 21:30:14 [2448] SYS DatenBahn BBS BinkD IP Line 8/9/10 - 25 Jan 21:30:14 [2448] ZYZ Torsten_ - 25 Jan 21:30:14 [2448] LOC Germany - 25 Jan 21:30:14 [2448] NDL 16000,1024,TCP,BINKP - 25 Jan 21:30:14 [2448] TIME Mon, 25 Jan 2016 21:30:07 +0100 - 25 Jan 21:30:14 [2448] VER binkd/1.1a-72/OS2 binkp/1.1 + 25 Jan 21:30:14 [2448] addr: 2:240/5832@fidonet + 25 Jan 21:30:14 [2448] addr: 2:240/5833@fidonet + 25 Jan 21:30:14 [2448] addr: 2:240/5834@fidonet + 25 Jan 21:30:14 [2448] addr: 2:240/1@fidonet + 25 Jan 21:30:14 [2448] addr: 2:240/3@fidonet + 25 Jan 21:30:14 [2448] addr: 2:240/0@fidonet + 25 Jan 21:30:15 [2448] addr: 2:24/0@fidonet + 25 Jan 21:30:15 [2448] addr: 21:493/1700@zone21 (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 21:493/1701@zone21 (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 39:17/0@amiganet (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 39:17/1@amiganet (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 39:17/170@amiganet (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 39:17/5832@amiganet (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 39:17/5833@amiganet (n/a or busy) + 25 Jan 21:30:15 [2448] addr: 39:17/5834@amiganet (n/a or busy) 25 Jan 21:36:18 [3528] BEGIN standalone, binkd/1.1a-88/Win32 binkd.cfg 25 Jan 21:36:18 [3528] servmgr started 25 Jan 21:36:18 [708] clientmgr started - 25 Jan 21:36:18 [3528] servmgr listen on *:24554 Sorry this is all I have. At 21:30:15 it just exits. No error message in the log. PG> And do you have "exec" parameters in binkd config? If yes, it's PG> possible that listen socket inherited by executed external utility, PG> then binkd reopen the socket on config reload, and cannot bind listen PG> socket because it's "already in use". Problem with socket inheritance PG> described here: PG> http://stackoverflow.com/questions/12058911/can-tcp-socket-handles-be- PG> set-not-inheritable AFAIU it's possible to workaround by PG> DuplicateHandle() and set "noinherit" attribute, but it's not easy to PG> test it in binkd. Yes, I have to exec statements in my config: exec "!d:\\fido\\allfix\\allfix.exe RP -SRIF *S" *.REQ exec d:\\fido\\batch\\mailrcvd.bat * It would surpise me if the socket problem plays a role here. No programs that use sockets are called. Just the tosser, the file processor, some nodelist processing. nothing that acesses the TP stack. Cheers, Michiel --- GoldED+/W32-MSVC 1.1.5-b20130111 * Origin: http://www.vlist.eu (2:280/5555) .