Re: [gentoo-user] Per-process-tree memory quotas?

2018-10-19 Thread Andrew Udvare



> On 2018-10-19, at 23:24, Alan Grimes  wrote:
> 
> How do I do this?

Cgroups were sort of invented for this reason. Yes it requires Systemd.

https://wiki.archlinux.org/index.php/cgroups

I too have 32 GiB of RAM and I'm curious how Chromium acts under a constrained 
environment, or what limits can be placed especially on the CPU. In my 
experience using Chrome inside VMs, it acts very poorly.

-- 
Andrew


[gentoo-user] Per-process-tree memory quotas?

2018-10-19 Thread Alan Grimes
Hey, guys I'm having trouble here. =\


1. I have a stupifyingly vast amount of memory (32GB)
2. I'm hitting swap with nothing but a few browser windows with maybe a
dozen tabs each, libreoffice, and maybe 6 console windows. I should not
be using more than 2.5gb ram right now but I'm using 14.6gb, not
counting cache.


The two major culprits are the web browsers, seamonkey and Chromium...
They are absolutely out of control preventing me from running more
interesting applications on my machine. I have one code that does number
theory but it needs 25gb of ram to run, I can't run it now with these
goddamned web browsers eating ram like it's free. I would like to
establish hard memory quotas for the entire process tree of each of them
to 2.5gb.

How do I do this?


-- 
Please report bounces from this address to a...@numentics.com

Powers are not rights.