[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7385) back_mdb ENOSPC error returned from mdb_node_add incorrectly



--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@symas.com wrote:

> Frank.Swasey@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@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@ds71 ~]#=20
[root@ds71 ~]# slapindex2.4=20
5051fea8 =3D> mdb_tool_entry_reindex: txn_commit failed: No space left =
on device (28)
[root@ds71 ~]#=20
[root@ds71 ~]# slapindex2.4=20
50520b10 =3D> mdb_tool_entry_reindex: txn_commit failed: No space left =
on device (28)
[root@ds71 ~]#=20
[root@ds71 ~]# slapindex2.4=20
[root@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

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Sep 12, 2012, at 7:49 PM, <a =
href=3D"mailto:hyc@symas.com";>hyc@symas.com</a> wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><a =
href=3D"mailto:Frank.Swasey@uvm.edu";>Frank.Swasey@uvm.edu</a><span =
class=3D"Apple-converted-space">&nbsp;</span>wrote:<br><blockquote =
type=3D"cite">Full_Name: Francis Swasey<br></blockquote><blockquote =
type=3D"cite">Version: 2.4.32<br></blockquote><blockquote =
type=3D"cite">OS: RHEL6.3 64-bit<br></blockquote><blockquote =
type=3D"cite">URL:<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"ftp://ftp.openldap.org/incoming/";>ftp://ftp.openldap.org/incoming/=
</a><br></blockquote><blockquote type=3D"cite">Submission from: (NULL) =
(132.198.21.181)<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">In exploring =
converting to back_mdb, I have discovered a problem which =
results<br></blockquote><blockquote type=3D"cite">in the following =
symptoms:<br></blockquote><br>Thanks for the report, fixed now in git =
master.</span></blockquote></div><br><div>I saw it is also merged into =
the RE24 branch.</div><div><br></div><div>I tried today the latest =
commit from the RE24 branch and I did not see the error anymore in the =
slapadd tool.&nbsp;Where I noticed the&nbsp;No space left on device =
error before.</div><div>But I'm seeing it now when I run the =
slapindex.</div><div><br></div><div>Unfortunately I can't reproduce it =
with a test dataset that I created.</div><div>Probably because I have =
not enough attributes that I could add to index like on the real =
server.</div><div><br></div><div>If I run slapindex a second time, again =
error.</div><div>If I run slapindex a third time, no =
error.</div><div><br></div><div>The data.mdb grew a little bit during =
the slapindex runs.</div><div>=46rom about 710MB to =
1,2GB.</div><div><br></div><div>If I remove a few index options, =
slapindex runs through without a problem.</div><div><br></div><div>The =
output on the test server looks like below.</div><div><div>[root@ds71 =
~]# slapadd2.4 -b dc=3Dogilvy,dc=3Dcom -l =
all_slapcat.ldif&nbsp;</div><div>_#################### 100.00% eta =
&nbsp; none elapsed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;05m26s spd 596.0 =
k/s&nbsp;</div><div>Closing DB...</div><div>[root@ds71 =
~]#&nbsp;</div><div>[root@ds71 ~]# slapindex2.4&nbsp;</div><div>5051fea8 =
=3D&gt; mdb_tool_entry_reindex: txn_commit failed: No space left on =
device (28)</div><div>[root@ds71 ~]#&nbsp;</div><div>[root@ds71 ~]# =
slapindex2.4&nbsp;</div><div>50520b10 =3D&gt; mdb_tool_entry_reindex: =
txn_commit failed: No space left on device (28)</div><div>[root@ds71 =
~]#&nbsp;</div><div>[root@ds71 ~]# =
slapindex2.4&nbsp;</div><div>[root@ds71 =
~]#&nbsp;</div></div><div><br></div><div><br></div><div>Since you wrote =
ENOSPC can only be happen in 2 places, I thought it's still related =
somehow.</div><div>I'm a little bit clueless right now what else I can =
provide.</div><div><br></div><div>If there is something that I can =
provide, then let me know please and I try to provide =
it.</div><div><br></div><div><br></div><div>--</div><div>Marco</div><div><=
br></div><div><br></div></body></html>=

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