Bug 1432219
| Summary: | dnf in rawhide uses much more RAM than dnf in Fedora 25 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> | 
| Component: | dnf | Assignee: | rpm-software-management | 
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | 
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 27 | CC: | jmracek, packaging-team-maint, rjones, rpm-software-management, vmukhame | 
| Target Milestone: | --- | Keywords: | Performance, Triaged | 
| 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: | 2017-11-07 11:06:36 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 910269, 1432213 | ||
| 
 
        
          Description
        
        
          Richard W.M. Jones
        
        
        
        
        
          2017-03-14 19:45:16 UTC
        
       
      
      
      
    FWIW increasing the RAM to 1 GB (from 512 MB) works. We should try to reproduce it inside isolated cgroup with limited RAM. This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. I have fixed several memory-leaks in dnf, libdnf. Please can you confirm that the issue is still reproducible with "dnf-0:2.7.5-1.fc26.noarch" and "libdnf-0.11.1"? A (long) one-line reproducer is:
$ virt-builder \
    --install fedora-repos-rawhide \
    --edit '/etc/yum.repos.d/fedora-rawhide.repo: s/^enabled=0/enabled=1/' \
    --edit '/etc/yum.repos.d/fedora-rawhide.repo: s/^gpgcheck=1/gpgcheck=0/' \
    --run-command 'dnf -y update dnf dnf-plugins-core libdnf' \
    --install bash,emacs,mlocate,net-tools,nfs-utils,ntp,sudo,telnet \
    fedora-26
To see what versions of dnf, libdnf were installed you have to grep
the /tmp/builder.log file inside the final image:
$ virt-cat fedora-26.img /tmp/builder.log | less
With Rawhide today I happened to get:
dnf 2.7.5-2.fc28
libdnf 0.11.1-2.fc28
These versions do appear to work in the restricted 500 MB environment
of the appliance, and so I am closing this bug as fixed in rawhide.
     |