473,471 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error 500.13 (Server too busy) and Event 4689

4 New Member
I am running a windows 2003 server with close to 150 websites. The majority of the sites, which are all running the same very complex classic ASP portal application using ASPImage/ASPMail/ASPUpload, are receiving the vast majority of the traffic and all are working fine. However all of my smaller websites that do not use this application or any of those 3rd party COM DLL's, and only get a tiny bit of traffic across just a few simple ASP scripts, all fall into a state of perpetual 500.13 errors after about an hour. I have had to put IISRESET onto an hourly scheduled task to keep them from being down too much, but this adversely affects all my users because they're getting Service Unavailable errors ever hour. The main clue I've found so far is that the Application log is completely full of Event 4689 errors that are happening at a rate of sometimes several per second. The text of this eventlog entry is always the same:

Expand|Select|Wrap|Line Numbers
  1. 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(285), hr = 8007000e: CSTAThread: CoGetApartmentID failed
  2.  
I've been scouring the web for weeks and the only solution I found so far was to completely uninstall/reinstall IIS and DCOM, and I'm not really convinced that this step would solve the problem as both of my webservers do the same thing.

One other thing that seems like it's probably relevant (but may not be at all), is the way in which I set up my websites. I use an ASP script to build or rebuild my websites in IIS. It's based on code put out by microsoft in their IIS admin scripts, I just simplified it into functions that I could call from within my scripts. Originally it was built to work with Windows 2000 Server so it would just set the app to isolated on each site and that worked great, and I never had any 500.13 erros. For Win2003 I modified the script so that it creates an app pool for each website as it builds or rebuilds the website. If the app pool already exists, it seems to still work fine: either because another duplicate pool is not created, or because the first one is deleted when the script deletes the existing website before replacing it (I'm not sure which). HOWEVER in my Component Services control panel, I see that duplicate COM+ applications are being added with each successive rebuild of each site. Again I'm not sure if this really SHOULD affect anything, and I didnt even add the part of the script that created separate app pools until AFTER this problem started happening and I wanted to isolate out the sites causing the problem.
Apr 13 '07 #1
4 9526
jn00s
4 New Member
More info I forgot to mention:

NONE of the sites that are having problems are built or rebuilt by my scripts, only the group of sites that is not having problems gets built or rebuilt in this manner. The ones that are having problems I set up by hand using the IIS snap-in and I manually set them each up with their own app pools, yet they all seem to fail at the same time.

Also this event continues to happen even during and after an IISRESET, while all
of the sites are still running fine.
Apr 13 '07 #2
jn00s
4 New Member
bump... still have not found any solution to this problem... any help would be greatly appreciated!
Sep 7 '07 #3
markrawlingson
346 Recognized Expert Contributor
There's a similar post here

That ended up having a solution.

Wow,I think I fixed it :

It's the GOD DAMN COM+ System Application service. It was turned off.
Turn that back on and ym comp will be okay.
These resources..

http://support.microsoft.com/defaul...kb;EN-US;290513

http://support.microsoft.com/defaul...&NoWebContent=1

http://www.google.com/search?hl=en&...G=Google+Search

Were also given and may help you.

Other than that... if it's just a few specific sites there has got to be a common denomitator between those sites.

Would it be possible to backup and move one of the affected sites to a completely different location so that you can just place some simple code like a for.. next loop to display "hello" on a page 20 times or so - and see if it crashes?

Do each of the affected sites share a specific application pool, or do they have their own?

Also, you mentioned that you are running 150 web sites. How many session/application level variables are in use and how many hits in total do the sites aquire per day?

Does the site crash x times an hour, every hour, no matter what time of day?

And you are DEFINATELY closing all open objects on all scripts within all of the websites before the page stops execution?

Do these pages use ANY objects at all? Like an recordset object or connection object?

Answer those questions anywho.. but it sounds to me like the websites that are experiencing the problems are trying to create an object and simply don't have enough resources to do so.
Sep 7 '07 #4
jn00s
4 New Member
I finally found the fix to this problem, solution posted here:

Error 500.13 (Server too busy) with many sites on one machine : The Official Microsoft IIS Site
Dec 19 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Ken Varn | last post by:
Sometimes when I try to close my managed C++ application, the following dialog displays in Win 2000 Pro: The title of the dialog is "Server Busy". The message is "This action cannot be completed...
0
by: Phil | last post by:
Hi All, I've recently been working on a site which is vital that it's up all week this week as a lot of potential clients are going to be viewing it. Yesterday for between 30 mins and 2 hours...
0
by: Greg Gilman | last post by:
The Los Angeles SQL Server Professionals Group is hosting the LA Winter SQL Server Gurus Event at UCLA on February 17th and 19th, 2005. This once-in-a-lifetime event will feature nationally...
4
by: WilsonSmith | last post by:
Hello All, My development environment is as follows: ASP.Net App with .Net Framework 1.1 with VB.net I have added the code in the page load event for non post back activity.
2
by: Eli | last post by:
Hello. I have a server side event Page_Load in aspx page. <%@ Page Languadge=c# AutoEventWireup="true" %> <script Languadge=c# runat=server> void Page_Load(Object sender, EventArgs e) { //...
4
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I...
1
by: Michael S. Scherotter | last post by:
I have a proxy class derived from System.Web.Services.Protocols.SoapHTTPClient that calls a web service. Sometimes, because the call takes a longer time, I get the OLE server busy dialog. Is...
0
by: roninkaiser | last post by:
Good Evening, I've a Dts in my sql server 2000 that contain 8 packages. If I fire the dts from local packages all ok If i try to fire the package step by stem I've this error: server busy-this...
1
by: Rodney | last post by:
I want to notify browser of every time my server side event fires w/o creating some sort of timer on client. Basically, can server notify client w/o client initiating contact? Again, thx for any...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.