Applicable to:
- Plesk for Linux
Symptoms
-
Many actions on a Plesk server cannot be performed with the following error:
Cannot allocate memory
-
Sites or random Plesk pages are not accessible with:
502 Bad Gateway
503 Service Unavailable
-
The following error appears in the system log:
-
On RHEL-based OSes the following error appears in
/var/log/messages
:Out of memory in UB 69762: OOM killed process 22008 (php-cgi) score 0 vm:429108kB, rss:107332kB, swap:0kB
Out of memory in UB 69762: OOM killed process 22028 (php-cgi) score 0 vm:429968kB, rss:108648kB, swap:0kB -
Debian/Ubuntu based OSes the following error appears in
/var/log/syslog
:Nov 12 06:44:42 systemd[1]: mariadb.service: A process of this unit has been killed by the OOM killer.
-
-
Unable to open Tools & Settings > IP Address Banning (Fail2Ban):
Error: The IP Address Banning (Fail2Ban) service failed: f2bmng failed: Traceback (most recent call last): File "/usr/local/psa/admin/sbin/f2bmng",
line 5, in <module> import f2bmng File "/usr/local/psa/lib/modules/python/f2bmng/f2bmng.py",
line 6, in <module> import json File "/usr/lib/python2.6/json/init.py",
line 108, in <module> from .decoder import JSONDecoder ImportError: No module named decoder -
The following error can appear during migration:
Migration tools tried to perform operation in 3 attempts.
----------------------------------------------------------------------------
Attempt #1 failed with the following error:
Rsync failed to copy files from the source server 'source' (203.0.113.2) to target Plesk server: Command execution failed on the local server with non-zero exit code.
...
exit code: 23
stdout:
stderr: rsync: recv_generator: failed to stat "/var/www/vhosts/example.com/httpdocs/cache/cachefs/2/2b7e2f329409023b850af3509758defe": Cannot allocate memory (12) -
The next error appears from time to time in an attempt to open the Plesk > Tools & Settings > Mail Server Settings > Mail Queue page:
Internal error:
mailqueuemng failed: Unable to prepare reading queue.
Message mailqueuemng failed: Unable to prepare reading queue.
File Agent.php
Line 228
Type PleskUtilException
-
Container limits have been reached:
# awk '$NF > 0' /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
privvmpages 1954900 5089134 3500000 4000000 **93324
**physpages 901769 1048750 1048576 1048576 24576
kmemsize 138969088 210599936 209715200 209715200 **1139056640
** -
The following errors can be found in
/usr/local/psa/admin/logs/panel.log
file:ERR [1] Exception: PHP Warning: proc_open(): fork failed - Cannot allocate memory
ERR [1] PleskUtilException: /usr/local/psa/admin/bin/filwrpr '93' failed with message: Unable to execute the utility. -
The following errors can be found in
/var/log/sw-cp-server/error_log
:(mod_fastcgi.c.2746) FastCGI-stderr: PHP Warning: proc_open() [<a href='function.proc-open'>function.proc-open</a>]: fork failed - Cannot allocate memory; File: /opt/psa/admin/plib/common_func.php3, Line: 1318
MemoryError: out of memory -
The following error can appear during backup creation:
# /usr/local/psa/admin/sbin/pmm-ras --get-dump-info --dump-file-specification=backup_info_1606282257.xml --with-feedback --session-path=/opt/psa/PMM/sessions/2016-06-28-225702.380 --verbose
error : Memory allocation failed : buffer error: text too long
error : Memory allocation failed : growing buffer
I/O error : write error
Error: boost::too_many_args: format-string referred to less arguments than were passed -
The following error can appear in
/usr/local/psa/admin/logs/panel.log
file when a FTP backup upload fails:ERR [panel] Get dump 'backup_example.com_1905151450.tar'
Error:
@ESCAPE_VALUE_BEGIN@Runtime error: Unable to upload the backup to the FTP storage: Repository error: Unable to add files to an archive: /usr/lib/plesk-9.0/sw-tar: -: Cannot write: Cannot allocate memory /usr/lib/plesk-9.0/sw-tar: Error is not recoverable: exiting now @ESCAPE_VALUE_END@
Error: server "server"
@ESCAPE_VALUE_BEGIN@Cannot encrypt dump file (this is not fatal error!): SQLSTATE[HY000] [2002] Connection refused @ESCAPE_VALUE_END@ -
Plesk update via CLI fails with error:
Error in PREUN scriptlet in rpm package psa-libpam-plesk-18.0-2.centos.7+p18.0.29.3+t200825.2156.x86_64 error: Couldn't fork %preun(psa-libpam-plesk-18.0-2.centos.7+p18.0.29.3+t200825.2156.x86_64):
Cannot allocate memory Error: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Cause
Server is running out of physical RAM.
Resolution
Contact your hosting provider for more information on how to increase physical RAM on the server.
Additional information
What are the recommended values for SWAP, RAM and Disk space while using Plesk Obsidian?
Comments
0 comments
Please sign in to leave a comment.