No locks available

General support questions
Post Reply
rodmark
Posts: 2
Joined: 2021/03/20 01:32:45

No locks available

Post by rodmark » 2021/03/20 01:37:28

Hello, today I installed on a vps with centos 7.9 a cloudlinux and a cpanel, then I tried to install htop but when I give the command htop this message appears and the htop does not open. htop: No locks available. Does anyone know how to solve? thanks. :roll:

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No locks available

Post by TrevorH » 2021/03/20 13:05:24

What's the output from the command uname -a
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

rodmark
Posts: 2
Joined: 2021/03/20 01:32:45

Re: No locks available

Post by rodmark » 2021/03/21 01:30:29

Hi TrevorH, output:
Linux cp1.koalahost.pt 4.18.0-147.8.1.el7h.lve.1.x86_64 #1 SMP Mon Jun 29 09:05:02 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: No locks available

Post by pjsr2 » 2021/03/22 13:30:30

Is there an NFS file system involved?

What is the ouptut of the command

Code: Select all

systemctl status rpc-statd

foxy
Posts: 2
Joined: 2021/03/25 00:48:25

Re: No locks available

Post by foxy » 2021/03/25 01:10:27

rodmark wrote:
2021/03/20 01:37:28
Hello, today I installed on a vps with centos 7.9 a cloudlinux and a cpanel, then I tried to install htop but when I give the command htop this message appears and the htop does not open. htop: No locks available. Does anyone know how to solve? thanks. :roll:
Happened to me just within the last hour.
Googling it brought the NFS reference, but I knew it is not NFS related on this server.
So it had to be file limits related, hence checked ulimit -n and increased it yet no joy.
Then thought a recent kernel update could have been the cause.
Reverted to previous kernel (google helped upon asking "how to revert back to old kernel in cloudlinux")
with this command:
# hybrid-to-normal
then just reboot.
Problem solved: it was a hybrid kernel which would bring normally some goodness from v8 to v7, but it obviously is not fully working, very dangerous if you use kernelcare in production...

foxy
Posts: 2
Joined: 2021/03/25 00:48:25

Re: No locks available

Post by foxy » 2021/03/26 03:11:15

It is not related to NFS, but to the CloudLinux kernel that you just updated to. You need to run hybrid-to-normal and perhaps get in touch with their support to get system state specific instructions.

Post Reply