Hi James, On 10/20/06, 凌晨 <[EMAIL PROTECTED]> wrote:
Just yesterday I did almost the same test.Established 1000 connections per second and 20000 at all,every connetion sent small data package as soon as connected to register itself to the server(HashMap<String,Iosession>).During the whole procedure,many a former connected IoSession stored in HashMap had been closed abnormally and unexpectedly and there only no more than 200 connections remained in HashMap at last.I have been revising my codes
Please give us a few stack traces you've got during the test. If they are just regular SocketExceptions like 'connection reset', it's caused by your O/S or network device and this means we cannot fix it. You will have to adjust your O/S parameter or upgrade your hardware. 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
