Author Topic: Virtual Memory Size error emails are being spammed. How do I fix it?  (Read 614 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Code: [Select]
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.
Code: [Select]
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.

Offline
*****
Re: Virtual Memory Size error emails are being spammed. How do I fix it?
« Reply #1 on: April 24, 2024, 02:57:13 AM »
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?

Offline
*
Re: Virtual Memory Size error emails are being spammed. How do I fix it?
« Reply #2 on: April 25, 2024, 08:35:46 AM »
Code: [Select]
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