shrinking memory consumptions

Joshua N Pritikin jpritikin at pobox.com
Tue Apr 3 04:15:23 EDT 2007


On Mon, Apr 02, 2007 at 03:10:28PM -0300, Marcelo Tosatti wrote:
> We need certainly need to tune the OOM killer - I've done some testing
> with recent v2.6 kernels on our machines and it does behave very badly,
> killing daemons which are not the memory hog in question, for example
> 
> /proc/pid/oom_adj and oom_score need to be adjusted.

I floated a patch for sugar in Feb:

  http://comments.gmane.org/gmane.linux.laptop.olpc.sugar/1340

However, it wasn't applied because setting oom_adj requires 
capable(CAP_SYS_RESOURCE) and Marco wasn't sure how to arrange for it.



More information about the Devel mailing list