Thanks How many socket is opened in MINA2? and why do i have 1690 opened socket hear? Where do i set tcp_time_wait parameter in MINA2?
--- On Mon, 5/12/08, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: > From: Emmanuel Lecharny <[EMAIL PROTECTED]> > Subject: Re: java.net.SocketException: Too many files open in MINA2 > To: [email protected] > Date: Monday, May 12, 2008, 1:57 PM > Maziyar Eslamieh wrote: > > Thank you, > > I did it ,but why did the number of opened > files(socket) of MINA2 reach to 1690 ? > > > Because on Linux, a socket is counted as an open file. > Socket remains > open or waiting for being close for a certain time, > depending on your > system configuration. You can change this by modifying the > tcp_time_wait > parameter, to lower the terminaison time. > > -- > -- > cordialement, regards, > Emmanuel Lécharny > www.iktek.com > directory.apache.org ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
