Hi Trustin,
I'm also confused.I'm sure about that the ReuserAddress option is enabled
and I set reuse_addr for all individual sessions follow your advice,but It
didn't work...
Best wishes

-----邮件原件-----
发件人: Trustin Lee [mailto:[EMAIL PROTECTED] 
发送时间: 2006年7月3日 17:01
收件人: [email protected]
主题: Re: 转发: problem of MINA Server-Side on linux

Hi James,

On 6/27/06, James-Usertunnel <[EMAIL PROTECTED]> wrote:
>
> But There are something strange. There was a time we built a server on
> QuickServer framework, then after running 4 some time we use 'kill' to
> stop the server there would be no this situation, there were no
> connections
> stuck on the port the QuickServer bound


This is weird.  Could you try to run the server in a debug mode and make
sure if setReuseAddress is set properly?

Plus, could you set reuse_addr for all individual sessions?  For instance:

((SocketSessionConfig) config.getSessionConfig()).setReuseAddress(true);

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to