Messages in this thread | | | Date | Tue, 27 Oct 2009 15:46:36 +0900 (JST) | From | KOSAKI Motohiro <> | Subject | Re: Memory overcommit |
| |
> > > %check_badness.pl | sort -n | tail > > > -- > > > 89924 3938 mixer_applet2 > > > 90210 3942 tomboy > > > 94753 3936 clock-applet > > > 101994 3919 pulseaudio > > > 113525 4028 gnome-terminal > > > 127340 1 init > > > 128177 3871 nautilus > > > 151003 11515 bash > > > 256944 11653 mmap > > > 425561 3829 gnome-session > > > -- > > > Sigh, gnome-session has twice value of mmap(1G). > > > Of course, gnome-session only uses 6M bytes of anon. > > > I wonder this is because gnome-session has many children..but need to > > > dig more. Does anyone has idea ? > > > (CCed kosaki) > > > > Following output address the issue. > > The fact is, modern desktop application linked pretty many library. it > > makes bloat VSS size and increase > > OOM score. > > > > Ideally, We shouldn't account evictable file-backed mappings for oom_score. > > > Hmm. > I wonder why we consider VM size for OOM kiling. > How about RSS size?
Because, swap out-ed bad body (e.g. fork bomb process) still should be killed by oom. RSS + swap-entries is acceptable to me.
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |