Subject: Problem with locks
From: PSTM <pstm.spain@gmail.com>
Date: Fri, 16 Mar 2012 16:59:54 +0100

Hello,
I have a problem with a VPS. When I speak with support about it, they 
said that "it's my problem".
After reinstall all software CentOS 6 problem persist.
Really, before doing something about it, I need know where the problem is.

After some time programs fail to work:

Mar 13 09:54:53 vs2706 postfix/tlsmgr[5176]: fatal: cannot lock PRNG 
exchange file /var/lib/postfix/prng_exch: Cannot allocate memory
Mar 13 09:54:54 vs2706 postfix/master[881]: warning: process 
/usr/libexec/postfix/tlsmgr pid 5176 exit status 1
Mar 13 09:54:54 vs2706 postfix/master[881]: warning: 
/usr/libexec/postfix/tlsmgr: bad command startup -- throttling

updatedb: can not lock `/var/lib/mlocate/mlocate.db': No locks available


Seems that have not locks available. In support said that I have too 
much locks > 20000. But with lslk I only can see two mine.

Any suggestion?