On 08/03/2012 01:08 AM, Graham Murray wrote: > Michael Orlitzky <mich...@orlitzky.com> writes: > >> Is there a blessed method these days for setting the ulimit per-daemon? >> >> The best I've been able to do is a global setting in /etc/rc.conf: >> >> rc_ulimit="-s 1048576" >> >> The entries under /etc/security seem to be ignored when using >> `/etc/init.d/foo start`. > > Add an rc_ulimits= line to /etc/conf.d/daemon_name >
Wow, this works. Thanks!