C
cj2
I still think I'm hitting some limit on connections from a windows app
on Windows XP to a web service on Windows Server 2008. I have read XP
has a 10 connection limit of some kind. I need to know more about this.
I've asked before but have trouble explaining. I'll try again.
The main form loops every 200 milliseconds:
launches a thread
displays the counter class's total concurrent threads value
Each thread:
notes the time it starts
increments a counter class
Calls a web service (same info each time)
notes the time it finished and any errors that occured
write the times etc to a log file
decrements a counter class
thread ends.
The web service records the time it receives a request and the time it
receives a request and the total time it took to process it. it's
always between .1 and .3 seconds.
What I see. I start the program about 9:42. The concurrent threads
starts to climb it eventually hit 2000 connections! I aborted the
program at that point at about 9:50 as it was returning out of memory
and unable to start a new thread messages. After aborting the program
the threads remained (as they should) I noted this in task mgr too.
They slowly came down to 0 about 10:10. Through this whole process the
web service says every request it got took an average of .283 seconds to
process and it got requests from 9:42 to 10:05. The program calling the
web service on the other hand reports it made requests from 9:42 to
9:50. the first few were fast but then they started taking longer and
longer (up to 15 minutes) for the threads to finish. The thread's sole
purpose is to call that web service sending the same value to it (for
testing) and get the result.
Strangely I tried repeating the test and this time it worked fine
staying at 1 or 2 concurrent connections for a whole hour of testing.
This is quit like in real life with real requests. I swear that the
problem is that once it hits a certain number of concurrent threads
running it reaches some sort of log jam and request are then being
queued and released to the web service slowly.
on Windows XP to a web service on Windows Server 2008. I have read XP
has a 10 connection limit of some kind. I need to know more about this.
I've asked before but have trouble explaining. I'll try again.
The main form loops every 200 milliseconds:
launches a thread
displays the counter class's total concurrent threads value
Each thread:
notes the time it starts
increments a counter class
Calls a web service (same info each time)
notes the time it finished and any errors that occured
write the times etc to a log file
decrements a counter class
thread ends.
The web service records the time it receives a request and the time it
receives a request and the total time it took to process it. it's
always between .1 and .3 seconds.
What I see. I start the program about 9:42. The concurrent threads
starts to climb it eventually hit 2000 connections! I aborted the
program at that point at about 9:50 as it was returning out of memory
and unable to start a new thread messages. After aborting the program
the threads remained (as they should) I noted this in task mgr too.
They slowly came down to 0 about 10:10. Through this whole process the
web service says every request it got took an average of .283 seconds to
process and it got requests from 9:42 to 10:05. The program calling the
web service on the other hand reports it made requests from 9:42 to
9:50. the first few were fast but then they started taking longer and
longer (up to 15 minutes) for the threads to finish. The thread's sole
purpose is to call that web service sending the same value to it (for
testing) and get the result.
Strangely I tried repeating the test and this time it worked fine
staying at 1 or 2 concurrent connections for a whole hour of testing.
This is quit like in real life with real requests. I swear that the
problem is that once it hits a certain number of concurrent threads
running it reaches some sort of log jam and request are then being
queued and released to the web service slowly.