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

Nohang not working in container mcr.microsoft.com/dotnet/aspnet:6.0.10-bullseye-slim #131

Open
Afsalmc opened this issue Aug 8, 2023 · 4 comments

Comments

@Afsalmc
Copy link

Afsalmc commented Aug 8, 2023

While starting nohang daemon using

service nohang

Nothing happens.

While checking for status using

service nohang status

could not access PID file for nohang ... failed!.

This is a small container without systemd and only the root user.

@hakavlad
Copy link
Owner

hakavlad commented Aug 8, 2023

nohang does not create PID file. Is this a problem for you?

In most cases nohang is run as a systemd service and the PID file is not needed.

Please provide more logs if I misunderstood you.

@Afsalmc
Copy link
Author

Afsalmc commented Aug 9, 2023

I checked /run/ direcoty and found nohang.pid there .
checked the permission
-rw-r--r-- 1 root root 0 Aug 8 03:23 nohang.pid

@Afsalmc
Copy link
Author

Afsalmc commented Aug 9, 2023

@hakavlad What kind of logs should i provide ?

@Afsalmc
Copy link
Author

Afsalmc commented Aug 11, 2023

@hakavlad This error is thrown when i tried oomd as well. So it can be a container level issue and my pid file seems empty all the time.

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