Hi there,
I use htop on an ubuntu server and every time I try to open it, it goes to a black screen and seems frozen. I tried htop > htop_log.txt to see what was going on, but ctrl-c was unsuccessful in closing the command, therefore I think htop is crashing.
It worked up until a day or two ago. Any ideas on how to figure out what is going on?
Thanks!
I have the same problem. Any solutions?
this is very odd. Install strace and try running
strace htop 2> strace_log.txt
and send me the log file. It may provide some clues.
Hi,
strace log is attached.
Thanks.
strace_log.txt
@afshinrahimi Thank you for the trace.
Are you connecting to the server using GNU Screen? Can you ssh to the server without Screen and check if the problem still happens?
I was using Byobu.
Tested it without Byobu and it still happens.
I have same problem. Oddly, it happens one of my nodes in cluster, the other cluster doesn't show this problem(environments of nodes in cluster are almost same)
When I try strace htop 2> strace_log.txt, the screen freezes to black. The error just popped up again. For some reason it only seems to happen when there is a high server CPU load (more threads required than available), and I have nice'd something.
Same problem here, any solutions?
following get the same problem
Same problem since today when I use htop with SSH.
Edit : after some research, I figured out that can be a mtu issue. I lowered it by doing the following command : ip link set dev wlan0 mtu 750 as root (replace wlan0 by the interface you use) and now it works... Also the command is not effective after reboot so I needed to put it on my rc.local.
This is pretty related because the only change I did today was my ISP.
My kernel had a problem (visible via dmesg), so that htop (and ps) are frozen even without SSH with a black screen. Reboot is good.
Most helpful comment
Same problem since today when I use htop with SSH.
Edit : after some research, I figured out that can be a mtu issue. I lowered it by doing the following command :
ip link set dev wlan0 mtu 750as root (replacewlan0by the interface you use) and now it works... Also the command is not effective after reboot so I needed to put it on myrc.local.This is pretty related because the only change I did today was my ISP.