Performance problems! HEEEELP!

Hi,

 

I just migrated 2 of my large chat communities from Joomla/Visichat to Dolphin.... But now when i opened the sites my dedicated machine is crying and i have load avg on 90+ (had 0.8 before with 200 concurrent chatters online on my sites).

I have walked through all performance tweaks on the Wiki, and it looks like each connected user has an OWN Apache2 process trying to steal the CPU.

 

Am running the Raychat + RMS on the site, still it renders slow as "#%&&&%". Was this the wrong move to migrate to Dolphin (i didn't copy anything from my old sites, so clean install and i have 300 and 200 users on each site since i opened it up yesterday.

 

Running on a dedicated DUAL Intel(R) Xeon(TM) CPU 3.00GHz  / 4 GB RAM and Raid5 disks :(

 

Grrr Dolphin is killing my server totally :/

 

So, am i able to have 20.000+ members on my site and still get performance ? is it better off to run dolphin under another httpd ??

 

Please help..

 

top - 00:41:21 up 340 days, 21:12,  2 users,  load average: 91.86, 85.12, 74.72
Tasks: 246 total, 100 running, 146 sleeping,   0 stopped,   0 zombie
Cpu(s): 92.5%us,  7.0%sy,  0.2%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:   3632620k total,  3375588k used,   257032k free,   174200k buffers
Swap:  2650684k total,    64704k used,  2585980k free,  1620948k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4650 mysql     20   0 1244m 208m 5908 S    5  5.9   8:31.23 mysqld
12987 www-data  20   0 32008  12m 3952 R    3  0.3   0:12.62 apache2
13199 www-data  20   0 31140  11m 3948 R    3  0.3   0:08.50 apache2
11263 www-data  20   0 34640  15m 4324 R    3  0.4   0:58.11 apache2
12282 www-data  20   0 30568  11m 4792 R    3  0.3   0:28.58 apache2
12918 www-data  20   0 30968  11m 3808 R    3  0.3   0:14.62 apache2
12934 www-data  20   0 32340  12m 4192 R    3  0.4   0:14.04 apache2
13203 www-data  20   0 31288  11m 3996 R    3  0.3   0:08.58 apache2
11138 www-data  20   0 33644  13m 4292 R    2  0.4   1:02.73 apache2
11518 www-data  20   0 44856  25m 4388 R    2  0.7   0:49.69 apache2
 8028 www-data  20   0 39100  20m 5628 R    2  0.6   2:50.47 apache2
 8267 www-data  20   0 33284  13m 4324 R    2  0.4   2:41.42 apache2
 8585 www-data  20   0 36680  17m 4384 R    2  0.5   2:35.35 apache2
11750 www-data  20   0 33836  13m 3480 R    2  0.4   0:50.35 apache2
11788 www-data  20   0 33024  12m 4064 R    2  0.4   0:58.09 apache2
12033 www-data  20   0 32432  12m 4080 R    2  0.3   0:36.39 apache2
12391 www-data  20   0 37244  17m 4204 R    2  0.5   0:25.42 apache2

Quote · 12 Aug 2011

There are a lot of periodic requests in Dolphin, try to disable them or gradually increase the time between these requests.

Automatic refresh is the most resource consuming operation since it happens periodically (in some cases every 2-3 seconds) increasing update time can lower server load a lot. Also upon page reload all this information is updated too, so page reloads rate should be taken into account:
 
  1. Spy refresh time, increase to 30 seconds or higher: http://www.yoursite.com/m/spy/administration/
  2. Member menu update time, increase to 60 seconds or higher: inc/classes/BxDolMemberMenu.php file, the following string - var $iBubblesUpdateTime  = 60000; // in milliseconds;
  3. Shoutbox update time, increase to 30 sec or more: http://www.yoursite.com/modules/index.php?r=shoutbox/administration/
  4. Simple messenger update time, increase to 4 sec or so: http://www.yoursite.com/administration/settings.php?cat=101
  5. Flash Video Messenger update time, increase to 7 sec or so (dolphin admin -> modules -> flash apps -> messenger -> update interval), or it is better to uninstall one of the messengers.
Try to uninstall both messengers at all, to see if it helps.
What is your php setup ? is it cgi or suphp ? - if yes, try to switch to mod_php(apache dso module).
Is some php accelerator installed (like eAccelerator, xcache, etc) ? try to increate shared memory cache for accelerator (by default it is 16-32M), try increase it to 256M.

Also the best performance is on litespeed or nginx web servers, much lower memory usage and cpu load is less too, you can try it.
Rules → http://www.boonex.com/terms
Quote · 13 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.