[eeps] [erlang-questions] New EEP: setrlimit(2) analogue for Erlang

ok <>
Fri Feb 8 03:39:55 CET 2013


>
> Hmm .. inheritance .. neat, but I don't know.

It's not clear how much sense inheritance makes.

There have been concurrent systems in which a process is
born with some share of system resources and can portion
its share out amongst its children, so that a bound on
memory or CPU time or whatever really _is_ a bound on the
total resource consumption on and on behalf of that activity.
Then you run into issues like having a dead child return
unused resources to its parent's account.  This protects
against malice.

If inheritance is just inheritance, then a limited process
can consume unbounded amounts of memory by creating lots of
children.  This protects against accident, sort of, but has
no protection against malice.




More information about the eeps mailing list