MAINWP and 27 child sites on the same VPS server. When I click Sync Dashboard with Child Sites the RAM consumption spikes. If I do it at the same time as other processes such as SPAMD it brings the websites down.
There are numerous php-fpm: pool processes running after clicking the Sync Dashboard with Child Sites and they each take up RAM resources. After the sync is done RAM usage goes back to roughly 50%
Total processors: 48
Vendor: GenuineIntel
Name: Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz
Speed: 2300.000 MHz
Cache: 16896 KB
Current Memory Usage
total used free shared buff/cache available
Mem: 4194304 2476712 327068 145464 1390524 1572116
Swap: 0 0 0
Total: 4194304 2476712 327068
### Server Info Required Detected Status ###
MainWP Dashboard
MainWP Dashboard Version 4.1.7 4.1.7 Pass
MainWP Upload Directory Writable Writable Pass
MainWP Extensions
Advanced Uptime Monitor Extension 5.2 API License Active Pass
MainWP Clean and Lock Extension 4.0.1.1 API License Active Pass
MainWP Custom Dashboard Extension 4.0.2 API License Active Pass
MainWP Page Speed Extension 4.0.1.1 API License Active Pass
MainWP Pro Reports Extension 4.0.6 API License Active Pass
MainWP Sucuri Extension 4.0.8.1 API License Active Pass
MainWP UpdraftPlus Extension 4.0.4 API License Active Pass
MainWP Vulnerability Checker Extension4.1 API License Active Pass
WordPress
WordPress Version >=3.6 5.8 Pass
WordPress Memory Limit >=64M 128M Pass
MultiSite Disabled =true true Pass
FileSystem Method = direct direct Pass
PHP
PHP Version >=5.6 7.4.22 Pass
PHP Safe Mode Disabled =true true Pass
PHP Max Execution Time >=30 seconds 30 Pass
PHP Max Input Time >=30 seconds 60 Pass
PHP Memory Limit >=128M 256M Pass
PCRE Backtracking Limit >=10000 1000000 Pass
PHP Upload Max Filesize >=2M 8M Pass
PHP Post Max Size >=2M 8M Pass
SSL Extension Enabled =true true Pass
SSL Warnings = empty error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key lengthWarning
cURL Extension Enabled =true true Pass
cURL Timeout >=300 seconds 60 Warning
cURL Version >=7.18.1 7.78.0 Pass
cURL SSL Version >=OpenSSL/0.9.8l OpenSSL/1.1.1k Pass
PHP Allow URL fopen YES
PHP Exif Support YES ( V7.4.)
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, imagick, imap, intl, ionCube Loader, 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, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL
MySQL Version >=5.0 10.2.40-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.0
HTTPS 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/92.0.4515.131 Safari/537.36 Edg/92.0.902.73
Gateway Interface CGI/1.1
Memory Usage 6.64 MB
Request Time 1629350728
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 27
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 50
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 Dashboard 4.1.7 Active
Site Kit by Google 1.39.0 Active
UpdraftPlus - Backup/Restore 1.16.59 Active
WP 2FA - Two-factor authentication for WordPress1.7.1 Active
WP Cerber Security, Anti-spam & Malware Scan8.9.3 Active
WP Mail SMTP 3.0.3 Active
Web hosting company says I need to pay for a bigger VPS but the cost difference it too much to justify.
Can I make this work on my current VPS or should I put the MAINWP website on a separate server?