[ grinder-Bugs-3521073 ] CLOSE_WAIT sockets on agent kill

SourceForge.net <[email protected]> Tue, 18 Sep 2012 14:56:48 -0700
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
Bugs item #3521073, was opened at 2012-04-24 07:17
Message generated for change (Settings changed) made by philipa
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3521073&group_id=18598

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: Console
Group: None
>Status: Closed
Resolution: Fixed
Priority: 3
Private: No
Submitted By: https://me.yahoo.com/a/epX1.5Ny ()
Assigned to: Philip Aston (philipa)
Summary: CLOSE_WAIT sockets on agent kill

Initial Comment:
grinder console not closing the agent tcp connections when agent got killed. 

steps to reproduce: 
1) Start Console and Agent :  You can see 2 TCP ESTABLISHED  on netstat output 
2) Kill the agent:   ESTABLISHED TCP Connections changes to CLOSE_WAIT.  

 

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

Comment By: Philip Aston (philipa)
Date: 2012-05-11 05:10

Message:
Fixed for next release:
http://grinder.git.sourceforge.net/git/gitweb.cgi?p=grinder/grinder;a=commitdiff;h=b342deee9f47f14cca1f99fd2e8fedeadc213293

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

Comment By: Philip Aston (philipa)
Date: 2012-05-07 10:06

Message:
This occurs if the agent is killed, rather than being gracefully shutdown
via the console. 

Its not easy to detect this peer gone situation in Java without doing a
blocking read, or sending data to the socket

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3521073&group_id=18598

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/