PHP slowing down?
Posted by: Crashthatch
Posted on: 2006-02-13 15:02:00
My pages generated using PHP and mySQL seem to be getting slower.
I have a PHP script using mySQL which runs every 15 minutes. Part of the output from this script is the execution time. I've noticed that recently the times have been getting longer and longer (from 10 secs in December to around 40 secs now). The script is doing the same job, and the compared times were both taken at the same time of day (17:00 - 19:00). This applies for other scripts/pages too. My site is getting roughly the same amount of traffic now as it has been for the past few months, so I don't think that is the cause.
It's getting to the point that my Windows 98, P3 450Mhz server I use for developing is almost as fast as my proper Dreamhost webspace (whereas it used to be 10 times slower).
Is anyone else experiencing this, and does anyone have any suggestions for fixing it?