Hi all,
me again... sorry for bothering :(

I'm sending a small request (<1KB) to ESB with a 226KB response
with a single response, it's doing fine.

But when I send 50 requests at the same time
only that first 4 or 5 responses are correct
All the others went to the fault mediator

with error message like this:
http://www.nabble.com/file/p18628598/largeResponse_error.txt
largeResponse_error.txt 

from the following extract:
11:35:09,807 [140.96.178.114-pc178114.ccl.itri.org.tw] [HttpClientWorker-8]
WARN Fault handler - setting ERROR_MESSAGE : Connection timeout  
11:35:09,813 [140.96.178.114-pc178114.ccl.itri.org.tw] [HttpClientWorker-8]
WARN Fault handler - setting ERROR_DETAIL : java.lang.Exception: Connection
timeout at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:172)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:131)
at
org.apache.synapse.transport.nhttp.ClientHandler$1.run(ClientHandler.java:298)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)  
11:35:09,813 [140.96.178.114-pc178114.ccl.itri.org.tw] [HttpClientWorker-8]
WARN Fault handler - setting ERROR_EXCEPTION : java.lang.Exception:
Connection timeout  

I think it was probably caused by timeout.

But I've set it to turned the Never Timeout action on in the Endpoint.

Should I make any change to the synapse.threads.*** in the
synapse.properties?

I've tried to do the same thing:
send those 50 requests concurrently to the servlet directly
It works well (although it was slow)

So, Can I do anything to tune the connection time?

Thanks again!

Fanny


-- 
View this message in context: 
http://www.nabble.com/Sending-50-large-responses-concurrently-tp18628598p18628598.html
Sent from the WSO2 ESB Users mailing list archive at Nabble.com.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to