Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2007

Tip: Looking for answers? Try searching our database.

IIS or ASP.NET blocks web service after many calls

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hao - 21 Mar 2007 19:03 GMT
I developed a ASMX web service with empty boday (return immediately). The
API has a few parameters, all .Net objects. The client application is a
simple WCF client keep calling this ASMX web service API.
I am measuring the performance of ASMX. What I found is that the first a few
thousand calls are all getting through quickly as I expected. Then the call
was blocked by IIS or ASP.Net because my break point does not get hit for a
few seconds. The calls thereafter were all delayed by something. Now every
call takes second to execute. Sometime, if I pause on my breakpoint for a
few seconds, then remove the break point, the calls after that will get
through quickly. After a few thousand calls, the same problem occurred
again.
I thought the problem is triggerred by some sort of buffering, but could not
find any real clue.
Hao
Steven Cheng[MSFT] - 22 Mar 2007 05:17 GMT
Hi Hao,

Regarding on the ASP.NET  webservice responding issue under thousands
method calls, I think you can try using a normal .net 2.0 webservice client
to perform the same test and check the behavior.  If the problem is caused
by server-side ASMX service, a normal .net 2.0 service proxy should also be
able to repro it. Also, would you provide the code snippet in your client
application which execute thousands of webmethod calls?

In addition, I'm wondering whether this is a specific behavior occuring at
debugging time. You can set server-side service's <compilation debug="true"
/> and test it again(printout webmethod execute timespan) to see whether
the problem still occurs.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
Steven Cheng[MSFT] - 27 Mar 2007 06:25 GMT
Hi Hao,

How are you doing on this issue, have you got any progress?  If there is
still anything we can help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.
Hao - 29 Mar 2007 14:54 GMT
It seems as an issue specific to a single PC. My guess is that some third
party web service tracing tool caused the problem, even after I tried to
remove these tools.
Not a big concern to me since it is not a common issue on other machines.
Thanks.
Hao

> Hi Hao,
>
[quoted text clipped - 9 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
Steven Cheng[MSFT] - 30 Mar 2007 02:56 GMT
Thanks for your followup Hao,

Well, if you meet new problem or anything we can help, please feel free to
post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.