We are running classic ASP (3.0) on a Windows 2003 Server and IIS 6.0. A few
weeks ago the web application begun to report errors "out of memory" for a
few times a day. When this happens the IIS 6.0 is flushing the ASP Template
Cache and virtual memory for the w3wp.exe process and is beginning to
recompile the ASP pages. This leads to heavy cpu load for some minutes and a
slow responding web application. Also there are many script compilation
errors at this time. After that the server is running fine for some time, but
it will happen again and again. Sometimes the server is doing this every few
minutes and we have to reset the IIS.
Problem is, that we are running a e-commerce application and restarting the
application leads to a loss of all shopping carts and so we are loosing
customers.
Some more things to mention:
- We restart the IIS every morning at 6.00pm automatically.
- We allready tried to isolate every ActiveX COM to see if there is a
problem with one them, but with no success
- We tried to analyze a possible memory leak with debug diagnostics but we
are not able to understand the analyzed data and also the server is not
responding everytime when debugger is attached caused by heavy cpu load when
debugging. The memory dump I successfully created a short time before "out of
memory" error occured is about 2 GB in size.