Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Yesterday I started getting server too busy errors on some websites we are hosting on our webserver. So I logged on the server and took a look at the event viewer

About 4 times / minute im getting this error:

Log Name : Application

Source : Complus

Event ID : 4689

Error message:

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:\longhorn\com\complus\src\comsvcs\threads\stathread.cpp(300), hr = 80070008: CSTAThread: CoGetApartmentID failed

I am wondering if anyone ever got that kind of issue and if yes what is it related to / how can I fix it?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If this makes any sense to you, COM+ is just like DBUS, it allows different applications to communicate internally with each other. It appears that you have a problem with an interprocess communication.

I did manage to find this link, COM+ The run-time environment has detected an inconsistency in its internal state.

Which indicates that you should change a registry setting from:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows --> SharedSection = 1024,3072,512

To:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows --> SharedSection = 1024,3072,1024

It appears that you have run out of memory. At least your heap has been filled. This is one of those pesky errors that isn't quite programming and isn't quite system administration.

Tons more info over at another link: Desktop Heap Overview.

PS After making this change, you will probably need to reboot the server.

share|improve this answer
    
ty for the help i will ask out IT to take a look at the registery –  user22984 Oct 15 '09 at 12:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.