Re: aspnet_WP.exe cpu high

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

sham wrote:
Hi to all,

I have a web service that is on the same machine as the client apps that are calling it. I have taken out all my code and each client app makes a call to the web service and gets back the string "hello". Each client app makes a request to the web service every 10 seconds.

I have found that the cpu usage for aspnet_wp.exe peaks to 60%. Is this normal? I also have IIS 5.1.

I am using .net framework 1.1

Sham.

I would say that occasional peaks to 60% are not unusual, but a consistent, constant value of 60% sounds pretty high to me. How many clients do you have? Are you sure that your service does nothing else?

Also, note that all web applications run in the same process ASPNET.EXE (but in different AppDomains). So if you have other .NET web applications active in the same IIS, they will also increase the CPU time for this process.

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
.



Relevant Pages

  • Re: Dynamically Change URL of web service
    ... Microsoft MVP - Windows Client ... > client apps will use the exact same web service, ... What this does is put an entry in the config file, ... >>> How can I dynamically change this when the client app loads. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Dynamically Change URL of web service
    ... client apps will use the exact same web service, ... What this does is put an entry in the config file, ... > Microsoft MVP - Windows Client ... >> How can I dynamically change this when the client app loads. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • VC8 CAtlHttpClientT::NegotiateAuth has a problem
    ... This C++ client app kept failing to access that web service with HttpStatus ... 401 allthough I've been using CNTLMAuthObject to provide the ... BSTR resultStr; ...
    (microsoft.public.vc.atl)
  • Getting user ID from Web Service credentials
    ... standalone client app (I use their Windows current user name to log them ... When I use a Web Service, ... to get the user name from the Web Services code. ... Integrated Windows Authentication on, and anonymous access off. ...
    (microsoft.public.dotnet.security)
  • Secure calls to Java web service takes long time
    ... Interoperability Using WSE 2.0 and Sun JWSDP 1.4" ... I've put the client app and the web service on two ... I've tested the web service both on a Windows 2000 machine and on a Linux ... used are the one ones supplied with WSE and JWSDP, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)