|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Load test - socket errorsMule gurus, I’m running a load test using the tcp connector
(just one port – endpoint, configured with the length protocol) and
JMeter. Setting JMeter to 10 threads and an interval between requests of 100 +-30
ms, everything runs smoothly. If I raise the number of threads to 15, I start
to get socket errors like these: INFO 2008-06-24 15:14:38,919
[tcpClient.receiver.5] org.mule.transport.tcp.protocols.DirectProtocol: Socket
exception occured: Software caused connection abort: recv failed [800]ERROR 2008-06-24 15:14:38,919
[tcpClient.receiver.5] org.mule.DefaultExceptionStrategy: Caught exception in
Exception Strategy: Software caused connection abort: socket write error java.net.SocketException: Software caused connection
abort: socket write error at
java.net.SocketOutputStream.socketWrite0(Native Method) at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at
java.net.SocketOutputStream.write(SocketOutputStream.java:136) at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at
java.io.DataOutputStream.flush(DataOutputStream.java:106) at
org.mule.transport.tcp.protocols.LengthProtocol.writeByteArray(LengthProtocol.java:96) at
org.mule.transport.tcp.protocols.AbstractByteProtocol.write(AbstractByteProtocol.java:81) at
org.mule.transport.tcp.protocols.AbstractByteProtocol.write(AbstractByteProtocol.java:77) at
org.mule.transport.tcp.TcpMessageReceiver$TcpWorker.handleResults(TcpMessageReceiver.java:390) at
org.mule.transport.AbstractReceiverWorker.doRun(AbstractReceiverWorker.java:132) at
org.mule.transport.AbstractReceiverResourceWorker.doRun(AbstractReceiverResourceWorker.java:51) at
org.mule.transport.AbstractReceiverWorker.run(AbstractReceiverWorker.java:62) at
org.mule.work.WorkerContext.run(WorkerContext.java:310) at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at
java.lang.Thread.run(Thread.java:595) I don’t know much about socket communication,
but I was expecting to get more timeouts instead of socket exceptions. Is this
normal under high load scenarios? What can I do to improve the capacity of the
system? I could add some extra sockets as inbounds, or even add an additional
mule instance, but I believe there are a number of possible improvements before
that. Any recommendations? Marcio. |
|
|
Re: Load test - socket errorsI am using the tcp connector now ,but I don not know how to config a tcp transport correctly!
Can you give me you configuration file and tell me the means of every portocols of the tcp because I found there are sereval portocols of the tcp? |
|
|
RE: Load test - socket errorsHi,
Have you seen http://mule.mulesource.org/display/MULE2USER/TCP+Transport? I know the docs are incomplete (this page is still under construction) but perhaps if you asked about specific attributes, we may be able to provide more help. Regards Antoine Borg, Senior Consultant | Tel: +32 28 504 696 ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com -----Original Message----- From: alloyer [mailto:mxqaaa@...] Sent: Wednesday, August 27, 2008 3:22 AM To: user@... Subject: Re: [mule-user] Load test - socket errors I am using the tcp connector now ,but I don not know how to config a tcp transport correctly! Can you give me you configuration file and tell me the means of every portocols of the tcp because I found there are sereval portocols of the tcp? -- View this message in context: http://www.nabble.com/Load-test---socket-errors-tp18098988p19173276.html Sent from the Mule - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
RE: Load test - socket errorsYes.Thank you and I have read it many times,and I can run the Tcp connection demo.
But I have to create a new tcp transport for my own system now. I want to let mule just dispatch the tcp message and don' t have any relationships with my original system. That means I hope to integrate the original c/s system without any changes to it! Can you give me some advices to create my own tcp transport and potocol. Thanks again!
|
|
|
RE: Load test - socket errorsHi,
Good - Presumably, the protocols that are available OOTB are not suitable for you. What protocol does your client/server app use? And what would Mule need to do with this data? Or will it act purely as a proxy? Regards Antoine Borg, Senior Consultant | Tel: +32 28 504 696 ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com -----Original Message----- From: alloyer [mailto:mxqaaa@...] Sent: Thursday, August 28, 2008 3:13 AM To: user@... Subject: RE: [mule-user] Load test - socket errors Yes.Thank you and I have read it many times,and I can run the Tcp connection demo. But I have to create a new tcp transport for my own system now. I want to let mule just dispatch the tcp message and don' t have any relationships with my original system. That means I hope to integrate the original c/s system without any changes to it! Can you give me some advices to create my own tcp transport and potocol. Thanks again! antoine.borg wrote: > > Hi, > > Have you seen http://mule.mulesource.org/display/MULE2USER/TCP+Transport? > > I know the docs are incomplete (this page is still under construction) > but perhaps if you asked about specific attributes, we may be able to > provide more help. > > Regards > > > Antoine Borg, Senior Consultant | Tel: +32 28 504 696 ricston Ltd., BP > 2, 1180 Uccle, Brussels, BELGIUM > email: antoine.borg@... | blog: blog.ricston.com | web: > ricston.com > > -----Original Message----- > From: alloyer [mailto:mxqaaa@...] > Sent: Wednesday, August 27, 2008 3:22 AM > To: user@... > Subject: Re: [mule-user] Load test - socket errors > > > I am using the tcp connector now ,but I don not know how to config a > tcp transport correctly! > Can you give me you configuration file and tell me the means of every > portocols of the tcp because I found there are sereval portocols of > the tcp? > > > > -- > View this message in context: > http://www.nabble.com/Load-test---socket-errors-tp18098988p19173276.ht > ml Sent from the Mule - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://www.nabble.com/Load-test---socket-errors-tp18098988p19192679.html Sent from the Mule - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |