25
Quote:
gdamania wrote:
I have the same problem on my site.
My webhost allows only 3600 CPU seconds/day, but I was using over 20000. After enabling all cache features and blocked web bots, it reduced it to 15000, which is still too much. My site recieves around 100,000 requests/day.
It's hard to pinpoint where all the CPU usage is coming from... anyone have ideas?
Don't look too far for the answers. If you cannot change server configuration there are some steps you MUST to do:
1. Preferences -> Main "Use gzip compression?" - NO!!! NO!!! NO one more time!!!
2. Update module template .html files from themes/your theme/templates directory? - NO!!!! It reduces MySQL queries count.
3. Cache the most static blocks, for
http://www.gdamania.net/ they coul be "Site Search" - no less than 1 day, "Welcome to GDAmania!" - no less than 1 day, "Latest Downloads" ~ 30 min, "Current Forum Topics" ~ 5 min. "Latest News" ~30 min. "Language" no less than 1 day. Of course cahching of dynamic blocks, where content depends on the site user group, is more difficult, so for beginning leave as is.
I can bet, that this would reduce load ~3-5 times on
http://www.gdamania.net/100 000 requests isn't very much to handle. As I can see You have Alexa ~300000, so I pretend even mediocre Celeron 1000Mhz, 1Gb RAM can host 50 XOOPS sites like this.