https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298245

            Bug ID: 298245
           Summary: `shutdown -h now' use 100% CPU time
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

I accidentally typed `shutdown -h now' on my VPS at hetzner. The server went
down, logged me out of the remote terminal. On the hetzner web console the
kernel waited for a key press. I looked at the hetzner graph console and it
shows that the CPU load goes up to 100% (one CPU on full speed). Apparently,
the kernel does busy waiting for a key press.

I can repeat this on amd64 and arm on hetzner, and also in Virtual Box on my
home computer.

I don't see this problem with debian13.

I know that I should use `shutdown -p now' instead. But the point is: we shall
not heat up the planet with busy waiting. In a VPS setup it can easily happen
that you forgot to press the off/reboot button.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to