How to boost performance on MainWP Dashboard?

Hi

I’m hosting MainWP Dashboard on a subdomain at Kinsta and it works fine. But I’m not sure how to optimize performance 100%, so if anyone has some recommendations I’m all ears.

Is it, for instance, recommended to use CDN (Kinsta uses KeyCDN)?
What about caching (I use WP-Rocket but I’m not sure if there are certain settings I should be aware of regarding MainWP)?

Here are my MainWP settings:
|Number Of Child Sites|45|
|Use WP-Cron|Yes|
|Optimize for Shared Hosting or Big Networks|No|
|Automatic Daily Update|Install trusted updates|
|Abandoned Plugins/Themes Tolerance|365|
|Maximum number of posts to return||
|Maximum number of pages to return||
|Primary Backup System|Default MainWP Backups|
|Maximum simultaneous requests|10|
|Minimum delay between requests|200|
|Maximum simultaneous requests per ip|10|
|Minimum delay between requests to the same ip|200|
|Maximum simultaneous sync requests|10|
|Minimum simultaneous install/update requests|3|

2 Likes

Hi @webfronten, I am not sure if running any caching plugin on the Dashboard site is a good idea. Even if it helps with the loading speed, it’s always better to have fresh data instead of cached.

Regarding your MainWP Settings, everything looks good to me. However, be careful with Advanced Options, if you go too high, updates and data sync may start failing and behaving strangely. As long as you are sure that everything is working properly, you can keep increasing number of simultaneous requests. When it starts failing, go back to last safe value and that way you will find the sweet spot for your setup.

Other than that, I would like to see PHP info from your MainWP Dashboard server, if you want, you can grab the details from the MainWP > Status page. Once I see that I can advise further.

1 Like

Hi Bogdan

Thanks a lot. I have now deactivated WP Rocket caching but Kinsta also has it’s own caching running, and I don’t know if it’s possible (or recommended) to deactivate that as well.

I can’t send the system report in this forum. It keeps waiting when I try to send. Weird!?

Thanks for that notice, I turned on Google Perspective yesterday and I’m wondering if it is having an issue with the system report since it’s a large file.

I turned it off now can you please try again to add your System Report?

1 Like

### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.0.7.2                                                4.0.7.2                                      Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Activity Log for MainWP            1.4.1                                                  Inactive                                     Warning     
Advanced Uptime Monitor Extension  5.0.1                                                  Active                                       Pass        
MainWP Branding Extension          4.0                                                    Active                                       Pass        
MainWP Bulk Settings Manager Extension4.0.1                                                  Active                                       Pass        
MainWP Clean and Lock Extension    4.0.1                                                  Active                                       Pass        
MainWP Client Reports Extension    4.0.3                                                  Active                                       Pass        
MainWP Custom Dashboard Extension  4.0                                                    Active                                       Pass        
MainWP Favorites Extension         4.0.2                                                  Active                                       Pass        
MainWP Google Analytics Extension  4.0.1                                                  Active                                       Pass        
MainWP iThemes Security Extension  4.0.1                                                  Active                                       Pass        
MainWP Maintenance Extension       4.0.1                                                  Active                                       Pass        
MainWP Page Speed Extension        4.0.1                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.0                                                    Active                                       Pass        
MainWP WooCommerce Shortcuts Extension4.0                                                    Active                                       Pass        
MainWP WooCommerce Status Extension4.0.1                                                  Active                                       Pass        
Toolbar Extras for MainWP          1.1.0                                                  Inactive                                     Warning     
WordPress                          
WordPress Version                  >=3.6                                                  5.3.2                                        Pass        
WordPress Memory Limit             >=64M                                                  256M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.4.2                                        Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   128M                                         Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.47.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.0.2g                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             apache_child_terminate,  apache_get_modules,  apache_get_version,  apache_getenv,  apache_note,  apache_setenv,  disk_free_space,  disk_total_space,  diskfreespace,  dl,  escapeshellarg,  escapeshellcmd,  get_current_user,  getmygid,  getmyinode,  getmypid,  getmyuid,  getrusage,  highlight_file,  lchgrp,  lchown,  libxml_disable_entity_loader,  link,  passthru,  pclose,  pcntl_alarm,  pcntl_exec,  pcntl_exec,  pcntl_fork,  pcntl_get_last_error,  pcntl_getpriority,  pcntl_setpriority,  pcntl_signal,  pcntl_signal_dispatch,  pcntl_sigprocmask,  pcntl_sigtimedwait,  pcntl_sigwaitinfo,  pcntl_strerror,  pcntl_wait,  pcntl_waitpid,  pcntl_wexitstatus,  pcntl_wifexited,  pcntl_wifsignaled,  pcntl_wifstopped,  pcntl_wstopsig,  pcntl_wtermsig,  popen,  posix_getpwuid,  posix_kill,  posix_mkfifo,  posix_setpgid,  posix_setsid,  posix_setuid,  posix_uname,  proc_close,  proc_get_status,  proc_nice,  proc_open,  proc_terminate,  prog_get_status,  shell_exec,  show_source,  symlink,  system, exec,
PHP Loaded Extensions              Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.4.6-MariaDB-1:10.4.6+maria~xenial         Pass        
MySQL Mode                         ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    nginx/1.17.5                                           
Operating System                   Linux                                                  
Architecture                       64 bit                                                 
Server Protocol                    HTTP/1.0                                               
HTTPS                              ON - on                                                
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       24.45 MB                                               
Request Time                       1580825847                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              45                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksNo                                                     
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return                                                         
Maximum number of pages to return                                                         
Primary Backup System              Default MainWP Backups                                 
Maximum simultaneous requests      10                                                     
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip10                                                     
Minimum delay between requests to the same ip200                                                    
Maximum simultaneous sync requests 10                                                     
Minimum simultaneous install/update requests3                                                      
Active Plugins                     
Activity Log for MainWP            1.4.1                                                  Active                                       
Code Snippets                      2.14.0                                                 Active                                       
Disable Comments                   1.10.2                                                 Active                                       
Google Pagespeed Insights          4.0.3                                                  Active                                       
iThemes Security Pro               6.3.3                                                  Active                                       
MainWP Child                       4.0.6.2                                                Active                                       
MainWP Dashboard                   4.0.7.2                                                Active                                       
MainWP Key Maker                   1.1                                                    Active                                       
Toolbar Extras                     1.4.9                                                  Active                                       
Toolbar Extras for MainWP          1.1.0                                                  Active                                       
WordPress Backup & Security Plugin - BlogVault3.4                                                    Active                                       
WP Rocket                          3.4.4                                                  Inactive                                     

1 Like

Hi @webfronten, everything seems pretty good to me. The only thing that I would consider is increasing the cURL timeout to 300s.

Thanks @bogdan. And the cURL is the only thing that I can’t change at Kinsta, so if it’s very important I have to find another host for my MainWP-site. Is it important and if so, do you have any recommendations to another host for MainWP?

@webfronten, you are welcome. In most cases, cURL Timeout 60 will be sufficient, so I wouldn’t recommend moving to another host before this becomes a problem. However, in case you are planning to clone large sites, or run backups that take more than 60 seconds, than this could become the problem.

2 Likes

@bogdan, OK thanks.
I will not be using either the clone or the backup features, because I’m also hooked up with BlogVault. But good to know anyways :+1:

2 Likes

thanks @webfronten for the update.

If you get a chance to play with the Advanced Settings, feel free to share the best setup so if any other Kinsta users stumble upon this topic, they can try the same.

3 Likes

@webfronten You may still be able to change your cURL Timeout via your wp-config.php file. It’s worth a shot. Simply add this line in the correct area in that file. And recheck if your Report has Changed. Even if you don’t need to change it right now it’s good to know that you can or not.

ini_set("default_socket_timeout", 300);

3 Likes

You can improve MainWP performance.

5 Likes

This topic was automatically closed after 29 days. New replies are no longer allowed.