Re: How to close the RPMLOCK?
Tor Hveem <[email protected]> Sun, 21 Mar 2004 20:02:50 +0100
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <[email protected]> |
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? Tor Hveem