Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2700

[3.3.x] Support Forum • Re: How to optimize forums to avoid database CPU saturation?

$
0
0
I woiuld 100% turn off all extensions first. Its a very simple first test and you can easily re-enable them.
Some things that have affected the performance of my sites:

* Extensions
* Sessions - check load settings - session length. If its a really long period of time, session table could be huge. Reduce it and then purge all sessions to clear them. (Users will need to log back in.)
* Bots - this one was huge for me, with some bots using huge amounts of system resources crawling the site. I added the following bad bots to my htaccess file:

BrowserMatchNoCase "libwww-perl" bad_bot
BrowserMatchNoCase "wget" bad_bot
BrowserMatchNoCase "LieBaoFast" bad_bot
BrowserMatchNoCase "Mb2345Browser" bad_bot
BrowserMatchNoCase "zh-CN" bad_bot
BrowserMatchNoCase "MicroMessenger" bad_bot
BrowserMatchNoCase "zh_CN" bad_bot
BrowserMatchNoCase "Kinza" bad_bot
BrowserMatchNoCase "Bytespider" bad_bot
BrowserMatchNoCase "Baiduspider" bad_bot
BrowserMatchNoCase "Sogou" bad_bot
BrowserMatchNoCase "Datanyze" bad_bot
BrowserMatchNoCase "AspiegelBot" bad_bot
BrowserMatchNoCase "adscanner" bad_bot
BrowserMatchNoCase "serpstatbot" bad_bot
BrowserMatchNoCase "spaziodat" bad_bot
BrowserMatchNoCase "undefined" bad_bot
BrowserMatchNoCase "PetalBot" bad_bot
BrowserMatchNoCase "trendictionbot" bad_bot
BrowserMatchNoCase "SEMrushbot" bad_bot
BrowserMatchNoCase "AhrefsBot" bad_bot
Order Deny,Allow
Deny from env=bad_bot

User-agent: SEOkicks
Disallow: /

Statistics: Posted by ukautoforums — Thu Jul 25, 2024 2:22 pm



Viewing all articles
Browse latest Browse all 2700

Trending Articles