On Sun, Oct 23, 2011 at 9:14 PM, Neil Harris <neil(a)tonal.clara.co.uk> wrote:
Linux provides the setrlimit() system call for this
purpose -- you could
either call it as a wrapper around lilypond, or hack it into a de-fanged
version of Lilypond.
If you're going to be running an auxiliary rendering process or special-use
server anyway, a few moments Googling finds the "softlimit" program,
provided as part of the daemontools package, which looks like it is intended
for providing the sort of limited sandboxing required here.
Yes, that sort of thing is what I meant by limiting CPU/mem usage on
the MW extension side. However, someone would have to actually do
that, as well as cleaning up the other coding style issues that I seem
to recall were floating around Extension:LilyPond in its current
state. So far, I don't believe anyone has actually shown themselves
willing to do that work.
Roan