nohang icon indicating copy to clipboard operation
nohang copied to clipboard

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

Open Afsalmc opened this issue 1 year ago • 4 comments

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.

Afsalmc avatar Aug 08 '23 03:08 Afsalmc

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.

hakavlad avatar Aug 08 '23 08:08 hakavlad

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 avatar Aug 09 '23 07:08 Afsalmc

@hakavlad What kind of logs should i provide ?

Afsalmc avatar Aug 09 '23 08:08 Afsalmc

@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.

Afsalmc avatar Aug 11 '23 06:08 Afsalmc