Re: EarlyOOM +ZRAM Only

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

 



On Sat, Aug 15, 2020 at 11:09 AM Sergio Belkin <sebelk@xxxxxxxxx> wrote:
>
>
>
> > However swap usage is still high :
> > free -m
> >               total        used        free      shared  buff/cache   available
> > Mem:          15887        8577        1187        4587        6123        2382
> > Swap:          4095        3854         241
> >
> > It's weird, isn't it?
>
> >> It's consistent. Only ~240 MB of 900M for PK had been evicted to swap.
> >> When restarting PK, it dropped those 240MB in swap. Free memory also
> >> went up no doubt. I don't know why it's using so much memory, what all
> >> these anonymous pages are. If you catch it going above 500M, check
> >> /proc/pid/status and let's see what the breakdown is of memory usage.
>
> Ok but smem tell me that around 300M is swap used, and the ~3.5G remaining???
> Is there a way to find the culprit processes?
> Thanks in advance!

I'm not familiar enough with smem to know what it does or why it's
missing things, but

for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 "
"$3}END{ print ""}' $file; done | sort -k 2 -n -r | less

Finds more things using swap than smem. As in, smem isn't showing
packagekitd for me at all, and yet /proc/pid/status for pk is showing
VmSwap is 16M, which at the moment is 20% of swap.

What do you get for zramctl?

-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux