Doh!!!
Ignore the last email.... I'm just being dumb. There are two sockets
open per HTTP connection.

Paul

On 4/27/07, Paul Fremantle <[EMAIL PROTECTED]> wrote:
I tried a load test of Synapse today.

I used 250 client threads with keepalive using Synapse as a proxy
through to the sample server. I added a 100ms thread sleep to the
server to make it hold off.

Firstly, I very very occasionally got this:
Exception in thread "Timer-1" java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
        at java.util.HashMap$KeyIterator.next(HashMap.java:877)
        at 
org.apache.synapse.core.axis2.TimeoutHandler.run(TimeoutHandler.java:68)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

Secondly I noticed that I had 1000 open sockets (netstat -n). I was
only expecting 500 (250 each from Client->Synapse and
Synapse->Server).

Any ideas how come the double sockets?

Paul

--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com



--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to