I have noticed that the search.asp is causing our application pool to reset every 5 minutes or so because it is running out of virtual memory? We have it set at about 512 MB. Any ideas why it is doing this?
Announcement
Collapse
No announcement yet.
Application Pool
Collapse
X
-
We are not sure why this is happening. But I think it is likely that is it a problem with ASP itself and not our script. Mainly becuase ASP should release the RAM that was used after a script has finished running.
What O/S and version of IIS are you using?
After doing some searching we found this page.
http://support.microsoft.com/default...;EN-US;q165335
It seems older versions of ASP leaked memory.
Is search.asp in its own application pool or sharing one with other applications?
Roughly how many searches would be performed on your web site during the 5min period before the reset? If it is always exactly 5 min, then maybe you have the setting, "Recycle worker processes (in minutes)" set?
Can you monitor the memory usage and note by how much it grows after each search?
How big is your site? Can you post the URL to your search function?
If you have a large site then it is possible that the usage of 512MB of VIRTUAL memory might normal. Each and every Windows process gets 4GB of Virtual memory. Do you know how much physical RAM is being used?
We'll do some testing our our server to see if we see the same effect.
----
David
-
We've done some testing and did not detect any memory leaks or anything causing the application pool to reset.
Comment
Comment