I'm having a really strange issue with my CMSMS sites.
Background:
VPS with 512Mb dedicated RAM, 1Gb burstable which is running 6 low traffic (and non-database intensive sites)
Server: Apache 2.28, PHP 5.2.6, Zend Optimizer, eAccelerator, MySQL 5.0.51a.
The server is in no way overloaded, load averages around 0.3. Non CMSMS sites run without problems or latency. (Hosting company is Clook who have excellent network and reputation. The VPS node I'm on is running latest Viruozzo and currently has no issues performance, stability-wise according to Clook)
PHP memory limit 32MB
MySQL query cache enabled and my.cnf parameters optimised for the Virtuozzo RAM settings.
MySQL slow query logging is enabled and showing nothing.
Issue:
First call to CMSMS page can take 45 - 60 seconds. A page refresh returns a generation time of 0.1 - 0.3 seconds as does navigating around the site. Leave the site for 30 minutes then return - back to ridiculous generation times for the first page load, then subsequent pages fine again.
I have spent several months following various threads on the forum regarding speeding up the sites:
1. Uninstalled and removed all unused modules
2. Ensured caching is enabled on all pages
3. Installed {static_stylesheet} mod
4. Using file based menu templates
Pages generate average of 25 SQL queries.
CMSMS versions: 1.4.1. No additonal modules installed.
This post is really targeted at the network, LAMP gurus. I can't see this being a CMSMS code issue. Crappy hosting would surely give consistently slow parsing times. The post first page generation times of 0.1s appear from the forums to be in the acceptable to good range.
Does anyone have any idea which component of the hosting setup could be causing this weird behaviour?
Any help greatly appreciated. I love CMSMS and can't bring myself to use anything else
