On 12/11/11 10:44 PM, antares wrote:
Hi,
i am using mina 2.0.4 and to close connections i use session.close(true)
but with 15 player i have
over 650 connectsion ESTABILISCHED on my port 9010
root@ns222281:~/server# netstat -ant | grep 9010 | grep ESTABLISHED | wc -l
649
this java version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
on this system:
Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64
i start the server with these commands:
java -server -Xms512m -Xmx512m -Xss128k -XX:+AggressiveOpts
-XX:+UseParallelGC -XX:+UseBiasedLocking -XX:NewSize=64m -jar ./obpkr.jar&
anyone can help me ?
Check that your session are really closed, handling the sessionClose
event. If you never receive this even, that means the session is never
closed. You should also add some logs (or the log filter) to see if the
session.close() is really called.
It's likely to be a bug in your application...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com