The following error occurs on an attempt to install WordPress via WordPress Toolkit in Plesk:
PLESK_ERROR: filemng failed: move_to_cgroup(): pam_open_session() failed 6: Permission denied
move process 15666 to cgroup for user plesktest failed
filemng: Error occurred during /bin/mkdir command.
This is the systemd bug. “systemd. systemd-logind” takes ~25sec timeout after ~1000 ssh logins. During these 25 seconds, the
resctrl utility is doing its own maintenance and gets a
Additional information about the bug is available in these articles:
As a workaround, change dbus timeout for SSHD service as follows:
Connect to the server via SSH;
Create a dbus config with the following content setting timeout to 5 seconds:
# cat /etc/dbus-1/session-local.conf
Reload required services:
# service dbus restart
# systemctl daemon-reexec
Note: as this workaround has DDoS attack risk, do not forget to change the SSH port as it is described in the following article:
How to change the SSH port number on a Linux server?