Sync is very slow

Hey

Actually i have 98 websites in my mainwp.
I’ using it since years, maybe 4 years?
But in th elast times updates all sites needs to much time. It is around 10 minutes for 5 websites.
In advanced seetings i’ve set all to default + acitvated shared hoster. My Webhoster ist quit fast.
The mainwp-log db is around 450 MB.

Can i make the sync faster?

Hi @DREIDREIEINS-Web

Syncing 5 sites should most certainly not take 10 minutes. With default values on the Advanced Settings page, it should take less than 30 seconds.

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Here is the report


### WordPress Überprüfung          Erforderlich                                           Erkannt                                      Status   ###

Dateisystem-Methode                = direct                                               direct                                       Bestanden   
MultiSite Disabled                 =true                                                  true                                         Bestanden   
WordPress Memory Limit             >=64M                                                  1024M                                        Bestanden   
WordPress Version                  >=3.6                                                  6.2.2                                        Bestanden   

### PHP                            Erforderlich                                           Erkannt                                      Status   ###

cURL Extension Enabled             =true                                                  true                                         Bestanden   
cURL Timeout                       >=300 seconds                                          60                                           Warnung     
cURL Version                       >=7.29.0                                               7.68.0                                       Bestanden   
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/1.1.1f                               Bestanden   
PCRE Backtracking Limit            >=10000                                                1000000                                      Bestanden   
PHP Allow URL fopen                n. a.                                                  JA                                                       
PHP Deaktivierte Funktionen        n. a.                                                  Keine Funktionen deaktiviert.                            
PHP Geladene Erweiterungen         n. a.                                                  Core, OAuth, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, SourceGuardian, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mongodb, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, raphf, session, shmop, soap, sodium, sqlite3, standard, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           30                                           Bestanden   
PHP Max Input Time                 >=30 seconds                                           60                                           Bestanden   
PHP Memory Limit                   >=128M                                                 1024M                                        Bestanden   
PHP Post Max Size                  >=2M                                                   200M                                         Bestanden   
PHP Safe Mode Disabled             =true                                                  true                                         Bestanden   
PHP unterstützt Exif               n. a.                                                  JA ( V8.1.)                                              
PHP unterstützt IPTC               n. a.                                                  JA                                                       
PHP unterstützt XML                n. a.                                                  JA                                                       
PHP Upload Max Filesize            >=2M                                                   200M                                         Bestanden   
PHP Version                        >=7.4                                                  8.1.16                                       Bestanden   
SSL Extension Enabled              =true                                                  true                                         Bestanden   
SSL Warnings                       = empty                                                error:0909006C:PEM routines:get_name:no start lineWarnung     

### MySQL                          Erforderlich                                           Erkannt                                      Status   ###

MySQL Client Verschlüsselung       n. a.                                                  utf8mb4                                                  
MySQL Version                      >=5.0                                                  10.5.19-MariaDB-1:10.5.19+maria~ubu2004-log  Bestanden   
MySQL-Modus                        n. a.                                                  NO_ENGINE_SUBSTITUTION                                   

### Server-Konfiguration           Erkannter Wert                                      ###

Antwortzeit                        1689708546                                             
Arbeitsspeicherauslastung          90.28 MB                                               
Architektur                        64		 bit                                               
Betriebssystem                     Linux                                                  
Geteway-Schnittstelle              CGI/1.1                                                
HTTPS                              AN                                                     
Inhalt akzeptieren                 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
Server-Protokoll                   HTTP/2.0                                               
Server-Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Verbindung zum Server selbst       Unerwarteter HTTP response body:                       
Zeichensatz des Inhalts            n. a.                                                  

### MainWP Dashboard Einstellungen Erkannter Wert                                      ###

