Growing shared memory leak?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to determine if a problem I am experiencing is a bug or if
there is something I am missing. Last week I found that 15GB of my
32GB RAM was used by shared memory, causing my system to fill swap.
After about 1hr of trying to discover the reason for this, the only
thing I could find was that `df` was indicating that space was being
used by tmpfs mounted on /tmp, but I could not find files that came
anywhere close to this size.

Now I am inspecting my system after a few days of uptime and have
found that shared memory is slowly growing again. It's currently up to
almost 4GB:

jmetzmeier@localhost:/tmp $ free -m
              total        used        free      shared  buff/cache   available
Mem:           32065        9493        2185        3920       20386       18204
Swap:           8191        2114        6077


When I check df, what's reported as used on /tmp is pretty close to my
shared memory usage:

jmetzmeier@localhost:/tmp $ df -hT /tmp
Filesystem     Type   Size  Used Avail Use% Mounted on
tmpfs          tmpfs   16G  3.5G   13G  22% /tmp

However, `du` does not show 3.5GB of files inside:

jmetzmeier@localhost:/tmp $ sudo du -sh ./
32K     ./

Does anyone know what could be happening here? Does writing a file to
tmpfs and then deleting it cause the tmpfs to retain that allocated
memory until reboot?

My system is running Fedora 34. I have ensured nothing is mounted over
top of /tmp and hiding files.

Thanks,
Jordan Metzmeier
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux