I'm new to Synapse, but without HTTP keep-alive I'd suspect ephemeral port exhaustion. (Each client connection uses a port between 1025 and 5000, which I believe the OS won't re-use within the TCP Maximum Segment Lifetime of ~120 seconds.) It sounds like Asankha may be thinking along the same lines.
On Nov 7, 2007 3:26 AM, Gregory Van seghbroeck < [EMAIL PROTECTED]> wrote: > Hey Asankha, > > Thanks a lot for the quick response. > > > You do not state your client environment, I am specifically interested > > to see if it sends HTTP 1.0 or 1.1 requests to Synapse, and if > > Keepalives are used > Our client application also uses the HTTP/1.1 protocol, but when working > with the HTTP/1.1 protocol we cannot choose to set the Keepalives > parameter. The persistence parameter is false. > > So are you saying that a direct client to Tomcat test has issues? > No, we left Synapse in the middle. But the only thing Synapse does is > forwarding the incoming message to the Tomcat server. Here is the simple > synapse.xml file: > <definitions xmlns="http://ws.apache.org/ns/synapse"> > <in> > <send> > <endpoint> > <address > uri="http://157.193.215.56:9090/axis2/services/DummyService2" /> > </endpoint> > </send> > </in> > <out> > <send /> > </out> > </definitions> > > This is great and I will look forward to your results. Meanwhile, if > > you can help me reproduce this test with the Apache Bench Java clone > > (that supports chunking, SSL etc - check the link I gave earlier for > > this) and Synapse, I can help you find the issue. You may send any > > confidential information privately to me if you please > I,ve attached 3 files: our roundrobin mediator, the Web Service > (DummyService2) and the synapse.xml of the first tests. As you can see > in the attached files roundrobin is just part of our tests. But > currently the client is calling Synapse with the following command: POST > http://<synapse's ip-address>:8000/roundrobin and the following > SOAP-message: > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ > "> > <soapenv:Body /> > </soapenv:Envelope> > > > If there is anything else you need to clone our environment, do not > hesitate to send me an e-mail. > > Kind regards and thanks a lot, > Gregory > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
