Le 17/02/16 12:44, Liu, Li (Nokia - CN/Hangzhou) a écrit :
> Hi Mina
>
> I try to use Mina to handle multiple TCP's connections
>
> But there are some connections that cannot be handled by Mina under lots of
> connections was opened as below :
> Eg, I try to open 400 TCP's connections, there are always losing 4 or 5
> connections
>
>
>
>
> [root@twslave2 test]# netstat -natp | grep 62397
> tcp 22 0 ::ffff:10.70.81.114:65534 ::ffff:10.70.81.106:62397
> ESTABLISHED -
> [root@twslave2 test]# netstat -natp | grep 62398
> tcp 22 0 ::ffff:10.70.81.114:65534 ::ffff:10.70.81.106:62398
> ESTABLISHED -
> [root@twslave2 test]# netstat -natp | grep 62399
> tcp 22 0 ::ffff:10.70.81.114:65534 ::ffff:10.70.81.106:62399
> ESTABLISHED -
> [root@twslave2 test]# netstat -natp | grep 62400
> tcp 22 0 ::ffff:10.70.81.114:65534 ::ffff:10.70.81.106:62400
> ESTABLISHED -
> [root@twslave2 test]# netstat -natp | grep 62401
> tcp 22 0 ::ffff:10.70.81.114:65534 ::ffff:10.70.81.106:62401
> ESTABLISHED -
> [root@twslave2 test]# netstat -natp | grep 62396
> tcp 0 0 ::ffff:10.70.81.114:65534 ::ffff:10.70.81.106:62396
> ESTABLISHED 12152/java
> [root@twslave2 test]#
>
> Can you tell me why?
>
>
ulimit ?