Article delegate-en/1837 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1836@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Win2k Server: FATAL: inherited handle [0] NNN is not socket
22 Aug 2002 01:39:02 GMT feedback@delegate.org (Yutaka Sato)


Hi,

On 08/22/02(06:28) you p74dabdyi-t6uzp53jrj3r.ml@ml.delegate.org wrote
in <_A1836@delegate-en.ML_>
 |I got the following w/version H.  Hopefully you'll find something useful in
 |there!
...
 |(WIN) 21:00 [2328] INHERIT: 1056->580 (close_source=0,1056/50)
...
 |(WIN) 21:00 [1280] [0] PPID=2328/600 CLSOCK=[1056->580]
 |(WIN) 21:00 [1280] [0] inheritSOCK -- closesocket(1056) 0,0
 |(WIN) 21:00 [1280] FATAL: inherited handle[0] 580 is not socket (10038)

Thank you for your testing.  It looks like to show the possibility
that no socket is inherited to the child process.  To inspect the
situation more, I made another test version "K" and uploaded to here.
Could you test it in the same way?

<URL:ftp://ftp.delegate.org/pub/DeleGate/tmp/dg7910k.exe> or
<URL:ftp://www.delegate.org/pub/DeleGate/tmp/dg7910k.exe>

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

./dg7910k.exe -P9999 -f ADMIN=who@where -W3
(WIN) 24:51 [1408] setNonblockingSocket(7,1)=0
<DeleGate/8.0.0 by ysato@delegate.org> [1408] -P9999 READY
DGROOT=d:/Program Files/DeleGate
ADMIN=who@where
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science and Te
chnology (AIST)
(WIN) 24:52 [1408] setNonblockingSocket(18,1)=0
(WIN) 24:54 [1408] accept(200/9) = 596/19
(WIN) 24:54 [1392] arg[0] DeleGate
(WIN) 24:54 [1392] arg[1] 9999/0/9/-1/26/0/1/0/16/10/8/32/0/1/0//192.168.1.1:2514//0
(WIN) 24:54 [1392] arg[2] (Sticky)
(WIN) 24:54 [1392] arg[3] _startTime=1029979491
(WIN) 24:54 [1392] arg[4] _alivePeers=0
(WIN) 24:54 [1392] arg[5] LOGFILE=9999
(WIN) 24:54 [1392] arg[6] _execPath=d:\ysato\7910X\800h\dg7910k.exe
(WIN) 24:54 [1392] arg[7] -P9999
(WIN) 24:54 [1392] arg[8] -f
(WIN) 24:54 [1392] arg[9] ADMIN=who@where
(WIN) 24:54 [1392] arg[10] -W3
(WIN) 24:54 [1392] arg[11] HOSTS=localhost/127.0.0.1,i-chan/192.168.1.81
(WIN) 24:54 [1392] arg[12] -L0x20/8
(WIN) 24:54 [1392] -- WinSock Status begin --
(WIN) 24:54 [1392] Req-Version: 101
(WIN) 24:54 [1392] Req-Result: 0
(WIN) 24:54 [1392] Req-Errno: 0
(WIN) 24:54 [1392] Version: 101
(WIN) 24:54 [1392] HighVersion: 202
(WIN) 24:54 [1392] Description: WinSock 2.0
(WIN) 24:54 [1392] SystemStatus: Running
(WIN) 24:54 [1392] MaxSockets: 32767
(WIN) 24:54 [1392] MaxUdpDg: 65467
(WIN) 24:54 [1392] VenderInfo: none
(WIN) 24:54 [1392] Sockets: 144 145 146 188 189 190 200 201 202 548 549 550 560 561 562 576 577 578 588 589 590 596 597 598 604 605 606
(WIN) 24:54 [1392] -- WinSock Status end --
(WIN) 24:54 [1408] -- WinSock Status begin --
(WIN) 24:54 [1408] Req-Version: 101
(WIN) 24:54 [1408] Req-Result: 0
(WIN) 24:54 [1408] Req-Errno: 0
(WIN) 24:54 [1408] Version: 101
(WIN) 24:54 [1408] HighVersion: 202
(WIN) 24:54 [1408] Description: WinSock 2.0
(WIN) 24:54 [1408] SystemStatus: Running
(WIN) 24:54 [1392] connect(316,3243) = 0
(WIN) 24:54 [1408] MaxSockets: 32767
(WIN) 24:54 [1408] MaxUdpDg: 65467
(WIN) 24:54 [1408] VenderInfo: none
(WIN) 24:54 [1408] Sockets: 144 145 146 188 189 190 200 201 202 548 549 550 560 561 562 576 577 578 588 589 590 596 597 598 604 605 606
(WIN) 24:54 [1408] -- WinSock Status end --
(WIN) 24:54 [1408] accept(604,3243) = 700 [127.0.0.1:3244]
(WIN) 24:54 [1408] PID=1408 SELF_HANDLE=604
(WIN) 24:54 [1408] INHERIT: 596->332 (close_source=0,596/26)
(WIN) 24:54 [1408] INHERIT: 200->340 (close_source=0,200/9)
(WIN) 24:54 [1408] INHERIT: 548->352 (close_source=0,548/16)
(WIN) 24:54 [1392] inheritance recv() = 368
(WIN) 24:54 [1392] STARTUP: SPAWN_ENVIRON=3243, got[368], ppid=1408,pmode=1
(WIN) 24:54 [1392] [0] PPID=1408/356 CLSOCK=[596->332]
(WIN) 24:54 [1408] spawn() = 628, children(alive=1,total=1)
(WIN) 24:54 [1392] [0] inheritSOCK -- closesocket(596) 1,1
(WIN) 24:54 [1392] -- SOCKET 1*(332/19) opened fork()
(WIN) 24:54 [1392] PARENT=1408, PORT=3243, CLSOCK[0]=332/19:1 [192.168.1.1]
(WIN) 24:54 [1392] [1] PPID=1408/356 CLSOCK=[200->340]
(WIN) 24:54 [1392] [1] inheritSOCK -- closesocket(200) 1,1
(WIN) 24:54 [1392] -- SOCKET 1*(340/20) opened fork()
(WIN) 24:54 [1392] PARENT=1408, PORT=3243, CLSOCK[1]=340/20:1 [0.0.0.0]
(WIN) 24:54 [1392] [2] PPID=1408/356 CLSOCK=[548->352]
(WIN) 24:54 [1392] [2] inheritSOCK -- closesocket(548) 1,1
(WIN) 24:54 [1392] -- SOCKET 1*(352/21) opened fork()
(WIN) 24:54 [1392] PARENT=1408, PORT=3243, CLSOCK[2]=352/21:1 [127.0.0.1]
(WIN) 24:54 [1392] [3] PPID=1408/356 CLSOCK=[-1->-1]
(WIN) 24:54 [1392] [4] PPID=1408/356 CLSOCK=[-1->-1]
(WIN) 24:54 [1392] [5] PPID=1408/356 CLSOCK=[-1->-1]
(WIN) 24:54 [1392] [6] PPID=1408/356 CLSOCK=[-1->-1]
(WIN) 24:54 [1392] [7] PPID=1408/356 CLSOCK=[-1->-1]
(WIN) 24:54 [1392] gettimeofday(129870,0) = [1029979494,728000]

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V