From marco@schirrmeister.net Thu Sep 13 16:35:08 2012 From: marco@schirrmeister.net To: openldap-bugs@openldap.org Subject: Re: (ITS#7385) back_mdb ENOSPC error returned from mdb_node_add incorrectly Date: Thu, 13 Sep 2012 16:35:07 +0000 Message-ID: <201209131635.q8DGZ7Wr008008@boole.openldap.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8050455463421307396==" --===============8050455463421307396== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit --Apple-Mail=_D316E30E-F1E5-480E-A47A-F4610B0C33C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 12, 2012, at 7:49 PM, hyc(a)symas.com wrote: > Frank.Swasey(a)uvm.edu wrote: >> Full_Name: Francis Swasey >> Version: 2.4.32 >> OS: RHEL6.3 64-bit >> URL: ftp://ftp.openldap.org/incoming/ >> Submission from: (NULL) (132.198.21.181) >>=20 >>=20 >> In exploring converting to back_mdb, I have discovered a problem = which results >> in the following symptoms: >=20 > Thanks for the report, fixed now in git master. I saw it is also merged into the RE24 branch. I tried today the latest commit from the RE24 branch and I did not see = the error anymore in the slapadd tool. Where I noticed the No space left = on device error before. But I'm seeing it now when I run the slapindex. Unfortunately I can't reproduce it with a test dataset that I created. Probably because I have not enough attributes that I could add to index = like on the real server. If I run slapindex a second time, again error. If I run slapindex a third time, no error. The data.mdb grew a little bit during the slapindex runs. =46rom about 710MB to 1,2GB. If I remove a few index options, slapindex runs through without a = problem. The output on the test server looks like below. [root(a)ds71 ~]# slapadd2.4 -b dc=3Dogilvy,dc=3Dcom -l all_slapcat.ldif=20 _#################### 100.00% eta none elapsed 05m26s spd = 596.0 k/s=20 Closing DB... [root(a)ds71 ~]#=20 [root(a)ds71 ~]# slapindex2.4=20 5051fea8 =3D> mdb_tool_entry_reindex: txn_commit failed: No space left = on device (28) [root(a)ds71 ~]#=20 [root(a)ds71 ~]# slapindex2.4=20 50520b10 =3D> mdb_tool_entry_reindex: txn_commit failed: No space left = on device (28) [root(a)ds71 ~]#=20 [root(a)ds71 ~]# slapindex2.4=20 [root(a)ds71 ~]#=20 Since you wrote ENOSPC can only be happen in 2 places, I thought it's = still related somehow. I'm a little bit clueless right now what else I can provide. If there is something that I can provide, then let me know please and I = try to provide it. -- Marco --Apple-Mail=_D316E30E-F1E5-480E-A47A-F4610B0C33C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii hyc(a)symas.com wrote:
Frank.Swasey(a)uvm.edu wrote:
Full_Name: Francis Swasey
Version: 2.4.32
OS: RHEL6.3 64-bit
URL: ftp://ftp.openldap.org/incoming/=
Submission from: (NULL) = (132.198.21.181)


In exploring = converting to back_mdb, I have discovered a problem which = results
in the following = symptoms:

Thanks for the report, fixed now in git = master.

I saw it is also merged into = the RE24 branch.

I tried today the latest = commit from the RE24 branch and I did not see the error anymore in the = slapadd tool. Where I noticed the No space left on device = error before.
But I'm seeing it now when I run the = slapindex.

Unfortunately I can't reproduce it = with a test dataset that I created.
Probably because I have = not enough attributes that I could add to index like on the real = server.

If I run slapindex a second time, again = error.
If I run slapindex a third time, no = error.

The data.mdb grew a little bit during = the slapindex runs.
=46rom about 710MB to = 1,2GB.

If I remove a few index options, = slapindex runs through without a problem.

The = output on the test server looks like below.
[root(a)ds71 = ~]# slapadd2.4 -b dc=3Dogilvy,dc=3Dcom -l = all_slapcat.ldif 
_#################### 100.00% eta =   none elapsed          05m26s spd 596.0 = k/s 
Closing DB...
[root(a)ds71 = ~]# 
[root(a)ds71 ~]# slapindex2.4 
5051fea8 = =3D> mdb_tool_entry_reindex: txn_commit failed: No space left on = device (28)
[root(a)ds71 ~]# 
[root(a)ds71 ~]# = slapindex2.4 
50520b10 =3D> mdb_tool_entry_reindex: = txn_commit failed: No space left on device (28)
[root(a)ds71 = ~]# 
[root(a)ds71 ~]# = slapindex2.4 
[root(a)ds71 = ~]# 


Since you wrote = ENOSPC can only be happen in 2 places, I thought it's still related = somehow.
I'm a little bit clueless right now what else I can = provide.

If there is something that I can = provide, then let me know please and I try to provide = it.


--
Marco
<= br>

= --Apple-Mail=_D316E30E-F1E5-480E-A47A-F4610B0C33C6-- --===============8050455463421307396==--