[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set ulimit (nofile) for a daemon

On Wed, 19 May 2010, Russ Allbery wrote:
> Thomas Koch <thomas@koch.ro> writes:
> > 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?
> That's what I'd do.

I'd suggest having it in /etc/default/hbase (or whatever gets sourced
by the init script) so that it's easily modifiable by the user.

[I'd wonder slightly at why it needs a high nofile, but...]

Don Armstrong

With one simple pill
we cured unhappiness
and art
 -- a softer world #437

http://www.donarmstrong.com              http://rzlab.ucr.edu

Reply to: