Is Bubba useless for PHP?
Posted: 16 Jun 2009, 05:30
So far I have been using my Bubba as a glorified NAS, and a slow one at that!
However, I have recently started to use it as a real server - and I have found it unusably slow.
I have written a very simple application in PHP that allows me to manually input data into a MySQL database and display that data on a web page.
Sometimes this runs slowly, but moderately acceptable for a small cheap server, but at times it can take well over a minute to display anything.
As far as I can tell the problem is related to the webserver being idle for a while - it seems that something gets unloaded and needs to be restarted from scratch if it has not been used for a few minutes.
I have installed APC and it is working, but it does not seem to prevent the long delays that happen from time to time.
Any ideas, or do I need to dust off an old PC and a copy of Ubuntu if I need my site to be usable?
However, I have recently started to use it as a real server - and I have found it unusably slow.
I have written a very simple application in PHP that allows me to manually input data into a MySQL database and display that data on a web page.
Sometimes this runs slowly, but moderately acceptable for a small cheap server, but at times it can take well over a minute to display anything.
As far as I can tell the problem is related to the webserver being idle for a while - it seems that something gets unloaded and needs to be restarted from scratch if it has not been used for a few minutes.
I have installed APC and it is working, but it does not seem to prevent the long delays that happen from time to time.
Any ideas, or do I need to dust off an old PC and a copy of Ubuntu if I need my site to be usable?