[Mageia-dev] rpm read locks issue.

Pascal Terjan pterjan at gmail.com
Sun Mar 4 13:20:34 CET 2012


On Sun, Mar 4, 2012 at 11:36, Pascal Terjan <pterjan at gmail.com> wrote:
> On Sun, Mar 4, 2012 at 11:07, Pascal Terjan <pterjan at gmail.com> wrote:
>> I would think we are leaking locks as it happens in a small
>> transaction after installing 641 packages and then happens in other
>> transactions.
>
> And it seems reproducible given a repository state:
>
> [root at jonund ~]# for i in
> /home/iurt/iurt/cauldron/core/release/20120303082019.lmenut.valstar.17715-x86_64/log/kdebase4-workspace-4.8.0-3.mga2//install_deps-*;
> do tail -n 100 $i | grep /76 | tail -n 1; done | cut -f1 -d/
>  649
>  [...]
>  649
It seems indeed easy to reproduce, I installed task-kde in a chroot
and it failed after 649/1318 packages:

installing libdiscid0-0.2.2-5.mga1.i586.rpm
kdegraphics-mobipocket-4.8.0-1.mga2.i586.rpm
kmousetool-4.8.0-1.mga2.i586.rpm libgnome2-2.32.1-8.mga2.i586.rpm
libbonoboui-2.24.5-3.mga2.i586.rpm libgnome2_0-2.32.1-8.mga2.i586.rpm
libglade2.0_0-2.6.4-6.mga2.i586.rpm
libbonoboui2_0-2.24.5-3.mga2.i586.rpm from /var/cache/urpmi/rpms
error: rpmdb: Lock table is out of available locker entries
error: cannot open Basenames index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: rpmdb: Lock table is out of available locker entries
error: cannot open Group index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Requirename index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Triggername index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Dirnames index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Installtid index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Sigmd5 index using db4 - Cannot allocate memory (12)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Sha1header index using db4 - Cannot allocate memory (12)


More information about the Mageia-dev mailing list