Re: [vserver] Problem with locks

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 17 Mar 2012 - 02:13:09 GMT
Message-ID: <20120317021309.GI25081@MAIL.13thfloor.at>

On Fri, Mar 16, 2012 at 04:59:54PM +0100, PSTM wrote:
> Hello,
> I have a problem with a VPS.

What version of Linux-VServer (kernel/patch) is running there?

> 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.

looks like ...

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

I wouldn't trust lslk too much, it is a rather ancient
tool and probably misses quite a lot (similar to ifconfig)

> Any suggestion?

find what creates filesystem locks and doesn't release
them when done and fix the software ...

HTH,
Herbert
Received on Sat Mar 17 02:13:16 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 17 Mar 2012 - 02:13:16 GMT by hypermail 2.1.8