Solves the unexpected termination of processes that provide services for the application pool. The process ID is **. The process exit code is & amp; #39; 0x80 &

Source: Internet
Author: User

The red-Black Internet under our company will encounter this problem.

Event Type: Warning
Event Source: W3SVC
Event Type: None
Event ID: 1009
Date: Event: XX
User: XX
COMPUTER: XXXX
Description:
The process that provides services for the application pool XXXXX is unexpectedly terminated. The process ID is XXXX. The process exit code is 0x80.
For more information, see Help and Support Center in asp "> http://go.microsoft.com/fwlink/events.asp.
Cause:
CAUSE
Together with each worker process that IIS creates under a separate identity, the system creates a new desktop object by allocating memory from the configured desktop heap. this issue occurs because, when that heap has been exhausted, IIS cannot create more worker processes. clients then receive the "service unavailable" error message in their Web browsers when they try to visit Web sites that those application pools host.
The memory heap quota of independent processes is exhausted. IIS cannot create more process workspaces for processing.
Solution:
Warning you need to modify the registry of the server. Please modify the key values of the previous backup.
Add the UseSharedWPDesktop registry key to your computer that is running IIS. This registry key permits all worker processes to run in one shared desktop, regardless of their worker process identities.
To add the UseSharedWPDesktop registry key:

1. HKEY_LOCAL_MACHINESystemCurrentControlSetServicesW3SVC
2. Create a New DWORD under the Parameters key. The name is UseSharedWPDesktop and the value is 1. Restart IIS.
MS description about this key value:
UseSharedWPDesktop
Registry path: HKEY_LOCAL_MACHINESystemCurrentControlSetServicesW3SVCParameters
Data Type: REG_DWORD
Default Value: 0
Value Range: 0-1.
If you are setting an application pool with a unique identifier, the application pool and memory resources on the server will reach the upper limit of about 60 application pools. Some system resources allocated with a single new logon session have certain restrictions. This indicates that 60 processes can run simultaneously with different accounts. IIS 6.0 allows you to run these processes on a single shared workstation or desktop. The cost is a single encapsulation of sharing a single user session between all parties. To expand to more than 60 application pools and share a single desktop, you can change UseSharedWPDesktop to DWORD Value 1. After this registry key is changed, it should be able to expand to hundreds of application pools and hundreds of working processes running at the same time.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.