On Thu, 29 Jul 2021 20:09:12 -0500, "Matt P." wrote: > I have an OpenBSD box that breaks after a week or so of running. All network > traffic stops reaching the box. If I look at the screen or serial output, I c > an get the "login:" prompt, and when I enter my name I get prompted for a pas > sword, but once I enter a password it hangs. Key presses and control codes st > ill show on the screen, but the login never succeeds or fails. I thought cont > rol-C might cause it to go back to the login prompt, but it doesn't. I have t > o hard reboot the box to get it back.
This may be due to a memory leak. You could monitor the output of "netstat -m" and also "vmstat -m" and watch for memory use increasing over time. The number of mbufs in use reported by "netstat -m" should be relatively stable. - todd