After creating a lxc container on a quiet potent 64GB RAM Server, i am running into this problem while setting up nextcloud through an ansible playbook:
TASK [prep_os : enable service disable-transparent-hugepages] *********************************************************************************************************************************************************************************************************************************************************************************************************
Tuesday 17 March 2020 12:08:26 +0000 (0:00:00.196) 0:00:16.436 *********
fatal: [localhost]: FAILED! => changed=false
msg: |-
Unable to start service disable-transparent-huge-pages.service: Job for disable-transparent-huge-pages.service failed because the control process exited with error code.
See "systemctl status disable-transparent-huge-pages.service" and "journalctl -xe" for details.
root@cloud:~/nextcloud# journalctl -xe
shows me:
-- The unit disable-transparent-huge-pages.service has entered the 'failed' state with result 'exit-code'.
Mar 17 12:08:26 cloud systemd[1]: Failed to start Disable Transparent Huge Pages.
and
root@cloud:~/nextcloud# systemctl status disable-transparent-huge-pages.service
● disable-transparent-huge-pages.service - Disable Transparent Huge Pages
Loaded: loaded (/lib/systemd/system/disable-transparent-huge-pages.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-03-17 12:08:26 UTC; 4min 26s ago
Process: 2525 ExecStart=/bin/sh -c /bin/echo never > /sys/kernel/mm/transparent_hugepage/enabled (code=exited, status=2)
Main PID: 2525 (code=exited, status=2)
Mar 17 12:08:26 cloud systemd[1]: Starting Disable Transparent Huge Pages...
Mar 17 12:08:26 cloud sh[2525]: /bin/sh: 1: cannot create /sys/kernel/mm/transparent_hugepage/enabled: Read-only file system
Mar 17 12:08:26 cloud systemd[1]: disable-transparent-huge-pages.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 17 12:08:26 cloud systemd[1]: disable-transparent-huge-pages.service: Failed with result 'exit-code'.
Mar 17 12:08:26 cloud systemd[1]: Failed to start Disable Transparent Huge Pages.
Any suggestions how i can fix this?
I already tried to disable described here: https://forum.proxmox.com/threads/huge-pages-support.15849/#post-81815
on the host, rebooted, but no success.
Your help is very welcome!
Thanks in advance,
clouddicer
TASK [prep_os : enable service disable-transparent-hugepages] *********************************************************************************************************************************************************************************************************************************************************************************************************
Tuesday 17 March 2020 12:08:26 +0000 (0:00:00.196) 0:00:16.436 *********
fatal: [localhost]: FAILED! => changed=false
msg: |-
Unable to start service disable-transparent-huge-pages.service: Job for disable-transparent-huge-pages.service failed because the control process exited with error code.
See "systemctl status disable-transparent-huge-pages.service" and "journalctl -xe" for details.
root@cloud:~/nextcloud# journalctl -xe
shows me:
-- The unit disable-transparent-huge-pages.service has entered the 'failed' state with result 'exit-code'.
Mar 17 12:08:26 cloud systemd[1]: Failed to start Disable Transparent Huge Pages.
and
root@cloud:~/nextcloud# systemctl status disable-transparent-huge-pages.service
● disable-transparent-huge-pages.service - Disable Transparent Huge Pages
Loaded: loaded (/lib/systemd/system/disable-transparent-huge-pages.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-03-17 12:08:26 UTC; 4min 26s ago
Process: 2525 ExecStart=/bin/sh -c /bin/echo never > /sys/kernel/mm/transparent_hugepage/enabled (code=exited, status=2)
Main PID: 2525 (code=exited, status=2)
Mar 17 12:08:26 cloud systemd[1]: Starting Disable Transparent Huge Pages...
Mar 17 12:08:26 cloud sh[2525]: /bin/sh: 1: cannot create /sys/kernel/mm/transparent_hugepage/enabled: Read-only file system
Mar 17 12:08:26 cloud systemd[1]: disable-transparent-huge-pages.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 17 12:08:26 cloud systemd[1]: disable-transparent-huge-pages.service: Failed with result 'exit-code'.
Mar 17 12:08:26 cloud systemd[1]: Failed to start Disable Transparent Huge Pages.
Any suggestions how i can fix this?
I already tried to disable described here: https://forum.proxmox.com/threads/huge-pages-support.15849/#post-81815
on the host, rebooted, but no success.
Your help is very welcome!
Thanks in advance,
clouddicer