sous-chefs / mysql

Development repository for the mysql cookbook
https://supermarket.chef.io/cookbooks/mysql
Apache License 2.0
338 stars 690 forks source link

Systemd does not honor init file limits in centos 7 #509

Closed geleman closed 4 years ago

geleman commented 7 years ago

The template for systemd needs to include LimitNOFILE=[attributevalue] Systemd does not honor the file limits you may set in your my.cnf file and will default to 1024 A consideration might also need to be done to increase Max Locked Memory

https://github.com/chef-cookbooks/mysql/blob/master/templates/default/systemd/mysqld.service.erb

geleman commented 7 years ago

another fix could be to allow for the cookbook allowed to be changed here https://github.com/chef-cookbooks/mysql/blob/master/libraries/mysql_service_manager_systemd.rb#L40-L56

github-actions[bot] commented 4 years ago

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

ramereth commented 4 years ago

Duplicate of #533