|
Posted by Jerry Stuckle on 04/29/06 17:45
windandwaves wrote:
> Shaun wrote:
>
>>On Sat, 29 Apr 2006 13:40:42 +1200, "windandwaves"
>><winandwaves@coldmail.com> wrote:
>>
>>
>>>Hi Folk
>>>
>>>I am managing a site, www.friars.co.nz that seems to be hitting the
>>>limits and I keep getting the 500 error. According to the people
>>>from webfarm it is because my script are too demanding or not closed
>>>properly.
>
>
>
> Hmmm, yes, we have only about 10,000 unique visitors per month and a
> relatively straight forward MySql database. However, we have shared
> hosting, I think that is where the problem lies....
>
> Thanks for your reply
>
>
>>Nicolaas
>
>
>
10K visitors a month and an 80Mb database are nothing. Any shared host should
be able to handle that, also.
If you think it's a problem, talk to your hosting company. Maybe the server
you're on is overloaded and they will move you to a less heavily loaded server.
I'm not familiar with webfarm - but they may be right, also. For instance, if
you don't close your mysql connection, it will be closed eventually. But the
connection will hang around until the garbage collector gets around to cleaning
things up.
And look at how efficient your code is. I've seen some pretty good code - but
I've seen some very inefficient code out there, also. And the inefficient code
will require a lot more resources.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|