Jump to content

Our forum is extremely slow after upgrading to V4

Featured Replies

Posted

Hi,

We took over the forum hundesonen dot no in june, and upgraded to IPBoard 4 i september. After the upgrade we've have serious performance issues.

To gain extra performance we moved the forum to a new VPS when we upgraded to IPB4, which means we have two possible sources for the lack of performance.

I'm a web developer, but have zero experience with IPBoard. I've tried everything I can think of. I've optimized MySQL, tweaked Nginx, using cache, talked to the VPS vendor, with only minor performance gains as a result.

Is there somebody out there who can help us? :)

Our VPS has 250 GB SSD, 8GB ram, 4 core CPU. The MySQL DB is 8.6 GB and consist of bot MyISAM and InnoDB.

We run Ubuntu 14.04.3 LTS, PHP 5.5.9-1, nginx/1.4.6, mysql  Ver 14.14 Distrib 5.5.44.

It looks like we have some slow queries and MySQL locks. A lot of users also experience 502 Bad Gateway from Nginx. 
 

free -mh
             total       used       free     shared    buffers     cached
Mem:          7.8G       5.6G       2.2G       6.8M       181M       3.5G
-/+ buffers/cache:       2.0G       5.8G
Swap:         2.0G        14M       2.0G
top - 21:29:21 up 53 days, 12:49,  1 user,  load average: 1.44, 1.37, 1.35
Tasks: 118 total,   3 running, 115 sleeping,   0 stopped,   0 zombie
%Cpu(s): 29.0 us,  2.2 sy,  0.0 ni, 68.2 id,  0.1 wa,  0.6 hi,  0.0 si,  0.0 st
KiB Mem:   8176864 total,  5895468 used,  2281396 free,   185908 buffers
KiB Swap:  2096124 total,    14788 used,  2081336 free.  3635204 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                               
28687 www-data  20   0  438000  36132   7528 S  24.3  0.4   1:22.62 php5-fpm                                              
28716 www-data  20   0  440748  38720   7376 S  21.6  0.5   0:58.06 php5-fpm                                              
28565 www-data  20   0  452872  49588   7544 R  20.3  0.6   2:54.74 php5-fpm                                              
28465 www-data  20   0  440264  38384   7444 S  18.9  0.5   3:41.92 php5-fpm                                              
28744 www-data  20   0  437416  34440   6424 S  10.6  0.4   0:39.77 php5-fpm                                              
  496 mysql     20   0 7664628 1.185g   7616 S   7.0 15.2   3820:31 mysqld                                                
28619 www-data  20   0  441340  38340   6388 S   6.0  0.5   2:08.88 php5-fpm                                              
28366 www-data  20   0  441492  39744   7592 S   4.7  0.5   4:57.21 php5-fpm                                              
18783 www-data  20   0   88528   3432   1064 S   4.0  0.0  34:13.11 nginx      

Do you need any additional debug info?


We're in desperate need of help... Please, help us! :) 

10 minutes ago, Rolf Haug said:

Hi,

We took over the forum hundesonen dot no in june, and upgraded to IPBoard 4 i september. After the upgrade we've have serious performance issues.

To gain extra performance we moved the forum to a new VPS when we upgraded to IPB4, which means we have two possible sources for the lack of performance.

I'm a web developer, but have zero experience with IPBoard. I've tried everything I can think of. I've optimized MySQL, tweaked Nginx, using cache, talked to the VPS vendor, with only minor performance gains as a result.

Is there somebody out there who can help us? :)

Our VPS has 250 GB SSD, 8GB ram, 4 core CPU. The MySQL DB is 8.6 GB and consist of bot MyISAM and InnoDB.

We run Ubuntu 14.04.3 LTS, PHP 5.5.9-1, nginx/1.4.6, mysql  Ver 14.14 Distrib 5.5.44.

It looks like we have some slow queries and MySQL locks. A lot of users also experience 502 Bad Gateway from Nginx. 
 


free -mh
             total       used       free     shared    buffers     cached
Mem:          7.8G       5.6G       2.2G       6.8M       181M       3.5G
-/+ buffers/cache:       2.0G       5.8G
Swap:         2.0G        14M       2.0G

top - 21:29:21 up 53 days, 12:49,  1 user,  load average: 1.44, 1.37, 1.35
Tasks: 118 total,   3 running, 115 sleeping,   0 stopped,   0 zombie
%Cpu(s): 29.0 us,  2.2 sy,  0.0 ni, 68.2 id,  0.1 wa,  0.6 hi,  0.0 si,  0.0 st
KiB Mem:   8176864 total,  5895468 used,  2281396 free,   185908 buffers
KiB Swap:  2096124 total,    14788 used,  2081336 free.  3635204 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                               
28687 www-data  20   0  438000  36132   7528 S  24.3  0.4   1:22.62 php5-fpm                                              
28716 www-data  20   0  440748  38720   7376 S  21.6  0.5   0:58.06 php5-fpm                                              
28565 www-data  20   0  452872  49588   7544 R  20.3  0.6   2:54.74 php5-fpm                                              
28465 www-data  20   0  440264  38384   7444 S  18.9  0.5   3:41.92 php5-fpm                                              
28744 www-data  20   0  437416  34440   6424 S  10.6  0.4   0:39.77 php5-fpm                                              
  496 mysql     20   0 7664628 1.185g   7616 S   7.0 15.2   3820:31 mysqld                                                
28619 www-data  20   0  441340  38340   6388 S   6.0  0.5   2:08.88 php5-fpm                                              
28366 www-data  20   0  441492  39744   7592 S   4.7  0.5   4:57.21 php5-fpm                                              
18783 www-data  20   0   88528   3432   1064 S   4.0  0.0  34:13.11 nginx      

Do you need any additional debug info?


We're in desperate need of help... Please, help us! :) 

run your site through this too http://gtmetrix.com/

and give us result link, that would help people in ruling out some possible issues.

ACP - Customization - Themes - Edit your theme ->Custom

Javascript include location -> Mark 'Just before </body> tag' -> Save

Change your 'Leverage browser caching' from one day to one month.

  • Author

Thank you @Adlago, it makes the forum appear a bit faster.

Try to include a cookie-free domain . Here I describe how to do

 

 

  • Author

We hired @Makoto to help us, he tuned the server and forum which solved our issues. Highly recommended if anyone need any help with IP Board! :)

Thank you guys for contributing suggestions!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.