Anzahl der Child-Websites:         98                                                     
Einfache Verfügbarkeits-Überwachung aktiviertJa                                                     
Erweiterte Automatische Plugin-Aktualisierungen aktiviertJa                                                     
Erweiterte Automatische Theme-Aktualisierungen aktiviertJa                                                     
Erweiterte Automatische WP-Core-Aktualisierungen aktiviertJa                                                     
MainWP Dashboard Version           Latest: 4.4.3.3 | Detected: 4.4.3.3 Bestanden          
MainWP Legacy Backups aktiviert    Nein                                                   
Maximale Anzahl der Beiträge, die zurückgegeben werden sollen                                                       
Maximale Anzahl der Seiten, die zurückgegeben werden sollen                                                       
Maximale Anzahl gleichzeitiger Installations- und Aktualisierungs-Anfragen3                                                      
Maximale Anzahl Kommentare         50                                                     
Maximale gleichzeitige Anfragen    4                                                      
Maximale gleichzeitige Anfragen pro IP1                                                      
Maximale gleichzeitige Synchronisierungs-Anfragen8                                                      
Minimale Verzögerung zwischen Anfragen200                                                    
Minimale Verzögerung zwischen Anfragen zu derselben IP1000                                                   
Optimieren für Shared Hosting oder große NetzwerkeJa                                                     
Primäres Backup-System             MainWP Legacy Backups                                  
Rest-API ist aktiviert             Nein                                                   
Verwaiste Plugins/Themes-Toleranz  365                                                    
WP Cron verwenden                  Ja                                                     
Überwachung des Website-Zustands ist aktiviertJa                                                     

### Erweiterungen                  Version                                                Lizenz                                       Status   ###

Advanced Uptime Monitor Extension  5.2.3                                                  Aktiviert                                    Bestanden   
Boilerplate Extension              4.1.2                                                  Aktiviert                                    Bestanden   
Dashboard Lock                     4.0.2                                                  Aktiviert                                    Bestanden   
MainWP Article Uploader Extension  4.0.5                                                  Aktiviert                                    Bestanden   
MainWP Bulk Settings Manager Extension4.0.5                                                  Aktiviert                                    Bestanden   
MainWP Cache Control Extension     4.0.1                                                  Aktiviert                                    Bestanden   
MainWP Client Reports Extension    4.0.14                                                 Aktiviert                                    Bestanden   
MainWP Clone Extension             4.0.3                                                  Aktiviert                                    Bestanden   
MainWP Code Snippets Extension     4.0.3                                                  Aktiviert                                    Bestanden   
MainWP Comments Extension          4.0.7                                                  Aktiviert                                    Bestanden   
MainWP Custom Dashboard Extension  4.1.2                                                  Aktiviert                                    Bestanden   
MainWP Custom Post Type            4.0.4                                                  Aktiviert                                    Bestanden   
MainWP Database Updater Extension  4.0.1                                                  Aktiviert                                    Bestanden   
MainWP Domain Monitor Extension    4.0.5                                                  Aktiviert                                    Bestanden   
MainWP Favorites Extension         4.0.11                                                 Aktiviert                                    Bestanden   
MainWP File Uploader Extension     4.1.1                                                  Aktiviert                                    Bestanden   
MainWP Google Analytics Extension  4.1.3                                                  Aktiviert                                    Bestanden   
MainWP Lighthouse Extension        4.0.4                                                  Aktiviert                                    Bestanden   
MainWP Maintenance Extension       4.1.2                                                  Aktiviert                                    Bestanden   
MainWP Matomo Extension            4.1.2                                                  Aktiviert                                    Bestanden   
MainWP Page Speed Extension        4.0.3                                                  Aktiviert                                    Bestanden   
MainWP Post Dripper Extension      4.0.7                                                  Aktiviert                                    Bestanden   
MainWP Post Plus Extension         4.1.2                                                  Aktiviert                                    Bestanden   
MainWP Pro Reports Extension       4.1.1                                                  Aktiviert                                    Bestanden   
MainWP Rocket Extension            4.0.5                                                  Aktiviert                                    Bestanden   
MainWP SSL Monitor Extension       4.0.1                                                  Aktiviert                                    Bestanden   
MainWP Staging Extension           4.0.4                                                  Aktiviert                                    Bestanden   
MainWP Sucuri Extension            4.0.14                                                 Aktiviert                                    Bestanden   
MainWP Team Control                4.0.3                                                  Aktiviert                                    Bestanden   
MainWP UpdraftPlus Extension       4.0.8                                                  Aktiviert                                    Bestanden   
MainWP URL Extractor Extension     4.0.3                                                  Aktiviert                                    Bestanden   
MainWP Virusdie Extension          4.0.0                                                  Aktiviert                                    Bestanden   
MainWP Vulnerability Checker Extension4.1.4                                                  Aktiviert                                    Bestanden   
MainWP White Label Extension       4.1.3                                                  Aktiviert                                    Bestanden   
MainWP WooCommerce Shortcuts Extension4.1.1                                                  Aktiviert                                    Bestanden   
MainWP WooCommerce Status Extension4.0.8                                                  Aktiviert                                    Bestanden   
MainWP Wordfence Extension         4.0.9                                                  Aktiviert                                    Bestanden   
MainWP WordPress SEO Extension     4.0.3                                                  Aktiviert                                    Bestanden   

