> > many of resource exhaustion come from careless programming. > > I would like such processes to be killed immediately. > > throwing up to broken state might be better. > > I prefer an option to plan9.ini that enable resrcwait(), because the call > > breaks > > traditional programming style and probably we need more time to have > > right solution. > > Not plan9.ini, as that's intel specific. But perhaps a global runtime switch > to turn this on and off (something under /dev/cpu*?), and a corresponding > switch in the /proc/*/ctl interface that would let individual processes say > what's best for them?
plan9.ini is used by all my machines that pxe boot, though the name is changed to /cfg/pxe/$ea. there are other config mechanisms, but they all rely on bootstrapping variables into #ec. we don't need to invent a new mechanism, even if we do not use plan9.ini. - erik