Cannot update more than 2 sites at one time


If I try to for exemple to update or sync more than 2 files at a time it will keep on spinning forever. If I stop after a while the update some of the sites would have been updated some not (especially the local server one).

Here is the copy of my information:

### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  256M                                         Pass        
WordPress Version                  >=3.6                                                  6.0.1                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.0.2u                               Warning     
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.18.1                                               7.68.0                                       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 ( V7.4.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, readline, session, soap, sockets, sodium, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           30                                           Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 386M                                         Pass        
PHP Post Max Size                  >=2M                                                   8M                                           Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   32M                                          Pass        
PHP Version                        >=7.0                                                  7.4.27                                       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                                                    NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  5.7.34                                       Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       34.69 MB                                               
Operating System                   Darwin                                                 
Request Time                       1661495975                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                The HTTP response test get an error "cURL error 60: SSL certificate problem: unable to get local issuer certificate"Not expected HTTP response body:
Server Software                    Apache/2.4.46 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0

### MainWP Dashboard Settings      Detected Value                                      ###

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

### Extensions                     Version                                                License                                      Status   ###

No installed extensions            

### Plugin                         Version                                                Status                                    ###

MainWP Dashboard                   4.2.7                                                  Active                                       

Hey @tibo

Can you please give us some more information regarding your setup? Is the Dashboard hosted locally and are any of the child sites also local?

And can you try lowering the values for Maximum simultaneous sync requests and Maximum simultaneous install and update requests on Settings > Advanced Settings page and see if that helps? You can temporarily set them both to 1 to quickly see if that’s the issue.

Thanks for the reply.

For my setup, my mainwp is hosted locally, half of my child sites are local and the most of the source of my headache.

I will try lowering the value and report back later. Thank you.

1 Like

Yes, putting them to 1 max sim requests works. Is this normal ? Any chance to increase the max requests ?

The number of maximum simultaneous requests is entirely dependent on users’ setup.

You can try increasing it slowly towards the default values and find what the maximums for your setup are.

1 Like

OK, thank you for you support !

1 Like

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