Symptoms
-
Cannot use File Manager with started cgroups service. Blank page is shown.
-
Different errors appear while opening Domains > example.com > File Manager:
PLESK_ERROR: Internal error ;-P
TypeError: Cannot read property ‘show’ of undefined
undefinedOR
PLESK_ERROR: Internal error ;-P
TypeError: Cannot read property ‘hide’ of null
undefined -
The following messages can be found in
/var/log/plesk/panel.log
:ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/filemng' 'jdoe' 'list' 'dirs' '/var/www/vhosts/example.com/httpdocs/wp-content' '--in-blocks'] with exit code [1]
ERR [1] '/opt/psa/admin/bin/filemng' 'jdoe' 'list' 'dirs' '/var/www/vhosts/example.com/httpdocs/wp-content' '--in-blocks' failed with code 1.OR
move process 7788 to cgroup for user testuser1 failed
move_to_cgroup(): pam_open_session() failed 6: Permission deniedOR
Unable to open the directory: Unable to find the file /var/www/vhosts/example.com/httpdocs/css at the specified location
Cause
This is Plesk bug with ID #PPPM-6057. It will be fixed in future product updates.
Resolution
As a workaround, configure systemd
limits via the following steps:
-
Connect to the server using SSH;
-
Uncomment and set
DefaultStartLimitBurst=999
in/etc/systemd/system.conf
:Before:
...
[Manager]
...
# DefaultStartLimitBurst=5
...After:
...
[Manager]
...
DefaultStartLimitBurst=999
... -
Reload systemctl daemon:
# systemctl daemon-reload
As another workaround, for each affected user create the file /etc/systemd/system/user-$userid.slice.d/51-StartLimit.conf
which contains:
[Unit]
StartLimitBurst=999
To determine $userid perform the following:
-
Login to Plesk > Subscriptions > example.com and determine system user for the subscription:
-
Connect to the server using SSH and execute:
# grep johndoe /etc/passwd
The output will be like:
johndoe:x:10001:1003::/var/www/vhosts/example.com:/bin/false
here 10001 is userid.
So, the correct path for config file should be:
/etc/systemd/system/user-10001.slice.d/51-StartLimit.conf