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

The latest image failed: memory.max: No such file or directory #922

Open
superstar54 opened this issue Nov 11, 2024 · 2 comments
Open

The latest image failed: memory.max: No such file or directory #922

superstar54 opened this issue Nov 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@superstar54
Copy link
Member

I try to run the latest image, but got a error:

$docker run -p 8888:8888 ghcr.io/aiidalab/qe:v24.10.0a3
...
+++ cat /sys/fs/cgroup/memory.max
cat: /sys/fs/cgroup/memory.max: No such file or directory
++ MEMORY_LIMIT=
@superstar54 superstar54 added the bug Something isn't working label Nov 11, 2024
@unkcpz
Copy link
Member

unkcpz commented Nov 11, 2024

As I mentioned in

# NOTE: this cgroup folder hierachy is based on cgroupv2
# if the container is open in system which has cgroupv1 the image build procedure will fail.
# Since the image is mostly for demo server where we know the machine and OS I supposed
# it should have cgroupv2 (> Kubernetes v1.25).
# We only build the server for demo server so it does not require user to have new cgroup.
# But for developers, please update your cgroup version to v2.
# See: https://kubernetes.io/docs/concepts/architecture/cgroups/#using-cgroupv2

It requires a slightly new kernel version with cgroup to run it.
I think you should anyway update your ubuntu version, since a security issue about printer mentioned in PSI mailing list. I close this issue since I am not plan to make it to work for old linux kernel.

@unkcpz unkcpz closed this as completed Nov 11, 2024
@superstar54
Copy link
Member Author

As discussed with @unkcpz offline, I reopened this issue because the image will also be used in normal aiidalab-lauch.

@superstar54 superstar54 reopened this Nov 11, 2024
@superstar54 superstar54 assigned superstar54 and unassigned unkcpz Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants