Increasing file handle counts might not be a MINA problem.

Try running a stop-the-world GC occasionally and see if your file handle count 
drops as a result.

Be sure to test this on current 1.5 and 1.6 JVM's. My team has observed file 
handle leaks on Linux using a 3rd party JVM and IIRC this may have been present 
on many earlier Java 6 releases.

After you've tested this yourself if you are interested in the details respond 
privately with what Linux & VM version you're using and I'll do what I can to 
share our case information.

-karl

> -----Original Message-----
> From: Maziyar Eslamieh [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 12, 2008 1:23 AM
> To: [email protected]
> Subject: Re: java.net.SocketException: Too many files open in MINA2
>
>
> Thank you,
> I did it ,but why did the number of opened files(socket) of MINA2 reach to
> 1690 ?
> lsof |grep 6173|wc -l
>   1690
> Will this count increases during the next couple of month while server
> is up?
> I set anything (with ulimit -n) ,could you please tell me, may the count
> of opened files get over from the value that I set now?

Reply via email to