Slow MainWP performance

I am a new user of MainWP. I host 140 sites and am using MainWP to manage them all. I have noticed massive delays when viewing pages like /wp-admin/admin.php?page=PluginsManage

I am running a separate WP instance for my mainwp install and I am on Gridpane.
From what I can tell, all settings are correct.

Note that I am using Litespeed and Cloudflare.
I am also using Fail2Ban and 7G WAG along with all of GridPane’s additional measures.

Any suggestions?

### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  512M                                         Pass        
WordPress Version                  >=6.2                                                  42                                           Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.29.0                                               7.81.0                                       Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/3.0.2                                Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    No functions disabled.                                   
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, intl, json, libxml, litespeed, mbstring, msgpack, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, posix, random, readline, redis, session, soap, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           600                                          Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=256M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   512M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   512M                                         Pass        
PHP Version                        >=7.4                                                  8.2.11                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  8.0.34-26                                    Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                                                                         
HTTPS                              ON                                                     
Memory Usage                       6.56 MB                                                
Operating System                   Linux                                                  
Request Time                       1704817996                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    LiteSpeed                                              
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    No                                                     
MainWP Dashboard Version           Latest: 4.6 | Detected: 4.6 Pass                       
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of connected sites          105                                                    
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary backup system              MainWP Legacy Backups                                  
REST API enabled                   Yes                                                    
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

MainWP Lighthouse Extension        4.0.5                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.2                                                    Active                                       Pass        
MainWP White Label Extension       4.1.4                                                  Active                                       Pass        

### Plugin                         Version                                                Status                                    ###

ActiveCampaign Postmark (Official) 1.20.0                                                 Active                                       
Anti-Spam by CleanTalk             6.24                                                   Active                                       
LiteSpeed Cache                                                          Active                                       
MainWP Dashboard                   4.6                                                    Active                                       
WP fail2ban                        5.2.1                                                  Active                                       
WP fail2ban Blocklist              2.2.1                                                  Active                                       

What are your server specs, and is the server also running child sites?

1 Like

Hey @fizzpopmedia

Welcome to the MainWP community!

Since your Dashboard has over 100 Child Sites, we highly recommend enabling Optimize for shared hosting or big networks on the Settings → Advanced Settings page.

In fact, we recommend the use of this feature for all Dashboards with over 30 Child Sites!

It will likely dramatically improve the performance of your Dashboard.

Another tweak that will likely help is to increase the PHP Memory to 1024MB. More info here: Resolving System Requirement Issues - MainWP Documentation

And finally, if you don’t see satisfactory improvements after that, please try temporarily disabling 3rd party plugins and see if that helps. Some of them may be using a lot of resources, or there may potentially be a conflict with MainWP Dashboard plugin.

The cached version makes a HUGE difference.

1 Like

Great, I’m glad the Optimize for shared hosting or big networks setting helped.

Thanks for letting us know.

Honestly, I would enable that caching setting by default.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.