After ssh into a VM, I am not able to run basically any command such as ps aux, cd /proc; ls, top, dmesg or systemctl status, all of them hangs, so I don't even know how to spot the problem.
Linux frdev07 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64
Some hints though: it only happens on weekend, and systemctl status hangs somewhere inside [email protected]. I cannot use psql to connect to the database neither, it hangs too. It looks to me as a sort of maintenance process run by PostgreSQL, but that's not an excuse to make the VM unusable..
How could I find out the precise issue?