Limit resources for a given program
Olivier.Nicole at cs.ait.ac.th
Tue Jan 23 08:07:27 UTC 2018
Is there a way, in FreeBSD, to limit the clocktime for a given command?
I use LibreOffice to automatically convert many types of documents to
PDF. When it is an HTML document with external links, it will run
indefinitely, trying to access the external resources. It will not use
much CPU but mostly sits idled, so limits(8) -t is not the solution, nor
is rctl(8) that needs a process ID (but I only have the command name) or
a user ID (but I don't want to limit a user, just that program).
Any idea how I can solve that?
Thanks in advance,
More information about the freebsd-questions