Forum Moderators: open
I have been writing asp pages for the past couple of years, and I have never had a problem. Now, I will admit outright that i am a little bit of a sloppy programmer, and perhaps I do not 'tidy up' code as much as i should, IE clearing out variables, closing connectiones, etc.
Recently I have been working on a new site, and the page keeps going down.
Turns out the hosting service is not a full fledged service, the owner's brother-in-law runs it.
I have no idea how this guy has his server set up.
Is it possible that my code could be crashing his server?
clearing out variables, closing connectiones, etc.
Once enough memory is used up like this the machine becomes unstable and will stall / crash.
Another equally common possibility is that something is causing the machine to crash because its not fully patched. Lots of random crashes with very little associated traffic tend to suggest that there's something wrong with the server rather than the code.
- Tony
Its hard to figure out what is going on, since I do not know how to run a server.
Would you say it would be the responsibility of the web host to make sure his server is patched up and running OK, instead of calling me up and saying why he doesent know why his server keeps going down?
im putting in today that the owner moves it to a more responsible host.. this nickle and dime brother-in-law hack job just is not going to cut it.
(The High Isolation will allow your "sloppy" code to crash your single Application without affecting other areas of the server)
<edit>Of course, it would be nice to run all sites in High Isolation to quickly pinpoint the problem. This feature SHOULD be implemented on a shared hosting server.</edit>
Now, all pages finish executing, all objects destroyed, no more server crashes :)
I would also suggest what duckhunter said, to protect other apps, run the suspect site in its own memory space.