Forum Moderators: open
Our site runs on IIS 5 with asp and SQL Server. We have regularly periods, where 500 Errors become more, until several hundreds per hour, then we have to reboot the server (either the web-server, or the SQL server).
I suppose that some objects are not beeing closed / set to nothing or some other problems of the same nature, but we have no influence on the asp code for the moment.
Is there anything we can configure on IIS to make sure that the problems that are generated by "bad code" have less consequences?
Ist there a parameter to determine how often unused objects are beiing closed and "set to nothing" automatically?
You could set the ASP script timeout to 20 seconds (default is 90 i believe). That way long running pages time out faster. If a ASP page takes more than 20 seconds to load, in most cases the programmer has to do a better job.
Because the garbage collection (cleaning up of objects that is not needed anymore) of IIS 5 is still not optimal, explicit setting objects to nothing is still a good practice.
You should identify the pages that cause this snowball effect and notify the author if you want to solve it in the long run.
I had a similar problem - the app ground to a halt because of memory leaking.
I don't know of a utility, but I did it by hand. Just went through and found every object that was created, and nullified it.
The weird thing is that we didnīt have the 500 Error problem for a week now. There is no pattern according to which it regularly occures and the traffic has definitly no direct influence!
I begin to wonder if some troubles in the connection to the AS400 or the AS400 server itself might be the cause...
A few errors are [IBM][Client_Access_Express_ODBC-Treiber_(32-Bit)] -> connection to AS400 interrupted
However, most of them are ASP_0147 ("not enough ressourses"). Can ASP_0147 happen due to a poor connection to AS400, for instance because while the Script tries to access it swallows the web-server or SQL-server ressources?
Finally, talk to the people who run the AS/400 to make sure that they are not running some job that is hanging your requests - that was part of the problem that happened to us.
I've had so many mystery ASP and other data problems with the AS/400 that simply turned out to need the newest patch for CA. Everytime the SYSADM loads an OS patch to the 400 you will need to check the client access.
While we're on the subject - is there a direct connection to the AS/400 yet, or is it still ODBC only?
[www-1.ibm.com...]
microsoft's is somewhere under Host Integration Server. Couldn't find the link...