From: Mary Rafferty on
We have recently migrated about 250 sites from a Win2K server to a new
Win2k3 Web server along with several dozen sites from an older Win2k3
install. The new box is dual Xeon processor, 2GB RAM. From performance
monitoring, it looks like the CPU is mostly loafing and the memory use is
40 - 55%. All sites were set up with their own anonymous user , app pool
user identity and corresponding app pool. The UseSharedWPDesktop registry
key is set to 1. As far as activity level, the sites are a mix of
lucky-to-get-one-visitor-a-day to fairly busy. They are a mix of static
HTML, ASP and a smaller portion ASP.NET with possibly a few PHP scripts.

We started seeing issues with COM+ errors showing up in the server
Application log. This seems to be impacting the ASP sites. They get a 500
"Server Too Busy" error. I can not find a particular pattern to the COM+
error nor the sites being impacted. The specific pages having errors often
are ones which are using ASP to only include header and footer HTML. I've
used log parser on the W3svc logs looking for a misbehaving site which might
be doing a buffer overrun or equivalent or some other common denominator
preceding these, but do not see any suspects.

Below is a sample of the errors from the Application log.

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 1:44:10 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\stathread.cpp(284), hr = 8007000e:
CSTAThread: CoGetApartmentID failed

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 1:59:48 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\stathread.cpp(284), hr = 8007000e:
CSTAThread: CoGetApartmentID failed

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 2:00:33 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\stathread.cpp(271), hr = 80070057:
CSTAThread: CoInitializeEx failed

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 2:00:33 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\stathread.cpp(271), hr = 80070057:
CSTAThread: CoInitializeEx failed

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 2:00:33 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\stathreadpool.cpp(1074), hr =
8000ffff: CSTAThreadPool: Unable to get bind thread.

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 2:00:33 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\activityworkqueue.cpp(364), hr =
8000ffff: CActivityWorkQueue: Failed to bind queue.

Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4689
Date: 1/27/2007
Time: 2:00:33 PM
User: N/A
Computer: PATTY
Description:
The run-time environment has detected an inconsistency in its internal
state. This indicates a potential instability in the process that could be
caused by the custom components running in the COM+ application, the
components they make use of, or other factors. Error in
d:\nt\com\complus\src\comsvcs\threads\staactivity.cpp(805), hr = 8000ffff:
CSTAActivity: Failed to enqueue work.


Can someone offer guidance on how to troubleshoot the source of these
errors? And also offer some ideas about what sort of thing causes such
errors?

Thanks.

Mary Rafferty