Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
687 views
in Technique[技术] by (71.8m points)

iis 7.5 - IIS: Web Application hangs periodically needs system reboot

Once every 18-24 hours my IIS stops responding on a particular website. We have upgraded our web application a week ago and this seems to have started it. When it happens:

  1. Any request to the asp.net application hangs for ever
  2. Restarting the application pool gives the error 0x80070425 (The service cannot accept control message at this time)
  3. I cannot even log off from the computer, Log Off hangs. The only way is to restart the machine
  4. Sometimes it gets triggered with some unhandled ado.net exception, at other times there is no pattern.
  5. Inspection of the IIS log files does not product any recognizable pattern

Machine is windows server 2008 R2 Standard Edition. My application runs with ASP.Net 4.0 Classic Mode

Some of the event log entries found are the following:


There was an error during processing of the managed application service auto-start for application pool: 'MyApps'. The loading of application service provider objects is not supported if the pipeline mode is set to 'Classic' mode. As a result, no managed application service auto-start has been completed. To resolve this issue, please change the pipeline mode for this application pool to 'Integrated' mode. The data field contains the error code.


A worker process '1164' serving application pool 'MyApps' failed to stop a listener channel for protocol 'http' in the allotted time. The data field contains the error number.


Application pool OfficeClip has been disabled. The request from protocol http to create the application pool failed. Restart the application pool so that Windows Process Activation Service (WAS) can determine the correct state of the protocol. The data field contains the error number.


Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.

DETAIL - 1 user registry handles leaked from RegistryUserS-1-5-21-3692684334-282388892-2276244761-500: Process 900 (DeviceHarddiskVolume2WindowsSystem32svchost.exe) has opened key REGISTRYUSERS-1-5-21-3692684334-282388892-2276244761-500PrintersDevModePerUser


The World Wide Web Publishing Service failed to set the application pool for the application '/' in site '10'. The data field contains the error number.


Any ideas on how to figure out what is wrong short of reinstalling the OS?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Can you try the following

  • Open Services.msc
  • Look for Credential Manager
  • Set Startup Type to "Automatic"
  • (Re)Start the Credential Manager service

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...