public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Graham Murray <graham@gmurray.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Persistent ulimit for daemons
Date: Fri, 03 Aug 2012 06:08:34 +0100	[thread overview]
Message-ID: <87y5lwh8a5.fsf@einstein.gmurray.org.uk> (raw)
In-Reply-To: <50194025.5010103@orlitzky.com> (Michael Orlitzky's message of "Wed, 01 Aug 2012 10:41:41 -0400")

Michael Orlitzky <michael@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


  parent reply	other threads:[~2012-08-03  5:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 14:41 [gentoo-user] Persistent ulimit for daemons Michael Orlitzky
2012-08-01 15:27 ` Canek Peláez Valdés
2012-08-01 15:49   ` Michael Orlitzky
2012-08-02  5:52 ` Joost Roeleveld
2012-08-02 15:38   ` Michael Orlitzky
2012-08-03  4:44     ` Joost Roeleveld
2012-08-03 16:23       ` Michael Orlitzky
2012-08-03  5:08 ` Graham Murray [this message]
2012-08-03 16:29   ` Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5lwh8a5.fsf@einstein.gmurray.org.uk \
    --to=graham@gmurray.org.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox