Close all open connections without delay

Norman Maurer norman at apache.org
Mon Jun 7 01:44:16 EDT 2010


Hi Trustin,

I just filled a Bugreport. I can reproduce it with a really small java
class. See

https://jira.jboss.org/browse/NETTY-324

Thx,
Norman


2010/6/7 "Trustin Lee (이희승)" <trustin at gmail.com>:
> Hi Norman,
>
> That is weird.  When you call ChannelGroup.close(), it merely calls
> close() on all sockets immediately.  Could you post the full thread dump
> of the application when it hangs?
>
> Thanks,
> Trustin
>
> Norman Maurer wrote:
>> Hi all,
>>
>> I need to close all open channels when shutdown the server. I tried to
>> use ChannelGroup the same way as it is descripted in javadocs. The
>> problem is when I try to "force" to close all open channels via
>> ChannelGroup.close().await...(); it hangs till I press "enter" on the
>> terminal where I simulate the client via telnet.
>>
>> Thats a problem I really need to be sure that it close asap.
>>
>> Any ideas ?
>>
>> Bye,
>> Norman
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>
> --
> what we call human nature in actuality is human habit
> http://gleamynode.net/
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>



More information about the netty-users mailing list