<tt><font size=3>Guy, I have had the following problem frequently.</font></tt>
<br>
<br><tt><font size=3>I'm not sure if I have a memory problem or a rmp db
problem.</font></tt>
<br><tt><font size=3>Has anyone ever seen this ?</font></tt>
<br>
<br><tt><font size=3>I'm running koji on a Fedora 11, with</font></tt>
<br><tt><font size=3>createrepo-0.9.7-7.fc11.noarch</font></tt>
<br><tt><font size=3>yum-3.2.23-3.fc11.noarch</font></tt>
<br><tt><font size=3>rpm-4.7.1-3.fc11.x86_64</font></tt>
<br>
<br>
<br><tt><font size=3>$ /usr/libexec/kojid/mergerepos -a i386 -b /mnt/koji/repos/oc-fedora12-build/742/i386/blocklist
-o /tmp/koji/tasks/4653/4653/repo -g /mnt/koji/repos/oc-fedora12-build/742/groups/comps.xml
-r </font></tt><a href=file:///tmp/koji/tasks/4653/4653/repo_742_premerge/><tt><font size=3>file:///tmp/koji/tasks/4653/4653/repo_742_premerge/</font></tt></a><tt><font size=3>
-r </font></tt><a href=http://c4ebdaily.ltc.br.ibm.com/fedora/releases/12/Everything/i386/os/><tt><font size=3>http://c4ebdaily.ltc.br.ibm.com/fedora/releases/12/Everything/i386/os/</font></tt></a><tt><font size=3>
-r </font></tt><a href=http://c4ebdaily.ltc.br.ibm.com/fedora/updates/12/i386/><tt><font size=3>http://c4ebdaily.ltc.br.ibm.com/fedora/updates/12/i386/</font></tt></a><tt><font size=3><br>
error: db4 error(12) from dbenv-&gt;open: Cannot allocate memory<br>
error: db4 error(12) from dbenv-&gt;close: Cannot allocate memory<br>
error: cannot open Packages index using db3 - Cannot allocate memory (12)<br>
error: cannot open Packages database in /var/lib/rpm<br>
Traceback (most recent call last):<br>
 &nbsp;File &quot;/usr/libexec/kojid/mergerepos&quot;, line 241, in &lt;module&gt;<br>
 &nbsp; &nbsp;main(sys.argv[1:])<br>
 &nbsp;File &quot;/usr/libexec/kojid/mergerepos&quot;, line 232, in main<br>
 &nbsp; &nbsp;merge = RepoMerge(opts.repos, opts.arches, opts.groupfile,
blocked, opts.outputdir)<br>
 &nbsp;File &quot;/usr/libexec/kojid/mergerepos&quot;, line 106, in __init__<br>
 &nbsp; &nbsp;self.yumbase.conf.cachedir = tempfile.mkdtemp()<br>
 &nbsp;File &quot;/usr/lib/python2.6/site-packages/yum/__init__.py&quot;,
line 652, in &lt;lambda&gt;<br>
 &nbsp; &nbsp;conf = property(fget=lambda self: self._getConfig(),<br>
 &nbsp;File &quot;/usr/lib/python2.6/site-packages/yum/__init__.py&quot;,
line 239, in _getConfig<br>
 &nbsp; &nbsp;self._conf = config.readMainConfig(startupconf)<br>
 &nbsp;File &quot;/usr/lib/python2.6/site-packages/yum/config.py&quot;,
line 794, in readMainConfig<br>
 &nbsp; &nbsp;yumvars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)<br>
 &nbsp;File &quot;/usr/lib/python2.6/site-packages/yum/config.py&quot;,
line 867, in _getsysver<br>
 &nbsp; &nbsp;idx = ts.dbMatch('provides', distroverpkg)<br>
TypeError: rpmdb open failed<br>
Exception AttributeError: &quot;'YumBase' object has no attribute 'preconf'&quot;
in &lt;bound method RepoMerge.__del__ of &lt;__main__.RepoMerge object
at 0x1b9d990&gt;&gt; ignored<br>
Exception AttributeError: &quot;'YumBase' object has no attribute 'preconf'&quot;
in &lt;bound method YumBase.__del__ of &lt;yum.YumBase object at 0x1bb03d0&gt;&gt;
ignored<br>
</font></tt>
<br><font size=2 face="sans-serif">Regards</font>
<br><font size=2 face="sans-serif"><br>
Rodrigo Trujillo<br>
</font>