Virtual Memory Size error emails are being spammed. How do I fix it?

Started by techtaxi, April 23, 2024, 05:16:46 AM

Previous topic - Next topic

techtaxi

Resource:     Virtual Memory Size
Exceeded:     552 > 512 (MB)
Executable:   /usr/local/bin/php-cgi
Command Line: /usr/local/bin/php-cgi /home/samspir/public_html/xmlrpc.php
PID:          3864381 (Parent PID:3703886)
Killed:       No


I keep getting the above error.
I haven't changed any major configuration settings on cwp or the server itself..
It's only got 2 Wordpress sites and a few email accounts using it.

Here's the specs of the vps.
2 vCPU Cores
60 GB PURE SSD RAID-10 Storage
4 GB RAM
8000GB Monthly Premium Bandwidth
1Gbps Public Network Port


Any help would be awesome as I never had this kind of issue with whm cpanel and had way more sites on it. I would switch all my stuff to cwp but this stuff definitely makes me think twice.

overseer

4GB RAM is not a whole lot to work with, so you'll have to parcel it out and do some memory tuning. That said, I run quite a few clients/sites on a server with 6GB of RAM and it does okay. Is your php.ini stock or have you tweaked it any?

techtaxi

display_errors = On
max_execution_time = 90
max_input_time = 120
;;max_input_vars = 1500
memory_limit = 785M
post_max_size = 600M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php80"
upload_max_filesize = 785M
zlib.output_compression = Off