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
:CONFIG_TEXT: 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
CONFIG_TEXT: move process 7788 to cgroup for user testuser1 failed
move_to_cgroup(): pam_open_session() failed 6: Permission deniedOR
CONFIG_TEXT: 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:
CONFIG_TEXT: ...
[Manager]
...
# DefaultStartLimitBurst=5
...After:
CONFIG_TEXT: ...
[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:
CONFIG_TEXT: [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:
CONFIG_TEXT: johndoe:x:10001:1003::/var/www/vhosts/example.com:/bin/false
here 10001 is userid.
So, the correct path for config file should be:
CONFIG_TEXT: /etc/systemd/system/user-10001.slice.d/51-StartLimit.conf
Comments
3 comments
Sadly this isn't working for me, don't know if I'm doing something wrong. Any updates on this question? Thank you very much.
After aplying latest plesk updates and rebooting the system, the trouble has gone. I undid the workaround changes, rebooted again and it's still working ok.
We've had to uninstall CGroups extension, no need to reboot and all errors gone.
Please sign in to leave a comment.