Bug 1695525
| Summary: | Fails to map large DBs on i686/s390x | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Elliott Sales de Andrade <quantum.analyst> |
| Component: | qemu | Assignee: | Fedora Virtualization Maintainers <virt-maint> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 31 | CC: | amit, berrange, cfergeau, dan, dwmw2, fweimer, itamar, jstanek, pbonzini, rjones, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-24 18:54:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Elliott Sales de Andrade
2019-04-03 09:40:25 UTC
I have trouble setting up the s390x mock, so I have tested with i686 mock, and I cannot reproduce it so far: $ mock -r fedora-rawhide-i386 --forcearch=i686 --shell # python3 >>> import lmdb >>> lmdb.open("/tmp/test.db", map_size=2**40) Traceback (most recent call last): File "<stdin>", line 1, in <module> OverflowError: Integer argument exceeds limit. # expected >>> lmdb.open("/tmp/test.db", map_size=2**28) <Environment object at 0xf7631448> # no error >>> _.close() As a side note, this seems to be rather low-level issue, and I do not have much of an idea on what might be wrong. I suggest asking the authors of lmdb directly (http://www.openldap.org/lists/) as they might have a better understanding of the issue. Alternatively, try the devel.org to reach a wider audience – perhaps someone will have an idea. I don't see a problem when building in rawhide on s390x, within a 4GB VM ... Wrote: /home/sharkcz/python-zarr/python-zarr-2.3.2-1.fc31.src.rpm Thanks to Tom's message on the mailing list, I figured out that tests don't explicitly close backing stores leaving it to gc. This leaves several 2**28 mmaps around so that it eventually runs out of virtual memory space. I added a patch to close things and it now builds on all arches in koji.
This still fails in qemu'd mock:
$ mock -r fedora-rawhide-s390x --forcearch=s390x --install python3-lmdb
$ mock -r fedora-rawhide-s390x --forcearch=s390x --shell
# python3
>>> import lmdb
>>> lmdb.open("test.db", map_size=2**40)
but I'm less concerned about that now that I can get koji working properly.
I don't know if it's a qemu issue or elsewhere, but if you wish to close, that is fine by me (though figuring out the qemu mock issue might be nice.)
I suppose this is a qemu emulation issue. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. Re-assigning to qemu, as noted in comment 4. wonder if it could be related to bug #1741935, but sure it makes sense to retry with latest qemu This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |