MainWP Community

"Updating All" times out

I’ve been dealing with this for a long time and tried everything I could find about it.

I manage about a dozen small sites. When I log into the MainWP dashboard and click Update All, the window opens and updating begins normally. Then, somewhere between 30 and 60 seconds, it just stops. The progress bar stops moving (though the animation keeps going), and the arrow keeps spinning next to any incomplete sites, and it just sits there. Eventually, after I’m sure there won’t be any more action, I’ll click the Close button, and the dashboard will refresh and show that some (but usually not all) of the updates have completed. Then I have to repeat the process, sometimes two or three times, to install the rest of the updates.

Any ideas why this always (unless there are only a couple updates) times out?

Here is the “Server information” printout from the dashboard:

Server Info Required Detected Status

MainWP Dashboard
MainWP Dashboard Version 4.0.7 4.0.7 Pass
MainWP Upload Directory Writable Writable Pass
MainWP Extensions
MainWP Branding Extension 4.0 Active Pass
MainWP Bulk Settings Manager Extension4.0.1 Active Pass
MainWP Wordfence Extension 4.0 Active Pass
WordPress
WordPress Version >=3.6 5.3.2 Pass
WordPress Memory Limit >=64M 128M Pass
MultiSite Disabled =true true Pass
FileSystem Method = direct direct Pass
PHP
PHP Version >=5.6 7.3.13 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 64M 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 300 Pass
cURL Version >=7.18.1 7.67.0 Pass
cURL SSL Version >=OpenSSL/0.9.8l OpenSSL/1.0.2t Pass
PHP Allow URL fopen YES
PHP Exif Support YES ( V7.3.)
PHP IPTC Support YES
PHP XML Support YES
PHP Disabled Functions exec, passthru, shell_exec, system,
PHP Loaded Extensions Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, snmp, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL
MySQL Version >=5.0 10.2.30-MariaDB Pass
MySQL Mode ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
MySQL Client Encoding utf8
Server Info
Server Software Apache
Operating System Linux
Architecture 64 bit
Server Protocol HTTP/1.1
HTTPS ON - on
Server self connect Not expected HTTP response body:
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Gateway Interface CGI/1.1
Memory Usage 9.97 MB
Request Time 1579343961
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 11
Use WP-Cron Yes
Optimize for Shared Hosting or Big NetworksNo
Automatic Daily Update Disabled
Abandoned Plugins/Themes Tolerance 365
Maximum number of posts to return 50
Maximum number of pages to return
Primary Backup System Default MainWP Backups
Maximum simultaneous requests 4
Minimum delay between requests 200
Maximum simultaneous requests per ip1
Minimum delay between requests to the same ip1000
Maximum simultaneous sync requests
Minimum simultaneous install/update requests
Active Plugins
MainWP Child 4.0.6 Active
MainWP Dashboard 4.0.7 Active
Postman SMTP 1.7.2 Active
Quick Page/Post Redirect Plugin 5.1.9 Active
Wordfence Security 7.4.5 Active

I have a similar thing happening except that the updates have all taken place correctly but has not updated the window and as you say - seems to stick!

Please check your Child Sites System Report to see if your WordPress Memory Limit & cURL Timeouts are set correctly. Your most likely set to only 30 or 60 seconds. If they are not set correctly, please add these two lines to your wp-config file:

define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
ini_set(“default_socket_timeout”, 300);

Always happens if the dashboard is idle for too long. Just refresh or sync prior to updating anything.

2 Likes

A good idea, but I have always synced the sites first and then within a matter of seconds proceeded with the updates. As often happens this seems to be something that has crept up slowly and its not always the same sites that have the problem!

Will try the config file idea on a couple of sites and see what happens Keith.

1 Like

I put define(‘WP_MEMORY_LIMIT’, ‘256M’); in the config file for all child sites and the MainWP dashboard site, and set the following via php.ini:
max_execution_time = 300
max_input_time = 300
default_socket_timeout = 300

I confirmed these setting in the MainWP server report in each site, but still no change. The updating screen still stalls out somewhere between 30 and 60 seconds, and if there are more than a few updates they don’t all get done until I close the window and restart the updates.

Hi @johnm, next time when you trigger the update process, can you try to open your browser console and watch if some error shows at the moment the process stalls?
Also it could be helpful to find after how much time the process stalls.

This sounds to me like either the MainWP > Settings > Advanced Options need to be tweaked & or the Optimization option on MainWP > Settings > Global Options need to be turned on or off.

@johnm are you still in need of assistance?

Okay, I had to wait for a batch of updates to try again. This time I enabled the Chrome Console before starting the updates. After about thirty seconds it started throwing 504 (Gateway Timeout) errors, and after another minute or so they switched to 503 (Service Unavailable) errors.

I saved the log file of the first run (it took three to finish the updates, but I don’t see a way to attach it here.

Here’s the console log:

(Since this is a public forum, I’ve replaced the dashboard domain with MAINWP-DASHBOARD-DOMAIN I also removed some text from the end to fit the character limit here.)

load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:8 JQMIGRATE: Migrate is installed, version 1.4.1
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
mainwp-popup.js:6 #mainwp-sync-sites-modal
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 504 (Gateway Timeout)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:1915
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 504 (Gateway Timeout)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:1915
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 504 (Gateway Timeout)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:1915
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 504 (Gateway Timeout)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:2008
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 504 (Gateway Timeout)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:1915
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:2008
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:2008
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:1915
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_update_done @ mainwp-updates.js:1901
updatesoverview_upgrade_int_flow @ mainwp-updates.js:2267
fnc @ mainwp-updates.js:2050
(anonymous) @ mainwp-updates.js:2054
i @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:2
x @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
XMLHttpRequest.send (async)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
updatesoverview_upgrade_int_flow @ mainwp-updates.js:2008
updatesoverview_upgrade_int @ mainwp-updates.js:1877
updatesoverview_upgrade_all_upgrade_next @ mainwp-updates.js:1872
updatesoverview_upgrade_all_loop_next @ mainwp-updates.js:1848
updatesoverview_upgrade_all_int @ mainwp-updates.js:1841
(anonymous) @ mainwp-updates.js:1782
mainwp_updatesoverview_checkBackups @ mainwp-updates.js:2284
_callback @ mainwp-updates.js:1788
onApprove @ mainwp-ui.js:232
approve @ semantic.min.js:11
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
l @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
setTimeout (async)
d @ heartbeat.min.js:1
v @ heartbeat.min.js:1
h @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
l @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
setTimeout (async)
d @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
i @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:2
x @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
XMLHttpRequest.send (async)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
l @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
setTimeout (async)
d @ heartbeat.min.js:1
v @ heartbeat.min.js:1
h @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
l @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
setTimeout (async)
d @ heartbeat.min.js:1
v @ heartbeat.min.js:1
h @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
l @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
setTimeout (async)
d @ heartbeat.min.js:1
v @ heartbeat.min.js:1
h @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:3
load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4 POST https://MAINWP-DASHBOARD-DOMAIN/wp-admin/admin-ajax.php 503 (Service Unavailable)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-u&load[chunk_1]=i-draggable,jquery-ui-button,jquery-ui-dialog,zxcvbn-async&ver=43f226f2d5604c1306f246eb4867b820:4

Hi @johnm, thanks for sharing that info. This does seem like a server side problem.
The server stops executing the admin-ajax.php script, but I don’t know which server rule does this so it may be best to simply contact your host support and have them check why this happens and if possible they should increase the execution time limit.

Thanks Bogdan. I did some googling and was pointed to the Apache Timeout setting, which turned out to be set at 20 instead of the default 300. I changed it to 300 and will report back here next time I have a batch of updates.

3 Likes

Thanks for letting me know. I will wait for your further update.

No change, still getting 504 Gateway Timeout Errors after 20 to 30 seconds. Back to the drawing board…

I found the “Maximum simultaneous install and update requests” setting in MainWP, and set it to 1 (from 3). Will report back whether that changes anything next time.

3 Likes

ok, thanks for letting us know.