Bugs item #1774887, was opened at 2007-08-16 03:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1774887&group_id=132078

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tpserver-cpp
Group: Bug - Protocol
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Ansell (mithro)
Assigned to: Lee Begg (llnz)
Summary: tpserver-cpp after 'Conn reset by peer' consumes 100% cpu

Initial Comment:
This bug seems to be related to 
https://sourceforge.net/tracker/index.php?func=detail&aid=1762670&group_id=132078&atid=723099

If select is saying there is data on the socket and a read returns zero, then 
the socket is borked and you should close it down.

tpserver-cpp> ^M2007-08-16 03:02:25ESC[31;1m < Error > ESC[0munderlying write, 
tcp, error is: Connection reset by peer
tpserver-cpp> ^M2007-08-16 03:02:25ESC[31;1m < Error > ESC[0mSocket error 
writing
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mRead an extra 0 bytes from 
the socket, into buffer of 1024
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mFinished Processing
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mAbout to Process
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mStage1 : pre-connect
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mRead an extra 0 bytes from 
the socket, into buffer of 1024
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mFinished Processing
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mAbout to Process
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mStage1 : pre-connect
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mRead an extra 0 bytes from 
the socket, into buffer of 1024
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mFinished Processing
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mAbout to Process
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mStage1 : pre-connect
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mRead an extra 0 bytes from 
the socket, into buffer of 1024
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mFinished Processing
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mAbout to Process
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mStage1 : pre-connect
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mRead an extra 0 bytes from 
the socket, into buffer of 1024
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mFinished Processing
tpserver-cpp> ^M2007-08-16 03:02:25 < Debug > ESC[0mAbout to Process


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=723099&aid=1774887&group_id=132078
_______________________________________________
tp-bugs mailing list
[email protected]
http://mail.thousandparsec.net/cgi-bin/mailman/listinfo/tp-bugs

Reply via email to