Re: How to close the RPMLOCK?
seth vidal <skvidal-c/MNwgJ9CEH2fBVCVOL8/[email protected]> Sun, 21 Mar 2004 15:15:26 -0500
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <1079900126.578.9.camel@binkley> |
On Sun, 2004-03-21 at 20:02 +0100, Tor Hveem wrote: > Fredag 6. februar 2004 00:43 skreiv Tor Hveem: > > In newer versions of rpm-python some db operations takes a lock > > (/var/lib/rpm/RPMLOCK). My problem is that I'm not able to close that file > > from python. Many db operations opens that file, and I have been running > > out of file descriptors because rpmmodule.so opens the RPMLOCK file more > > than 1024 times (which is my default file descriptor limit). > > What do you guys do if you want to install 1024 RPMS in 1024 different > transactions then? Or remove 1024 RPMS in different transactions. Or any > other rpm-operation that takes a lock? > what versions of rpm/rpm-python have this feature? -sv