Closed GennadySpb closed 10 years ago
@vkhatri What exactly resource you mean?
@vkhatri is it built-in or are you suggesting using something like chef-limit? I'm happy with either, by the way.
@GennadySpb sorry for the typo, i meant the ulimit resource user_ulimit node['cassandra']['user']
is already configuring the required limits for C* user/service.
I think we can disable it in the init script.
-FD_LIMIT=<%= node.cassandra.limits.nofile %>
- ulimit -l unlimited
- ulimit -n "$FD_LIMIT"
@michaelklishin yes, recipe cassandra::tarball
uses chef-limit cookbook to set the user limits. rhel
platform_family init
script does not set any ulimit
, we just have to disable it for debian
platform_family init
script too.
@GennadySpb @michaelklishin ulimit configuration in debian init script could/should be deprecated in favor of user_limit resource.