Bug 567252
| Summary: | Memory consuming file /usr/lib/local/local-archive | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zdenek Kabelac <zkabelac> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | akozumpl, jonathan, mbroz, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-02-25 15:41:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Zdenek Kabelac
2010-02-22 13:13:49 UTC
Isn't this same problem going to exist post-installation on any system with memory pressure? Looking at my installed system, I see that /usr/lib/locale/locale-archive is nearly 100 MB there too. If the lvm tools behave the same way in a regular environment as they do in the anaconda environment, that means they're going to lock all that memory there too. Therefore running lvm commands on a low-memory system is going to have the same problem as running lvm commands during anaconda. Yes - it works this way in localized environment for quite some time. mlockall() and 100MB mmap files are not going to work well together... Patch for lvm is under development to avoid locking this large file in memory. Okay, cool. Then I really don't think we need to do anything in anaconda since a patch for lvm will take care of this across the board. Glad to hear it's in the works. I assume you still could save considerable amount of disk space on anaconda image if locales would be compiled in place..... bzip2 compress whole file into 18MB, 7zip 3MB But I don't know how much disk space it takes on squashfs - and also how much memory it takes to read such file - maybe it could be more memory efficient to have this compiled in ram disk. Zdenek updated me today that lvm after version 2.02.62 and dmeventd, clvmd after version 2.02.63 have a workaround for the problem. |