https://bugs.openldap.org/show_bug.cgi?id=8361
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Howard Chu <hyc(a)openldap.org> ---
Unix case is a non-issue. libc only does the `sprintf(buf, "Error %d", err)`
fallback for error codes it doesn't recognize. These only occur when an old
libc is running on a newer kernel version (that happens to define new errno
values).
So in practice it only happens with extremely old statically linked binaries
running on a much newer system.
The Windows situation is a bit cleaner now that we're not using as many libc
error codes. (ITS#8192). In most cases none of that will matter. Also most
error messages are short, generally shorter than one 80 column line. Not worth
worrying about.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8192
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Howard Chu <hyc(a)openldap.org> ---
In mdb.master3 bf5c4e0f2302c07a1a5552143be5a353a1fb3fe9
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8475
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=10034
Issue ID: 10034
Summary: Assertion 'i < NUMKEYS(mp)' failed in
mdb_page_search_root()"
Product: LMDB
Version: 0.9.23
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Keywords: needs_review
Severity: normal
Priority: ---
Component: liblmdb
Assignee: bugs(a)openldap.org
Reporter: 763280032(a)qq.com
Target Milestone: ---
We found that when lmdb is opened after OS startup and data is written to it,
lmdb will trigger abort probabilistically(Restart the OS 600 times will trigger
once);
We want to know what situation triggers this issue(Assertion 'i < NUMKEYS(mp)'
failed in mdb_page_search_root()); we want to know if there is a problem with
our usage;
Please Help Us
(gdb) x/8s 0x8baee988
0x8baee988: "8\373Ô²\b\371Ô²mdb.c:5542: Assertion 'i < NUMKEYS(mp)' failed in
mdb_page_search_root()"
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8813
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FEEDBACK
--- Comment #7 from Howard Chu <hyc(a)openldap.org> ---
(In reply to markus(a)greenrobot.de from comment #5)
> On 24.10.19 03:49, Howard Chu wrote:
> > You're free to define MDB_TRPAGE_MAX to a larger value. It just means
> > you increase the chance of overrunning the 2GB available address space.
> > There's no magic, you can't fit every 64bit database workload into only
> > a 32bit address space. When your transactions are too large, the normal
> > thing to do is commit more often so they don't grow so large.
>
> I think you meant MDB_TRPAGE_SIZE? At least that seemed to work, while
> MDB_TRPAGE_MAX ended up in another MDB_TXN_FULL (tl[0].mid <
> MDB_TRPAGE_SIZE check failed).
>
> Doubling MDB_TRPAGE_SIZE also doubled the threshold of the object count
> where it starts failing: using 8192 it was able to remove 4M entries
> while the limit with 4096 was 2M entries.
>
> MDB_TRPAGE_SIZE is only used to malloc txn->mt_rpages (and some checks),
> as far as I can tell.
>
> To make a reasonable decision here, could you please confirm:
>
> 1. txn->mt_rpages is RAM only and has no impact on mmaped sections
> (and/or file format).
>
> 2. RAM consumption is defined by number of transactions only: per
> transaction MDB_TRPAGE_SIZE bytes is allocated. Other than that it does
> not increase memory consumption.
>
> 3. There is no other disadvantage other than higher memory consumption
> per transaction as written in the previous point.
>
>
> In that case, I think I'll go with 16K (or even 32K). Does not seem too
> much for an transaction, given that it quadruples the amount of data
> allowed to be processed. 32 bit devices are not servers, so I do not
> expect a high number of concurrent transactions anyway.
>
> Thanks!
>
> Markus
Sorry for going quiet. Yes, to all 3 of your points, it only affects in-memory
bookkeeping and has no effect on the file. The only consequence of increasing
these constants is potentially higher memory consumption.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8579
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |1.0.0
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Howard Chu <hyc(a)openldap.org> ---
I see no reason not to do this.
Some of the caveats about fork/exec are still overstated.
LMDB uses fcntl() locks, not flock(), so some of the concerns about flock()
semantics are irrelevant.
There is nothing useful an exec'd process can do with the me_fd, so yes, let's
close it.
Fixed in mdb.master3 cf52db2bee52796bb4140b32679f4723a0d7d44f
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8691
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #1 from Howard Chu <hyc(a)openldap.org> ---
Unable to reproduce this any more. "--without-threads" is no longer a supported
configuration.
OpenLDAP 2.6 has no trouble starting/stopping on Windows.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=6198
OndÅ™ej KuznÃk <ondra(a)mistotebe.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.openldap.org/s
| |how_bug.cgi?id=10497
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=8537
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Howard Chu <hyc(a)openldap.org> ---
Didn't see any crash in current mdb.master3,
9aa3ac00567db8d5222abea46325a8b882937350
I see EINVAL on case 9 with the test program, trying to use MDB_GET_CURRENT
after and MDB_SET_KEY that returned MDB_NOTFOUND. This appears to be correct
behavior, since the cursor isn't pointing at anything when MDB_NOTFOUND is
returned.
On the reported commit ID, the test program asserts on case 0, but that doesn't
appear to be relevant any more.
--
You are receiving this mail because:
You are on the CC list for the issue.
https://bugs.openldap.org/show_bug.cgi?id=9011
Howard Chu <hyc(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #2 from Howard Chu <hyc(a)openldap.org> ---
Why does a wrapper or binding care whether a txn is read-only or read-write?
--
You are receiving this mail because:
You are on the CC list for the issue.