Re: [gentoo-user] Persistent ulimit for daemons

2012-08-03 Thread Michael Orlitzky
On 08/03/2012 01:08 AM, Graham Murray wrote: > Michael Orlitzky 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 t

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-03 Thread Michael Orlitzky
On 08/03/2012 12:44 AM, Joost Roeleveld wrote: > > I do get 4096. > Just had another good look at my notes, I also changed the init-file (Added > the ulimit-statement here): > *** > ... > ebegin "Starting ${SVCNAME}" > ulimit -n 4096 > ${APACHE2} ${APACHE2_OPTS} -k sta

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-02 Thread Graham Murray
Michael Orlitzky 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

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-02 Thread Joost Roeleveld
On Thursday, August 02, 2012 11:38:32 AM Michael Orlitzky wrote: > On 08/02/12 01:52, Joost Roeleveld wrote: > > On Wednesday, August 01, 2012 10:41:41 AM Michael Orlitzky wrote: > >> Is there a blessed method these days for setting the ulimit per-daemon? > >> > >> The best I've been able to do is

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-02 Thread Michael Orlitzky
On 08/02/12 01:52, Joost Roeleveld wrote: > On Wednesday, August 01, 2012 10:41:41 AM Michael Orlitzky wrote: >> 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

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-01 Thread Joost Roeleveld
On Wednesday, August 01, 2012 10:41:41 AM Michael Orlitzky wrote: > 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 w

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-01 Thread Michael Orlitzky
On 08/01/12 11:27, Canek Peláez Valdés wrote: > On Wed, Aug 1, 2012 at 9:41 AM, Michael Orlitzky wrote: >> 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 entri

Re: [gentoo-user] Persistent ulimit for daemons

2012-08-01 Thread Canek Peláez Valdés
On Wed, Aug 1, 2012 at 9:41 AM, Michael Orlitzky wrote: > 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 >