473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Error 500.13 (Server too busy) and Event 4689

4
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 9505
jn00s
4
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
bump... still have not found any solution to this problem... any help would be greatly appreciated!
Sep 7 '07 #3
markrawlingson
346 Expert 100+
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
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.