On 19/05/10 18:32, Steve Langasek wrote:
On Wed, May 19, 2010 at 06:20:35PM -0400, Felipe Sateler wrote:
HBase needs a high nofile limit. What would be the preferred way to set the
limit for the HBase daemons?

Just call ulimit in the initscript?
The java process is started by "daemon" (Debian package "daemon").

Thank you,

Thomas Koch, http://www.koch.ro

Create an exclusive user for your daemon, and drop a file in
/etc/security/limits.d with the following contents:

daemonuser  -  nofile<somenumber>

This is the wrong answer to the question "how do I set ulimits for a daemon
process?"  /etc/security/limits.d is only processed by pam_limits, which has
no reason to be in the path for service startup.

cron, atd and schroot load pam_limits. Is that wrong? Or something else I'm not getting?

--
Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ht1q1e$k0...@dough.gmane.org

Reply via email to