Re: How to increase MINA application performance

2008-01-14 Thread Maarten Bosteels
Nikfarjam, If your system has 2Gb of RAM, why are you only assigning 512M of it to the JVM ? Maarten On Jan 14, 2008 8:59 AM, Nikfarjam [EMAIL PROTECTED] wrote: Dear Mr Lécharny Thanks for guidance. Our project is producing a gateway with payload 256 byte avg 2000 msg/s with limited

How to increase MINA application performance

2008-01-14 Thread Nikfarjam
Dear Mr Lécharny Thanks for guidance. Our project is producing a gateway with payload 256 byte avg 2000 msg/s with limited clients (less than 10) Reliability and performance are two key factors for us. The machine that we used for running our application had these specifications: - CPU

can anyone do me a favour

2008-01-14 Thread 张园
My dear friends, I got a question when I read the source code,how is the SocketIoProcessor class dealing the situation that the buf is smaller than the data expected in the SocketChannel? sorry for my poor English. Source code in the SocketIoProcessor class private void

Re: How to increase MINA application performance

2008-01-14 Thread Emmanuel Lecharny
Nikfarjam wrote: Dear Mr Lécharny Thanks for guidance. Our project is producing a gateway with payload 256 byte avg 2000 msg/s with limited clients (less than 10) Reliability and performance are two key factors for us. The machine that we used for running our application had these

Apache MINA Board Report, January 2008

2008-01-14 Thread Trustin Lee
Here's the January 2008 board report for the Apache MINA project. (http://mina.apache.org) Releases We cut four minor releases: 1.0.7, 1.0.8, 1.1.4 and 1.1.5. The new releases contain backward-compatible minor improvements and bug fixes. Community = FtpServer project has been

Re: Apache MINA Board Report, January 2008

2008-01-14 Thread Emmanuel Lecharny
Hi Trustin ! Trustin Lee wrote: Jeff Genender, a member of the foundation and a MINA enthusiast, joined the MINA PMC. So far, he is just one of our committer :) -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org

Re: WriteFuture clarification

2008-01-14 Thread Mark
I am using netcat in cygwin. I will continue to look into this. Maybe some others on the list have ideas... On Jan 12, 2008 4:07 AM, Luis Neves [EMAIL PROTECTED] wrote: Hello, Mark wrote: This is my output: Listening on port 1234 Session Opened Time for write:31 ms Time for

Re: WriteFuture clarification

2008-01-14 Thread Luis Neves
Emmanuel Lecharny wrote: Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an error while executing

Re: WriteFuture clarification

2008-01-14 Thread Emmanuel Lecharny
Luis Neves wrote: Emmanuel Lecharny wrote: Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an

Re: WriteFuture clarification

2008-01-14 Thread Emmanuel Lecharny
Luis Neves wrote: Emmanuel Lecharny wrote: Luis Filipe dos Santos Neves wrote: Mark wrote: Does not sound like it is working as planned. Do you have a test program that demonstrates this behavior? Yes. You can test the code below using netcat: nc -i 5 localhost 1234 I get an

Re: Moving over FtpServer

2008-01-14 Thread Niklas Gustavsson
Mark wrote: I realized that I have to build each subproject separately (I really need to get some sleep). I was able to get the core working, but I get a POM validation error when running the mvn eclipse:eclipse command in admin-gui. My bad, should be fixed now. /niklas

[jira] Updated: (DIRMINA-502) Typo in POM

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-502: Fix Version/s: 1.1.6 1.0.9 Assignee: Trustin Lee

[jira] Resolved: (DIRMINA-502) Typo in POM

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-502. - Resolution: Fixed Thanks! It has been fixed. :) Typo in POM ---

[jira] Commented: (DIRMINA-505) OOM errors when handling badly formed HTTP requests

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12558916#action_12558916 ] Trustin Lee commented on DIRMINA-505: - I've just checked in a possible fix. Could you

Re: READ_STATUS_CODE bug in filter-codec-http State Machine

2008-01-14 Thread Trustin Lee
Hi Eric, I simply removed AFTER_READ_STATUS_CODE state and it seems to work fine. :) Please let me know if my fix works. Thanks! Trustin On Jan 5, 2008 5:29 AM, Eric Gaumer [EMAIL PROTECTED] wrote: Hello All, I ran across another interesting problem today in handling status codes inside of:

Re: Traffic Shape Filter

2008-01-14 Thread Trustin Lee
Hi Scott, TrafficShapingFilter is far from perfection. It will shape the traffic in the long term. It will not control the traffic inflows within a very short amount time. We need to figure out better way to shape traffic. Trustin On Jan 5, 2008 8:37 AM, Scott Peters [EMAIL PROTECTED] wrote:

Re: Mina filter-codec-http bug?

2008-01-14 Thread Trustin Lee
Your patch has been applied. Thanks again! Cheers, Trustin On Jan 4, 2008 1:24 PM, Trustin Lee [EMAIL PROTECTED] wrote: Hi Eric, Thank you so much for your bug report. I'm forwarding this message to our official mailing list for better and faster assistance. :) HTH, Trustin On Jan 4,

Re: Question regarding mina server with high load client

