Re: How to set ulimit (nofile) for a daemon
On 19/05/10 11:46, Thomas Koch 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").
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>
You should probably ask via debconf before doing it, though.