MyBB Community Forums

Full Version: Server Load
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi
I have Mybb forum in very powerful server ( my forum not small and big 5-6 GB/D b.w )
but there is some issue in memory usage and server load .
my server load is 3-4 and memory usage is 86% ( 2 GB memory and Intel Xeon 3200 series Quad Core processor )
my other top process is MYSQL ( it is relate to mybb too )

my server is management and there is no attack or other security problem .

my friend have the same server and host 490 website on this server with load 1.5 ~ 2 and 40% ~ 50% memory usage .

what should i do ?
unnoficial tips, from my personal experience:

- use CSS files stored in server, not in database (CSS Medium) >> http://wiki.mybboard.net/index.php/Admin...on_Options
- use gzip compression = 1
- enable Zend Optimizer to Cache PHP, editing "inc/config.php" and your PHP.ini
- uninstall mods that create new tables in database...
- install ajax quickreply by zinga burga
- decrease signature chars. lenght for users
- disable bots in your forum using robots.txt (showthread.php, forumdisplay.php, index.php, member.php, etc)
- close the forum to guests
- create "newbie" usergroup (0 posts) wich dont have permission to search your forum
hackforums.net uses about 5GB a day...it's running on a Pentium 4 3.2ghz HT with 2GB ram. There are also about 40 other sites on server doing a total of about 15GB a day traffic. You or your host are doing something wrong. My average load is under .5-.6.

Your problem has nothing to do with mybb software and everything to do with your server management.
You should look at optimizing your MySQL configuration, followed by Apache configuration.

For another reference, my forum (the primary site on my server) uses around 20GB a day, and it's hosted on VPS with 512MB RAM. The MySQL server uses around 50MB of RAM.
Server loads are typically 0.02-0.05.
In addition to what was said above, you could also follow the instructions laid out in this blog post by Tikitiki: http://tiki.rct3x.net/2007/07/20/optimiz...ge-boards/
aglioeolio Wrote:unnoficial tips, from my personal experience:

- use CSS files stored in server, not in database (CSS Medium) >> http://wiki.mybboard.net/index.php/Admin...on_Options
- use gzip compression = 1
- enable Zend Optimizer to Cache PHP, editing "inc/config.php" and your PHP.ini
- uninstall mods that create new tables in database...
- install ajax quickreply by zinga burga
- decrease signature chars. lenght for users
- disable bots in your forum using robots.txt (showthread.php, forumdisplay.php, index.php, member.php, etc)
- close the forum to guests
- create "newbie" usergroup (0 posts) wich dont have permission to search your forum

First thank you .
css , gzip , robots done .
what should i do for this :
- enable Zend Optimizer to Cache PHP, editing "inc/config.php" and your PHP.ini

zend optmizer already active .
labrocca Wrote:hackforums.net uses about 5GB a day...it's running on a Pentium 4 3.2ghz HT with 2GB ram. There are also about 40 other sites on server doing a total of about 15GB a day traffic. You or your host are doing something wrong. My average load is under .5-.6.

Your problem has nothing to do with mybb software and everything to do with your server management.
I transfered to this server 4 days ago , all software and script is up to date , php run with dso and management is ok .
ZiNgA BuRgA Wrote:You should look at optimizing your MySQL configuration, followed by Apache configuration.

For another reference, my forum (the primary site on my server) uses around 20GB a day, and it's hosted on VPS with 512MB RAM. The MySQL server uses around 50MB of RAM.
Server loads are typically 0.02-0.05.

wow : O
can you manage my server for mybb forum ?
this is my apache report :
Server uptime: 12 hours 53 minutes 37 seconds
Total accesses: 299912 - Total Traffic: 3.6 GB
CPU Usage: u275.14 s11.6 cu0 cs0 - .618% CPU load
6.46 requests/sec - 81.8 kB/second - 12.7 kB/request
89 requests currently being processed, 6 idle workers
---------------------
Server Load 1.75 (4 cpus)
Memory Used 54.9 %

but this is not my traffic time .

one of my friends said maybe my forum attacked by one of the major attacker ip :
~~

116.75.9.114
193.152.212.214
** 121.73.57.195
** 121.137.148.148
121.157.137.48**
**121.162.209.31
122.107.193.71
125.212.11.97
**121.162.201.68
64.228.69.188
64.230.65.193
67.68.7.126
70.71.134.80
70.80.253.90
71.101.212.231
70.53.94.137
76.64.107.58
75.65.124.125
75.118.141.210
75.118.20.78
75.108.168.154
83.85.163.152
24.139.9.39
** 24.178.114.11
76.71.1.97
~~
but
i already installed modevasive and dosdeflate that automatically block ips that access too many times
petti Wrote:what should i do for this :
- enable Zend Optimizer to Cache PHP, editing "inc/config.php" and your PHP.ini

zend optmizer already active .

open inc/config.php, about line 33:

Quote:/**
* Data-cache configuration
* The data cache is a temporary cache
* of the most commonly accessed data in MyBB.
* By default, the database is used to store this data.
*
* If you wish to use the file system (inc/cache directory)
* you can change the value below to 'files' from 'db'.
*/

$config['cache_store'] = 'db';

it´s already explained there Smile

change to:
$config['cache_store'] = 'files';

and set #777 permission in your FTP Client to "inc/cache" folder





Follow tips from ppl who posted here already, theyre all experienced developers and skilled admins with mybb.
Pages: 1 2