BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] memory management
- Subject: [Discuss] memory management
- From: me at mattgillen.net (Matthew Gillen)
- Date: Sat, 20 Jun 2015 11:58:40 -0400
- In-reply-to: <558420D5.6090803@mattgillen.net>
- References: <558420D5.6090803@mattgillen.net>
Thanks for the suggestions. Addressing some random questions: -this is a Fedora box. Currently v21, but I've had these types of issues for years. - top, when I can get it to run, shows virtually no CPU use. The only thing that is getting to run is kswapd0 if I recall correctly. - I do have way to many tabs open in firefox. I thought the recent changes to not load pages in other tabs on startup meant that it was a little more forgiving in terms of memory of having a 100+ tabs open that you never actually load. I can certainly change my use-pattern there. Swappiness doesn't really help here. That just controls how eager linux is to swap something out. Once you're out of physical RAM, the OS is going to start swapping if it can. What I want for desktop environments is behavior like: if you run out of memory, kill the thing that's hogging the most. My typical case is that if there is a process using a ton of memory, it's probably doing something wrong (e.g. javascript, or eclipse going into a death spiral because of the awful Android plugin), and /that/ is what I want OOM-killer to murder. I suppose the right answer is to wrap the problem programs in a script so that every time I start them I can echo 999 > /proc/[firefox-pid]/oom_score_adj Anyone ever had to use cpuset(7) for anything? Thanks, Matt
- Follow-Ups:
- [Discuss] memory management
- From: me at mattgillen.net (Matthew Gillen)
- [Discuss] memory management
- From: smallm at panix.com (Mike Small)
- [Discuss] memory management
- References:
- [Discuss] memory management
- From: me at mattgillen.net (Matthew Gillen)
- [Discuss] memory management
- Prev by Date: [Discuss] SSD Drives
- Next by Date: [Discuss] memory management
- Previous by thread: [Discuss] Cool Processing
- Next by thread: [Discuss] memory management
- Index(es):