Date: Tue, 23 Jan 2018 12:40:17 +0700 From: Olivier <Olivier.Nicole@cs.ait.ac.th> To: freebsd-questions@freebsd.org Subject: Limit resources for a given program Message-ID: <wu78tcpgmke.fsf@banyan.cs.ait.ac.th>
next in thread | raw e-mail | index | archive | help
Hi, 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, Olivier --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu78tcpgmke.fsf>