Re: hitting the limits



windandwaves 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.

I dont believe you have to "close" PHP scripts or even database connections.

The site also accesses a 80 Megabyte database.

Do you know of a way I can find out where the problems are or improving the performance of the site?

I uses ob_start and ob_end_flush, would that cause problems?

TIA


Nicolaas




Well, ob_start and ob_end_flush require system resources; the bigger the page the more resources it requires.

You might not be using many resources with it. You may be using a lot. It all depends on the site and what you're using it for.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: hitting the limits
    ... limits and I keep getting the 500 error. ... I dont believe you have to "close" PHP scripts or even database ... The site also accesses a 80 Megabyte database. ... You might not be using many resources with it. ...
    (comp.lang.php)
  • Re: hitting the limits
    ... limits and I keep getting the 500 error. ... I dont believe you have to "close" PHP scripts or even database ... The site also accesses a 80 Megabyte database. ... You might not be using many resources with it. ...
    (comp.lang.php)
  • hitting the limits
    ... www.friars.co.nz that seems to be hitting the limits ... According to the people from webfarm it ... I dont believe you have to "close" PHP scripts or even database connections. ...
    (comp.lang.php)
  • Re: services
    ... I just wanted to add that if you are using any resources like files, sockets or database connections you'll want to make sure you close them explicitly instead of waiting for the GC to take care of it. ... should there be some doevents() so the garbage collector ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: About Dispose
    ... handles, database connections, etc, etc). ... it is in your best interests to call the Dispose method as soon ... > Thus, if you think the unmanaged resources are important, you call Dispose ...
    (microsoft.public.dotnet.languages.csharp)

Quantcast