https://bugzilla.wikimedia.org/show_bug.cgi?id=43188

--- Comment #5 from Faidon Liambotis <fai...@wikimedia.org> ---
cgroups are nice and I agree that it'd be nice to use them. We can even use
LXC, which sits on top of them and provides an easy way to run processes better
isolated.

However, I also think that a timeout mechanism should be employed to kill
processes that hang, for whatever reason that can't be caught otherwise (e.g.
maybe they're just sitting idle, not consuming memory or CPU). If we really
feel like overengineering, we can even use cgroups to properly kill the whole
group, including potentially runaway processes :)

Jan, from a quick glance timelimit is basically signal handlers and alarm(),
like what I suggested earlier. My idea was writing that in PHP, but using that
helper might be easier indeed.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to