Please do not bump a 2 year old thread with an unrelated question.
Also you are mistaken. A template does not perform a database call. The underlying (plugin)code that calls the template would do that.
Seems you are overloading the server to a level where it is performing a forced shutdown. Once it is at that stage there is not much you can do anymore, you will need to prevent it getting to that point.
But for further discussion of your problem please open a new thread describing your problem.
|