[Mageia-dev] rpm read locks issue.
Pascal Terjan
pterjan at gmail.com
Sun Mar 4 12:07:10 CET 2012
On Sun, Mar 4, 2012 at 01:49, Thierry Vignaud <thierry.vignaud at gmail.com> wrote:
> On 3 March 2012 01:52, D.Morgan <dmorganec at gmail.com> wrote:
>>>> virhe: rpmdb: Lock table is out of available locker entries
>>>> virhe: indeksin Group avaus db4:llä ei onnistu - Muistin varaaminen ei
>>>> onnistu (12)
>>>
>>> I wonder, could it be because of:
>>>
>>> tv <tv> 1:4.9.1.2-17.mga2:
>>> + Revision: 215717
>>> - patch 5000: switch back to former, much smaller BDB memory pool size
>>> (RhBug:752897)
>>
>> i tried to remove it for testing purpose but we still have the issue.
>>
>> Thierry do you see what may be the culprit for this ?
>
> As previously said, I'm aware of only one cause: sg using librpm
> having crashed previously
The problem is not this one but the other one mentionned lated in the thread
When installing too many packages (like when building
kdebase4-workspace or compiz) it fails with:
641/764: lib64webkitgtk1.0_0 #############################################
removing installed rpms (xdg-user-dirs-gtk-0.8-6.mga2.x86_64.rpm
webkit-1.7.5-1.mga2.x86_64.rpm
lib64gtk+-x11-2.0_0-2.24.10-3.mga2.x86_64.rpm
lib64gail18-2.24.10-3.mga2.x86_64.rpm
lib64icu48-4.8.1.1-2.mga2.x86_64.rpm gtk+2.0-2.24.10-3.mga2.x86_64.rpm
lib64gtk+2.0_0-2.24.10-3.mga2.x86_64.rpm
lib64javascriptcoregtk1.0_0-1.7.5-1.mga2.x86_64.rpm
lib64webkitgtk1.0_0-1.7.5-1.mga2.x86_64.rpm
webkit1.0-1.7.5-1.mga2.x86_64.rpm) from /var/cache/urpmi/rpms
retrieving rpm files from medium "core_release"...
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64xft-devel-2.2.0-2.mga2.x86_64.rpm
0% of 0 completed, ETA = --:--:--, speed = 0
^M 100% of 16235 completed, ETA = --:--:--, speed =
7927k ^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64cairo-devel-1.10.2-6.mga2.x86_64.rpm
100% of 543k completed, ETA = --:--:--, speed = 24.9M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64pixman-devel-0.24.4-1.mga2.x86_64.rpm
100% of 15972 completed, ETA = --:--:--, speed = 2118k
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64directfb-devel-1.5.3-4.mga2.x86_64.rpm
100% of 268k completed, ETA = --:--:--, speed = 26.7M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64gdk_pixbuf2.0-devel-2.25.2-1.mga2.x86_64.rpm
100% of 187k completed, ETA = --:--:--, speed = 18.8M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64rsvg2_2-2.35.2-1.mga2.x86_64.rpm
100% of 84263 completed, ETA = --:--:--, speed = 59.9M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64croco-devel-0.6.3-2.mga2.x86_64.rpm
100% of 85150 completed, ETA = --:--:--, speed = 57.8M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64pango1.0-devel-1.29.5-1.mga2.x86_64.rpm
100% of 101k completed, ETA = --:--:--, speed = 66.7M
^M
^Mretrieved
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release
lib64xft-devel-2.2.0-2.mga2.x86_64.rpm
lib64cairo-devel-1.10.2-6.mga2.x86_64.rpm
lib64pixman-devel-0.24.4-1.mga2.x86_64.rpm
lib64directfb-devel-1.5.3-4.mga2.x86_64.rpm
lib64gdk_pixbuf2.0-devel-2.25.2-1.mga2.x86_64.rpm
lib64rsvg2_2-2.35.2-1.mga2.x86_64.rpm
lib64croco-devel-0.6.3-2.mga2.x86_64.rpm
lib64pango1.0-devel-1.29.5-1.mga2.x86_64.rpm
...retrieving done
installing lib64xft-devel-2.2.0-2.mga2.x86_64.rpm
lib64cairo-devel-1.10.2-6.mga2.x86_64.rpm
lib64directfb-devel-1.5.3-4.mga2.x86_64.rpm
lib64pixman-devel-0.24.4-1.mga2.x86_64.rpm
lib64gdk_pixbuf2.0-devel-2.25.2-1.mga2.x86_64.rpm
lib64rsvg2_2-2.35.2-1.mga2.x86_64.rpm
lib64croco-devel-0.6.3-2.mga2.x86_64.rpm
lib64pango1.0-devel-1.29.5-1.mga2.x86_64.rpm from
/var/cache/urpmi/rpms
starting installing packages
created transaction for installing on / (remove=0, install=0, upgrade=8)
error: rpmdb: Lock table is out of available locker entries
error: cannot open Obsoletename 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: rpmdb: Lock table is out of available locker entries
error: rpmdb: Lock table is out of available locker entries
error: rpmdb: Lock table is out of available locker entries
error: rpmdb: Lock table is out of available locker entries
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: 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)
removing installed rpms (lib64xft-devel-2.2.0-2.mga2.x86_64.rpm
lib64cairo-devel-1.10.2-6.mga2.x86_64.rpm
lib64directfb-devel-1.5.3-4.mga2.x86_64.rpm
lib64pixman-devel-0.24.4-1.mga2.x86_64.rpm
lib64gdk_pixbuf2.0-devel-2.25.2-1.mga2.x86_64.rpm
lib64rsvg2_2-2.35.2-1.mga2.x86_64.rpm
lib64croco-devel-0.6.3-2.mga2.x86_64.rpm
lib64pango1.0-devel-1.29.5-1.mga2.x86_64.rpm) from
/var/cache/urpmi/rpms
retrieving rpm files from medium "core_release"...
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64boost_system1.48.0-1.48.0-8.mga2.x86_64.rpm
0% of 0 completed, ETA = --:--:--, speed = 0
^M 100% of 12974 completed, ETA = --:--:--, speed =
6334k ^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64bluez-devel-4.96-5.mga2.x86_64.rpm
100% of 61250 completed, ETA = --:--:--, speed = 4912k
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64rsvg2-devel-2.35.2-1.mga2.x86_64.rpm
100% of 30661 completed, ETA = --:--:--, speed = 21.0M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64boost_filesystem1.48.0-1.48.0-8.mga2.x86_64.rpm
100% of 48274 completed, ETA = --:--:--, speed = 26.2M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64Qgpsmm20-3.3-1.mga2.x86_64.rpm
100% of 43401 completed, ETA = --:--:--, speed = 29.4M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64wayland-devel-0.85.0-4.mga2.x86_64.rpm
100% of 26375 completed, ETA = --:--:--, speed = 28.1M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64gbm1-devel-8.0.1-3.mga2.x86_64.rpm
100% of 17003 completed, ETA = --:--:--, speed = 18.1M
^M
^M
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release/lib64gpsd-devel-3.3-1.mga2.x86_64.rpm
100% of 54055 completed, ETA = --:--:--, speed = 7998k
^M
^Mretrieved
http://repository.mageia.org/distrib/cauldron/x86_64/media/core/release
lib64boost_system1.48.0-1.48.0-8.mga2.x86_64.rpm
lib64bluez-devel-4.96-5.mga2.x86_64.rpm
lib64rsvg2-devel-2.35.2-1.mga2.x86_64.rpm
lib64boost_filesystem1.48.0-1.48.0-8.mga2.x86_64.rpm
lib64Qgpsmm20-3.3-1.mga2.x86_64.rpm
lib64wayland-devel-0.85.0-4.mga2.x86_64.rpm
lib64gbm1-devel-8.0.1-3.mga2.x86_64.rpm
lib64gpsd-devel-3.3-1.mga2.x86_64.rpm
...retrieving done
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages index using db4 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
installing lib64boost_system1.48.0-1.48.0-8.mga2.x86_64.rpm
lib64wayland-devel-0.85.0-4.mga2.x86_64.rpm
lib64bluez-devel-4.96-5.mga2.x86_64.rpm
lib64boost_filesystem1.48.0-1.48.0-8.mga2.x86_64.rpm
lib64rsvg2-devel-2.35.2-1.mga2.x86_64.rpm
lib64Qgpsmm20-3.3-1.mga2.x86_64.rpm
lib64gbm1-devel-8.0.1-3.mga2.x86_64.rpm
lib64gpsd-devel-3.3-1.mga2.x86_64.rpm from /var/cache/urpmi/rpms
starting installing packages
error: rpmdb: Lock table is out of available locker entries
error: cannot open Packages database in /var/lib/rpm
unable to open rpmdb
I would think we are leaking locks as it happens in a small
transaction after installing 641 packages and then happens in other
transactions.
More information about the Mageia-dev
mailing list