Still status = -902

Hi,

After fix in HTChannl.c (cleaning the desctiptors set) I still see the same
behavior: When some host closes connection - next select returns error.

There is a trace:

Net Before.. calling 458acc (request 100915e0, context 0)
Net Before.. calling 4589c0 (request 100915e0, context 0)
Check rules. for
`http://kingkong:1080/projects/Demos/fishing_reel/fishing_reel.jt'
Net Before.. calling 459988 (request 100915e0, context 0)
URL Tree.... did find `w3c-AA'
URL Node.... Realm `VisNetwork' found
Credentials. verified
Net Before.. calling 464fdc (request 100915e0, context 0)
PEP Engine.. Looking for info on
`http://kingkong:1080/projects/Demos/fishing_reel/fishing_reel.jt'
URL Tree.... did NOT find `w3c-pep'
PEP Engine.. No information
Net Before.. calling 4587c0 (request 100915e0, context 0)
Net Object.. 10060400 created with hash 199
Net Object.. starting request 100915e0 (retry=1) with net object 10060400
HTTP........ Looking for
`http://kingkong:1080/projects/Demos/fishing_reel/fishing_reel.jt'
HTTP... in HTTPEvent 
HTHost parse Looking up `kingkong:1080'
Host info... Add Net 10060400 (request 100915e0) to pipe, 1 requests made, 1
requests in pipe, 0 pending
HTHost...... No ActivateRequest callback handler registered
HTHost 1004b4a0 going to state TCP_CHANNEL.
HTHost 1004b4a0 going to state TCP_DNS.
ParseInet... as port 1080 on 10.1.1.149 with 1 homes
HTHost 1004b4a0 going to state TCP_NEED_SOCKET.
Socket...... Created 11
Net Manager. Increasing active sockets to 2, 1 persistent sockets
Socket...... Turned off Nagle's algorithm
Socket...... Non-blocking socket
Channel..... Hash value is 11
Channel..... Added 1006ba60 to list 1005bfa0
Reader...... Created reader stream 1003b6a8
Socket...... TCP send buffer size is 61440 for socket 11
Contacting kingkong
HTHost 1004b4a0 going to state TCP_NEED_CONNECT.
HTDoConnect... In TCP_NEED_CONNECT, connecting... 
HTDoConnect. WOULD BLOCK `kingkong'
Event....... Register socket 11, request 100915e0 handler 42657c type
HTEvent_CONNECT at priority 20
Event....... Registering socket for HTEvent_CONNECT
Event....... New value for MaxSock is 11
HTDoConnect... In TCP_NEED_CONNECT, connecting... 
HTHost 1004b4a0 going to state TCP_CONNECTED.
Event.. Entering HTEventList_unregister
Event....... No more events registered for socket 11
Event....... Reset MaxSock from 11 to 11
Event....... Socket 11 unregistered for HTEvent_CONNECT
HTHost 1004b4a0 connected.
StreamStack. Constructing stream stack for text/x-http to */*
Tee......... Created stream 1002f3a0 with resolver 45b640
HTTP........ Dumping request to `w3chttp.out'
HTTP........ Generating HTTP/1.x Request Headers
HTTP........ Generating General Headers
Buffer...... Flushing 10075cd0
Write Socket 232 bytes written to 11
Read Socket. WOULD BLOCK fd 11
Event....... Register socket 11, request 100915e0 handler 42657c type
HTEvent_READ at priority 20
Event....... Registering socket for HTEvent_READ
Timer....... Dispatch timer 100996f0
Host Event.. host 10096310 `skyblue' closed connection.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

skyblue was used in previous load and then I left the app for 15 minutes and
after that started a new load from host kingkong


Event.. Entering HTEventList_unregister
Event....... No more events registered for socket 10
Event....... Socket 10 unregistered for HTEvent_READ
Event.. Entering HTEventList_unregister
Event....... Couldn't find socket 10. Can't unregister type HTEvent_WRITE
Channel..... Delete 1005c8b8 with semaphore 0
Socket read. FREEING....
Socket write FREEING....
Event.. Entering HTEventList_unregister
Event....... Couldn't find socket 10. Can't unregister type 0xffff
Net Manager. Decreasing active sockets to 1, 1 persistent sockets
Channel..... Deleted 1005c8b8, socket 10
Net Manager. 1 active sockets, decreasing persistent sockets to 0
Host info... removed host 10096310 as persistent
Event Loop.. timestruct is NULL !!!!!!!!!!!!!
Event Loop.. calling select: maxfds is 11
Event Loop.. select returns -1
Event Loop.. select returned error 9
Event Loop..: Bad file number
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Here is that error again...



Event....... Dumping socket events
soc      event: pri millis  callback   param    request        timer: millis
expires ?   param   callback  
 11 
read 1002c750:  20     -1   42657c 1004b4a0 100915e0  
WWWLibTerm.. Cleaning up LIBRARY OF COMMON CODE
Net Object.. Kill ALL Net objects!!!
Interrupted!
Net Object.. Killing 10060400
HTTP... in HTTPEvent 
Error....... Add  59    Severity: 1     Parameter: `Unspecified'        Where:
`HTLoadHTTP'
HTTP Clean.. Called with status -902, net 10060400
Interrupted!
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...
Net Object.. Delete 10060400 and call AFTER filters
Host info... Remove 10060400 from pipe
Host Object. closing socket 11
Channel..... Semaphore set to 0 for channel 1006ba60
Event.. Entering HTEventList_unregister
Event....... No more events registered for socket 11
Event....... Reset MaxSock from 11 to 1
Event....... Socket 11 unregistered for HTEvent_READ
Event.. Entering HTEventList_unregister
Event....... Couldn't find socket 11. Can't unregister type HTEvent_WRITE
Channel..... Delete 1006ba60 with semaphore 0
HTTPStatus.. ABORTING...
Buffer...... ABORTING...
Socket read. FREEING....
Socket write FREEING....
Event.. Entering HTEventList_unregister
Event....... Couldn't find socket 11. Can't unregister type 0xffff
Net Manager. Decreasing active sockets to 0, 0 persistent sockets
Channel..... Deleted 1006ba60, socket 11
Host info... removed host 1004b4a0 as persistent
Net Object.. Remove object 10060400
HTNet: HTNet_delete
HTNet_executeAfterAll. Calling HTNetCall_executeAfter for locals
Net After... ENTERING  HTNetCall_executeAfter, visit No = 796
Response.... Created 10027c40
Net After... calling 41795c (request 100915e0, response 10027c40, status -902,
context 0), visit No = 796


--------------------------------------------------------------

Thanks for the help,

Olga.

Received on Monday, 18 January 1999 16:06:25 UTC