[jira] Resolved: (DIRMINA-583) NioSocketAcceptor.reuseAddress should be false by default.

2008-05-12 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-583. - Resolution: Fixed Fixed. The same problem was found in APR transport, and fixed. > NioSocketAc

[jira] Created: (DIRMINA-583) NioSocketAcceptor.reuseAddress should be false by default.

2008-05-12 Thread Trustin Lee (JIRA)
NioSocketAcceptor.reuseAddress should be false by default. -- Key: DIRMINA-583 URL: https://issues.apache.org/jira/browse/DIRMINA-583 Project: MINA Issue Type: Bug Components:

Re: A big MINA question

2008-05-12 Thread Trustin Lee
Your wish accomplished: https://issues.apache.org/jira/browse/DIRMINA-582 On Sun, 20 Apr 2008 20:21:35 +0900, Dragomir Tusevljak <[EMAIL PROTECTED]> wrote: Hi Trustin. This would work for sure. I think acceptor should be treated more as the application object in servlet architecture where

[jira] Resolved: (DIRMINA-582) IoService.getManagedSession() should return a Map instead of a Set.

2008-05-12 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-582. - Resolution: Fixed Done. The change is trivial, but it will cause some compilation errors on the

[jira] Created: (DIRMINA-582) IoService.getManagedSession() should return a Map instead of a Set.

2008-05-12 Thread Trustin Lee (JIRA)
IoService.getManagedSession() should return a Map instead of a Set. --- Key: DIRMINA-582 URL: https://issues.apache.org/jira/browse/DIRMINA-582 Project: MINA Issue Type: Improve

[jira] Commented: (DIRMINA-580) Session Idle times out when SSL is enabled

2008-05-12 Thread janardhanan vembunarayanan (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596190#action_12596190 ] janardhanan vembunarayanan commented on DIRMINA-580: The better way to

RE: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Outside - Karl's ACM
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

Re: Problems Using apr-transport

2008-05-12 Thread David M. Lloyd
I've only played with APR a little bit, but in my experiments I've found it to be unstable in JDK6 thus far. JDK5 seems OK though. - DML On 05/12/2008 02:57 PM, Geoff Cadien wrote: Wondering if anyone else is successfully using MINA+APR. I just tried testing with the echoserver example (jus

Problems Using apr-transport

2008-05-12 Thread Geoff Cadien
Wondering if anyone else is successfully using MINA+APR. I just tried testing with the echoserver example (just replaced NioSocketAcceptor with AprSocketAcceptor) and the VM crashes when making more than a couple concurrent connections. I'm hoping I've simply done something stupid and someone wit

[jira] Commented: (DIRMINA-580) Session Idle times out when SSL is enabled

2008-05-12 Thread Kyle Sampson (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596168#action_12596168 ] Kyle Sampson commented on DIRMINA-580: -- I had a similar issue discussed here: http:

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Niklas Gustavsson
On Mon, May 12, 2008 at 4:31 PM, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: > Depending on the Unix you are running on, you can change it dynamically > without recompiling the kernel, AFAIK. I just added a FAQ to FtpServer (as we tend to get this question a lot) with some information on how to

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Emmanuel Lecharny
이희승 (Trustin Lee) wrote: In Windows, you can change it in the registry. In Linux, you have to recompiile your kernel AFAIK. Depending on the Unix you are running on, you can change it dynamically without recompiling the kernel, AFAIK. -- -- cordialement, regards, Emmanuel Lécharny www.iktek.c

Re: org.apache.asyncweb:asyncweb-client:jar:1.0-SNAPSHOT

2008-05-12 Thread Trustin Lee
I thought the URL was http://people.apache.org/repo/m2-snapshot-repository? You can simply run mvn deploy. You should have no problem if you belong to apcvs group. Before deploying, please make sure all deployed files have proper group permission (i.e. writeable by apcvs) HTH, On Sun, 1

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Trustin Lee
In Windows, you can change it in the registry. In Linux, you have to recompiile your kernel AFAIK. On Mon, 12 May 2008 20:19:52 +0900, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote: Maziyar Eslamieh wrote: Thanks How many socket is opened in MINA2? As much as you have clients opening sockets

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Emmanuel Lecharny
Maziyar Eslamieh wrote: Thanks How many socket is opened in MINA2? As much as you have clients opening sockets... and why do i have 1690 opened socket hear? Are you expecting 1691 opened sockets ??? As I don't know what your clients are doing, don't think I can tell you why you have that m

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Maziyar Eslamieh
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

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Emmanuel Lecharny
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 chan

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Maziyar Eslamieh
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 f

Re: java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Emmanuel Lecharny
Maziyar Eslamieh wrote: Hi I use from mina-2.0.0-M1 in my server and throw this exception(java.net.SocketException: Too many files open) after one day. why? and what should i do ? Increase the ulimit system parameter. Likely to be limited to 1024 by default. _

java.net.SocketException: Too many files open in MINA2

2008-05-12 Thread Maziyar Eslamieh
Hi I use from mina-2.0.0-M1 in my server and throw this exception(java.net.SocketException: Too many files open) after one day. why? and what should i do ? Be a better friend, newshound, and know-it-a