SMF Support > Server Performance and Configuration

Reducing CPU usage

(1/4) > >>

orange:
My host has told me that my forum is using an unacceptably high amount of the server CPU, and if I don't reduce it they will have to terminate my account.

My forum isn't particularly big -- about 110,000 posts with 250 posts per day, and about 40 users online at a time.

I already have the search feature disabled because of previous slow loading problems.

Any tips for what else I can disable to speed it up? It seems to be the PHP scripts themselves that are causing the problems, because my host says it's Apache and not the MySQL server that is causing the high load.

Are there any bits of functionality I could easily disable that would have a noticable effect on the speed of the forum?

Ben_S:
Ask them to provide proof you are using the resources they say you are.

orange:
They have done, Apache Extended Status is enabled and when I disabled the forums the CPU load fell from 7% to 1%.

They say 7% is unacceptably high for a shared hosting account, which I can understand because they probably have around 100 sites per server.

Is there any way I can trim even a couple of percent off the load? Would disabling features like the calendar help?

Why does viewing a topic need 16 queries to generate the page?

Ben_S:
40 Users online is pratically nothing, I currently have 374 online (although that is in a 30 min period - for 15 mins it is just under 270) and my server load is 0.32.

SMF is fairly well optimized, do you have any mods installed?

Did your host really express the server load as a percentage or just a number?

orange:
I don't have any mods installed, no, just a plain SMF 1.0.2

My host expressed it as a percentage, but I have access to the Apache Status page, which was displaying loads of 5-7% with the forums online, reducing to about 1% after I disabled them.

While 7% CPU load would be negligible on a dedicated server, they point out that on a shared hosting account that is well above my fair share.

I'm currently running MySQL 3.23 -- would upgrading to version 4 make any significant difference to performance?

Navigation

[0] Message Index

[#] Next page

Go to full version