On Windows It's also worth looking at these articles and tools: http://www.psc.edu/networking/projects/tcptune/ http://www.dslreports.com/drtcp
Paul On Nov 7, 2007 5:00 PM, Jaeger, Jay <[EMAIL PROTECTED]> wrote: > Interesting, because that issue came up here in another context. While I > personally have some doubts about that being the issue (since > discrepencies > where seen with relatively small message counts), I do have a link that > describes how to change that setting. NOTE: The description gets > confused > between the ephemeral port number vs. the number of connections using > ephemeral ports. The issue is the latter. > > Reference: http://support.microsoft.com/default.aspx?scid=kb;EN-US;196271 > > > -----Original Message----- > From: Dan Retzlaff [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 10:47 AM > To: [email protected] > Subject: Re: Synapse looses messages under high load > > > 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] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com