2008-01-14 Thread Trustin Lee
Hi Ashish, I just cannot reproduce your problem. I tested with the following code: import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.Socket; public class Foo {

Re: Question About ExcecutorFilter and OrderedThreadPoolExecutor

2008-01-14 Thread Trustin Lee
On Jan 5, 2008 9:28 AM, Geoff Cadien [EMAIL PROTECTED] wrote: The javadoc for OrderedThreadPoolExecutor states: The event order is never mixed up. (e.g. messageReceived is always invoked before sessionClosed or messageSent.) Does this apply when using an IoConnector as opposed to and

Re: Simple SSL question from the FAQ

2008-01-14 Thread Trustin Lee
Hi James, It means you need to set reader idle time and close the session when your IoHandler is notified with sessionIdle event. Trustin On Jan 7, 2008 11:54 PM, James Apfel [EMAIL PROTECTED] wrote: Hi, http://mina.apache.org/faq.html says Server developers will also have to disconnect

RE: Traffic Shape Filter

2008-01-14 Thread Scott Peters
Trustin, Thank you for the reply. As 2.0 is not fully released yet I was not sure what the state was of this new filter and it sounds like it is still in the works. For the time being we are looking into other options for traffic shaping outside our emulators that sit on top of MINA. FYI: I

Re: [DISCUSS] Time to move AsyncHttpClient out of Sandbox

2008-01-14 Thread Trustin Lee
Hi Kevan, On Jan 12, 2008 2:59 AM, Kevan Miller [EMAIL PROTECTED] wrote: Note that this is cross-posted to geronimo dev and mina dev lists... Hopefully the last one... Alex and Trustin, Thanks for the info... More below... On Jan 9, 2008, at 6:16 PM, Trustin Lee wrote: Well, I think

[jira] Resolved: (DIRMINA-512) ProtocolDecoderException.getHexDump always returns 'empty'

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-512. - Resolution: Fixed Resolved. ProtocolDecoderException.getHexDump always returns 'empty'

[jira] Created: (DIRMINA-512) ProtocolDecoderException.getHexDump always returns 'empty'

2008-01-14 Thread Trustin Lee (JIRA)
ProtocolDecoderException.getHexDump always returns 'empty' -- Key: DIRMINA-512 URL: https://issues.apache.org/jira/browse/DIRMINA-512 Project: MINA Issue Type: Bug

Re: ProtocolDecoderException.getHexDump always returns 'empty'

2008-01-14 Thread Trustin Lee
Hi Hakan, I've just checked in the fix. Please let me know if it works or not. Thanks, Trustin On Jan 10, 2008 8:45 PM, Hakan Guleryuz [EMAIL PROTECTED] wrote: Hi, I have extended DemuxingProtocolCodecFactory with multiple codecs attached, When I send a message that is not parsed by any of

Re: [DISCUSS] Time to move AsyncHttpClient out of Sandbox

2008-01-14 Thread Jeff Genender
Trustin Lee wrote: Sure we are! Please feel free to start to make contribution. :) BTW is there any express procedure for accepting the existing AHC committers (i.e. Sangjin and Rick) in the MINA PMC? You mean committer, not PMC? ;-) As you know, they are not ASF members and didn't

Re: fuzzing test filter

2008-01-14 Thread Trustin Lee
Please include this filter into the trunk if you feel it's ready. :) As a person who's unnecessarily picky in naming, I'd suggest ErrorGeneratingFilter :) Cheers, Trustin On Jan 11, 2008 11:04 PM, Julien Vermillard [EMAIL PROTECTED] wrote: On Thu, 10 Jan 2008 23:52:38 -0800 (PST) Steve Ulrich

[jira] Updated: (DIRMINA-511) Coding mistake in org.apache.mina.common.AbstractPollingIoProcessor.java

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee updated DIRMINA-511: Affects Version/s: (was: 2.0.0-M2) Fix Version/s: (was: 2.0.0-M2) We didn't even

[jira] Resolved: (DIRMINA-511) Coding mistake in org.apache.mina.common.AbstractPollingIoProcessor.java

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Trustin Lee resolved DIRMINA-511. - Resolution: Fixed Assignee: Trustin Lee Thanks for reporting a critical bug. It has been

Re: Apache MINA Board Report, January 2008

2008-01-14 Thread Trustin Lee
uh, my bad. :) On Jan 14, 2008 10:17 PM, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Hi Trustin ! Trustin Lee wrote: Jeff Genender, a member of the foundation and a MINA enthusiast, joined the MINA PMC. So far, he is just one of our committer :) -- cordialement, regards, Emmanuel

Re: can anyone do me a favour

2008-01-14 Thread Trustin Lee
Hi Andy, 2008/1/14 张园 [EMAIL PROTECTED]: My dear friends, I got a question when I read the source code,how is the SocketIoProcessor class dealing the situation that the buf is smaller than the data expected in the SocketChannel? If the allocated read buffer is smaller than the data to be

[jira] Commented: (DIRMINA-507) IoBuffer: Support prepending data

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12558944#action_12558944 ] Trustin Lee commented on DIRMINA-507: - Doesn't prepending slow down the overall

[jira] Issue Comment Edited: (DIRMINA-507) IoBuffer: Support prepending data

2008-01-14 Thread Trustin Lee (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12558944#action_12558944 ] trustin edited comment on DIRMINA-507 at 1/14/08 11:16 PM: ---

[VOTE] Release Apache MINA 1.0.9 and 1.1.6.

2008-01-14 Thread Trustin Lee
Hi community, We have fixed 6 issues in 1.0.9 and 1.1.6 since 1.0.8 and 1.1.5. The following URL shows the list of the fixed issues: https://issues.apache.org/jira/browse/DIRMINA?report=com.atlassian.jira.plugin.system.project:roadmap-panel [ ]: +1, Release [ ]: 0, Abstain [ ]: -1, Don't

Network is unreachable exception

2008-01-14 Thread Ran Kornfeld
Hello I am getting an java.io.IOException: Network is unreachable sometimes on the SocketIoProcessor.read() method. I have a MINA based server which handles hundreds of messages per hour, and I get this every 2-3 days. It seems that everything continues with no problem, I just wonder what it