### Plugin                         Version                                                Status                                    ###

Disable Emails                     1.8.1                                                  Inaktiv                                      
Email Log                          2.4.8                                                  Aktiv                                        
Force Login                        5.6.3                                                  Aktiv                                        
Limit Login Attempts Reloaded      2.25.20                                                Aktiv                                        
MainWP Child                       4.4.1.3                                                Aktiv                                        
MainWP Client Reports Extension    4.0.14                                                 Aktiv                                        
MainWP Dashboard                   4.4.3.3                                                Aktiv                                        
MainWP Page Speed Extension        4.0.3                                                  Aktiv                                        
NinjaFirewall (WP Edition)         4.5.8                                                  Aktiv                                        
NinjaScanner                       3.1                                                    Aktiv                                        
Query Monitor                      3.13.1                                                 Inaktiv                                      
SVG Support                        2.5.5                                                  Aktiv                                        
UpdraftPlus - Backup/Restore       2.23.7.26                                              Aktiv                                        
Wordfence Security                 7.10.2                                                 Inaktiv                                      
WP Crontrol                        1.15.3                                                 Aktiv                                        
WP-Optimize - Clean, Compress, Cache3.2.16                                                 Aktiv                                        
Yoast SEO                          20.11                                                  Aktiv                                        

Thanks for the system report. You appear to have 98 child sites connected to the Dashboard?
Did you mean that it takes 10 minutes to sync all of them? Otherwise, if it takes 10 minutes to sync 5 sites, 98 would take hours.

You can try increasing the Maximum simultaneous sync requests (On Settings > Advanced Settings) value and see if that helps.

If your web host is indeed quite fast, try turning off “Optimize for shared hosting or big networks” and compare sync times.

And can you send us a screenshot of the mainwp-log db or a table where it states that it’s 450MB?

Hey Bojan

Now there are 99 sites.
And yes it took 10 min for just 5 pages. Sometimes it needs hours for a complete sync.
I changed your recommendations to 8 simultanous syncs and turned off optimizing for shared hoster.

actual the db-table is ~300MB. i optimze it every day. syncing is faster afterwards

i guess some sites are stucked in syncing and are waiting for to loang to continue?

Did you notice any significant change?

If possible, would you mind trying out our 4.5 Beta? We’ve made some changes to verification algorithms and that may impact the sync speed. The information about 4.5 Beta2 and links are available here: MainWP 4.5 BETA [RELEASED] - #2 by bogdan

The size of action logs table shouldn’t affect the sync speed but it is also completely safe to delete the table. And if you are not actively relying on Action Logs, you can even disable it.
Navigate to Dashboard > Info > Action Logs page, and click the Delete Log button to delete the table. To disable it, select Disabled from the dropdown and click Save Settings.

Finally, if neither of those help, can you try temporarily deactivating non-MainWP plugins and see how that affects the sync speed? Some plugins like WF and UDP are known to be heavy on resources.

2 Likes

Hey
4.5 Beta is no option.

But with deleting the logs syncing is now very fast.
It was set on debug and loads to much data.
now i’v set it to info and it works like a charme.

syncing 99 sites now runs in 2-4 minutes.

1 Like

I will observe it.

thanks for your support.

2 Likes

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