Hi Justin.
- By emtpy messages I mean the client
receives them, but when it is parsing them appears the following exception:
org.apache.mina.protocol.ProtocolViolationException: Invalid message
termination character! (Hexdump: empty). Full stack is attached to this
mail.
- No, actually is MINA 0.74
- Yes, I did, there's two choices as far as I understand, 1st
connection gets lost, that seems not to be happening, never see that event on
the load tester stack trace. Second flip the buffer, I'm doing so, and I think
this couldn't be the cause because otherwise I wouldn't be receiving the other
messages before that number of users.
Thank you so much in advance for your help,
Oscar Herrera
Developer
From: Trustin Lee
[mailto:[EMAIL PROTECTED]
Sent: Sun 10/30/2005 9:25 PM
To: Apache Directory Developers List
Subject: Re: [MINA] Troubleshooting under heavy load
Sent: Sun 10/30/2005 9:25 PM
To: Apache Directory Developers List
Subject: Re: [MINA] Troubleshooting under heavy load
Hi,
what we call human nature is actually human habit
--
http://gleamynode.net/
2005/10/31, Oscar Herrera <[EMAIL PROTECTED]>:
* What do you mean by an 'empty message'?
* Which version of MINA are you using? I hope you're using 0.8.0.
* Did you check the FAQ?
Cheers,
Trustin
-- I've been working on a game server, and the goal is to support 1000 users per server playing at the same time, server is coordinating all clients on remote machines. To be able to test the server on how many users it supports, we built a load tester using MINA also. So I use 5 computers getting connected to the same server using the load tester, each one simulates 200 users. Everything works fine until the server gets around 260 users connected at the same time, from than time ahead, server starts sending empty messages to the clients. My team and I have been trying to figure out what might be happening unsuccessfully so far.Have anyone had an issue like this before using MINA?, any clue on what could be causing this strange behavior?
* What do you mean by an 'empty message'?
* Which version of MINA are you using? I hope you're using 0.8.0.
* Did you check the FAQ?
Cheers,
Trustin
what we call human nature is actually human habit
--
http://gleamynode.net/
05-10-30 23:41:32 ERROR [LoadTesterListener:88] Exception caught
org.apache.mina.protocol.ProtocolViolationException: Invalid message termination
character! (Hexdump: empty)
at com.studiocom.galapagos.mina.MinaClientMessageDecoder.doDecode(MinaCl
ientMessageDecoder.java:51)
at org.apache.mina.protocol.codec.CumulativeProtocolDecoder.decode(Cumul
ativeProtocolDecoder.java:104)
at org.apache.mina.protocol.io.IoAdapter$SessionHandlerAdapter.dataRead(
IoAdapter.java:136)
at org.apache.mina.io.AbstractIoFilterChain$2.dataRead(AbstractIoFilterC
hain.java:150)
at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(AbstractIoF
ilterChain.java:366)
at org.apache.mina.io.AbstractIoFilterChain.access$1000(AbstractIoFilter
Chain.java:51)
at org.apache.mina.io.AbstractIoFilterChain$Entry$1.dataRead(AbstractIoF
ilterChain.java:525)
at org.apache.mina.io.AbstractIoFilterChain$1.dataRead(AbstractIoFilterC
hain.java:100)
at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(AbstractIoF
ilterChain.java:366)
at org.apache.mina.io.AbstractIoFilterChain.dataRead(AbstractIoFilterCha
in.java:357)
at org.apache.mina.io.IoSessionManagerFilterChain$1.dataRead(IoSessionMa
nagerFilterChain.java:78)
at org.apache.mina.io.AbstractIoFilterChain.callNextDataRead(AbstractIoF
ilterChain.java:366)
at org.apache.mina.io.AbstractIoFilterChain.access$1000(AbstractIoFilter
Chain.java:51)
at org.apache.mina.io.AbstractIoFilterChain$Entry$1.dataRead(AbstractIoF
ilterChain.java:525)
at org.apache.mina.io.filter.IoThreadPoolFilter.processEvent(IoThreadPoo
lFilter.java:107)
at org.apache.mina.util.BaseThreadPool$Worker.processEvents(BaseThreadPo
ol.java:393)
at org.apache.mina.util.BaseThreadPool$Worker.run(BaseThreadPool.java:33
3)
