Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where should open file limits be set in OL7.x #383

Open
wcawman opened this issue Dec 1, 2020 · 1 comment
Open

Where should open file limits be set in OL7.x #383

wcawman opened this issue Dec 1, 2020 · 1 comment

Comments

@wcawman
Copy link

wcawman commented Dec 1, 2020

if node['cassandra']['setup_user_limits']

Just curious if the referenced code is supposed to set these limits to any static files on the system? Or if the settings were intended to only be controlled by the user when the service starts up from /etc/init.d/cassandra?

It would appear that OL7.9 would expect something like /etc/systemd/system/multi-user.target.wants/cassandra.service.
Where as OL6.x might expect /etc/security/limits.d/cassandra_limits.conf

@michaelklishin
Copy link
Owner

This attribute pre-dates systemd, so it has to be used differently (by recipes and resources) on distributions that use systemd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants