Are there any common strategies for reducing MyBB's CPU usage? My forum is hosted on BlueHost, and we've been hitting the CPU limit for the past few days with ~20 members online.
Thanks!
Deactivate plugins that cause a lot of load or are loaded a lot of times. xmlhttp.php seems to be a big offender for cpu load though so you might want to disable xmlhttp requests in AdminCP -> Configuration -> Server and Optimisation Settings
Update 1.6.3 has a few optimizations for forumdisplay and showthread, you could take a look at that.
Remove shoutbox if you use that.
And not sure if it works for smaller boards, but it seems to reduce load too if you lower the minutes the who's online is covering. I had extreme traffic a few times and forum did way better when i set it 1 minute. But that was with 300 people in 1 minute.
20 in 15 minutes shouldn't be too much of a problem. Your host is not the best though..
Here are the plugins we use:
BB GeSHi for Lua highlighting (edited, and not used in many posts)
Dynamic Header/Footer
Fassim AntiSpam
Google SEO
Image Resizer and Optimizer (I don't use the GD part, just the HTML resizing)
reCAPTCHA
Disable Special Characters in Usernames
Thanks Button
I'll try disabling xmlhttp like you suggested.
Thanks!
It's mainly because of your host, you shouldn't ever have to turn off XMLHTTP.
(2011-04-09, 08:11 PM)Disturbed Wrote: [ -> ]Update 1.6.3 has a few optimizations for forumdisplay and showthread, you could take a look at that.
Remove shoutbox if you use that.
And not sure if it works for smaller boards, but it seems to reduce load too if you lower the minutes the who's online is covering. I had extreme traffic a few times and forum did way better when i set it 1 minute. But that was with 300 people in 1 minute.
20 in 15 minutes shouldn't be too much of a problem. Your host is not the best though..
Is there a way I can get a diff of what files changed between updates? I'm running 1.6.0; my copy of MyBB is integrated with my game site so I had to change some of the core files.
We were using EastSolid, which was better than Bluehost, but we outgrew the plan we were using and their better plans aren't within our budget right now.
I think the Google SEO is the heaviest CPU user of those plugins. Don't uninstall (when you disable to try) that one! Or you lose all your indexed links.
1.6.3 actually hasn't been released yet, so you'll have to look through the dev site.
I don't know what you're paying currently but I can recommend
www.lithiumhosting.com and
www.directspace.net . Both have excellent support and top-notch servers.
(2011-04-09, 08:16 PM)phpscriptcoder Wrote: [ -> ] (2011-04-09, 08:11 PM)Disturbed Wrote: [ -> ]Update 1.6.3 has a few optimizations for forumdisplay and showthread, you could take a look at that.
Remove shoutbox if you use that.
And not sure if it works for smaller boards, but it seems to reduce load too if you lower the minutes the who's online is covering. I had extreme traffic a few times and forum did way better when i set it 1 minute. But that was with 300 people in 1 minute.
20 in 15 minutes shouldn't be too much of a problem. Your host is not the best though..
Is there a way I can get a diff of what files changed between updates? I'm running 1.6.0; my copy of MyBB is integrated with my game site so I had to change some of the core files.
We were using EastSolid, which was better than Bluehost, but we outgrew the plan we were using and their better plans aren't within our budget right now.
Yes, you can on the dev site :
http://dev.mybboard.net/issues/1406
Maybe you can also reduce load by setting cache handler to files in config.php