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

Re: (ITS#7862) slapd crash on modifications after host hard reset (in mdb)



--f46d044288025e7ce404fa740f82
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Excuse me, where I can read about mapasync limitations on Linux?
http://symas.com/mdb/doc/group__mdb__env.html#gab034ed0d8e5938090aef5ee0997=
f7e94contains
no such info. Seems to me I've missed some important info about
configuration.

And in addition - is there way to check DB health status without running
slapd?


2014-05-28 15:02 GMT+04:00 Howard Chu <hyc@symas.com>:

> Vadim Prozorov wrote:
>
>>     Did you have dbnosync configured on this backend? Looks like garbage
>> data
>>     got written to the freeDB.
>>
>>
>> No, DB config section is:
>> # define MDB parameters
>> backendmdb
>> databasemdb
>> maxsize20000000000
>> envflagswritemap mapasync
>> # end define
>>
>
> Unfortunately, in Linux mapasync is a no-op. It seems then that your DB i=
s
> quite corrupted.
>
>
> --
>   -- Howard Chu
>   CTO, Symas Corp.           http://www.symas.com
>   Director, Highland Sun     http://highlandsun.com/hyc/
>   Chief Architect, OpenLDAP  http://www.openldap.org/project/
>



--=20
=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,
=D0=92=D0=B0=D0=B4=D0=B8=D0=BC =D0=9F=D1=80=D0=BE=D0=B7=D0=BE=D1=80=D0=BE=
=D0=B2.

--f46d044288025e7ce404fa740f82
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Excuse me, where I can read about mapasync limitations on =
Linux?<div><a href=3D"http://symas.com/mdb/doc/group__mdb__env.html#gab034e=
d0d8e5938090aef5ee0997f7e94">http://symas.com/mdb/doc/group__mdb__env.html#=
gab034ed0d8e5938090aef5ee0997f7e94</a> contains no such info. Seems to me I=
&#39;ve missed some important info about configuration.<br>
</div><div><br></div><div>And in addition - is there way to check DB health=
 status without running slapd?</div></div><div class=3D"gmail_extra"><br><b=
r><div class=3D"gmail_quote">2014-05-28 15:02 GMT+04:00 Howard Chu <span di=
r=3D"ltr">&lt;<a href=3D"mailto:hyc@symas.com"; target=3D"_blank">hyc@symas.=
com</a>&gt;</span>:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"">Vadim Prozorov wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
=C2=A0 =C2=A0 Did you have dbnosync configured on this backend? Looks like =
garbage data<br>
=C2=A0 =C2=A0 got written to the freeDB.<br>
<br>
<br>
No, DB config section is:<br>
# define MDB parameters<br>
backendmdb<br>
databasemdb<br>
maxsize20000000000<br>
envflagswritemap mapasync<br>
# end define<br>
</blockquote>
<br></div>
Unfortunately, in Linux mapasync is a no-op. It seems then that your DB is =
quite corrupted.<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
-- <br>
=C2=A0 -- Howard Chu<br>
=C2=A0 CTO, Symas Corp. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http:=
//www.symas.com" target=3D"_blank">http://www.symas.com</a><br>
=C2=A0 Director, Highland Sun =C2=A0 =C2=A0 <a href=3D"http://highlandsun.c=
om/hyc/" target=3D"_blank">http://highlandsun.com/hyc/</a><br>
=C2=A0 Chief Architect, OpenLDAP =C2=A0<a href=3D"http://www.openldap.org/p=
roject/" target=3D"_blank">http://www.openldap.org/<u></u>project/</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div>=D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC,<br>=D0=
=92=D0=B0=D0=B4=D0=B8=D0=BC =D0=9F=D1=80=D0=BE=D0=B7=D0=BE=D1=80=D0=BE=D0=
=B2.</div><div><br></div>
</div>

--f46d044288025e7ce404fa740f82--