Click here to Skip to main content
15,901,921 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Visual Studio 2005 Team Edition for Software Developers. C# is the language used.

I have a C# windows service running. This service will invoke a dll at runtime (many instances in parallel). Around 300 instances will be invoked in parallel. Each instance will inturn call a ASP.NET web service method.

I have kept log for each step of this processing. So I am able to see from the log table that the dll calls the web service successfully. For eg: Call is made by 8:32 AM. I have set a web service time out of 300000 (5 mins). So by 8:37 I am able to see "Webservice call timed out" with Time out exception in the log table.
Below are the two Issues I am facing right now.
1. From the web service log I am able to see for some of the records no call has been entered into the webservice after 8:32.
2. For some of the records, though we have called webservice by 8:32 AM it had entered webservice only after a delay in the range of 1 to 25 mins.

I am not able to figure out why there is delay in some cases and why there is some miss in entering the webservice itself.

Other than the 5 mins time out mentioned above, I have not specified any other configurations (like httpRuntime) in my config file. Usually the web service will take 2 to 10 mins for processing completion.

About 14% of the records alone face the above problem.

These issues are eating my brain.
Any help would be grately appreciated.
Posted
Updated 9-Nov-11 21:49pm
v2
Comments
Oliver Bleckmann 10-Nov-11 5:06am    
Just a guess, but these many PARALLEL calls made me think of unexpected behavior due to webserver configuration. maybe your requests are blocked as DOS attack, something like that!?
Oliver Bleckmann 10-Nov-11 5:09am    
oh one more thing, recently i read about a problem on apache there seem to be a max of 10000 parallel tcp request for one instance. maybe packed sniffing helps debugging.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900