Please attach a thread dump to your bug report.

On Thu, Jul 10, 2008 at 4:27 AM, Jerome Louvel <[EMAIL PROTECTED]> wrote:

>
> Hi Paul,
>
> Thanks for the details, this needs to be looked at more closely. Could you
> enter a bug report?
> http://www.restlet.org/community/issues
>
> Best regards,
> Jerome
>
>
> -----Message d'origine-----
> De : Paul J. Lucas [mailto:[EMAIL PROTECTED]
> Envoye : lundi 7 juillet 2008 19:40
> A : [email protected]
> Objet : Re: Hanging on ServerSocket.accept()
>
> On Jul 4, 2008, at 3:57 AM, Jerome Louvel wrote:
>
> > What do you mean by launching 1/10 times?
>
> I mean that the problem only manifests immediately after launch (if it
> manifests at all).  The problem never manifests if the software has
> been running OK for a while (meaning it has been servicing requests).
>
> > Do you stop and restart the application?
>
> Yes.
>
> > Do you do this using Component#start() and stop() methods ...
>
> Yes.
>
> > and differently?
>
> I don't know what you mean by that.
>
> > It is important to cleanly shutdown your server connector in order
> > to quickly release the open sockets.
>
> It's not that the server can not *bind* to the socket -- it does.
> (The problem I assume you are referring to is the SO_LINGER option on
> the socket.)
>
> It binds, listens, and does an accept -- and it hangs on the accept.
>
> > Did you looked at the list of open TCP/IP sockets under Windows? You
> > can try
> > 'netstat -n' for example.
>
> I know the socket is open and accepting because I can telnet to the
> port.  Both the telnet client and server hang.
>
> - Paul
>
>

Reply via email to