Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: memory controller is not enabled in user.slice #6

Open
EthicalObligation opened this issue Dec 21, 2021 · 3 comments
Open

E: memory controller is not enabled in user.slice #6

EthicalObligation opened this issue Dec 21, 2021 · 3 comments

Comments

@EthicalObligation
Copy link

EthicalObligation commented Dec 21, 2021

Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 3.
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:50:57 DEVELOPER-CONSOLE memavaild[3681]: E: memory controller is not enabled in user.slice
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 4.
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:50:57 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:50:58 DEVELOPER-CONSOLE memavaild[3685]: E: memory controller is not enabled in user.slice
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 5.
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Start request repeated too quickly.
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:50:58 DEVELOPER-CONSOLE systemd[1]: Failed to start Daemon that keeps amount of available memory.
Dec 21 10:51:18 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:51:18 DEVELOPER-CONSOLE memavaild[3698]: E: memory controller is not enabled in user.slice
Dec 21 10:51:18 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:51:18 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:51:18 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 1.
Dec 21 10:51:18 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:51:18 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:51:19 DEVELOPER-CONSOLE memavaild[3703]: E: memory controller is not enabled in user.slice
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 2.
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:51:19 DEVELOPER-CONSOLE memavaild[3706]: E: memory controller is not enabled in user.slice
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 3.
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:51:19 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:51:20 DEVELOPER-CONSOLE memavaild[3709]: E: memory controller is not enabled in user.slice
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 4.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: Started Daemon that keeps amount of available memory.
Dec 21 10:51:20 DEVELOPER-CONSOLE memavaild[3713]: E: memory controller is not enabled in user.slice
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Scheduled restart job, restart counter is at 5.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: Stopped Daemon that keeps amount of available memory.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Start request repeated too quickly.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: memavaild.service: Failed with result 'exit-code'.
Dec 21 10:51:20 DEVELOPER-CONSOLE systemd[1]: Failed to start Daemon that keeps amount of available memory.

@hakavlad
Copy link
Owner

E: memory controller is not enabled in user.slice

It's obvious: just enable the memory controller.

@hakavlad
Copy link
Owner

Set DefaultMemoryAccounting=true in /etc/systemd/system.conf. BTW, what is your distro and version?

@EthicalObligation
Copy link
Author

Please give better instructions on how to so in the error thanks!
Manjaro: Latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants