Add systemd limits to solr.service

Issue #13 resolved
Former user created an issue

Add the possibility to set systemd limits (such as LimitNOFILE=65000) in solr.service, since systemd ignores the limits set within /etc/security/limits.conf.

Comments (2)

  1. Michael Speth

    This module has a dependency on https://forge.puppet.com/camptocamp/systemd. I think all you need to do is add the following:

    ::systemd::service_limits { 'solr.service':
      limits => {
        LimitNOFILE => 65000
      }
    }
    

    This could be done in the profile or class that you use the solr class. I am closing as I think it would be best to leave this integration out. Please re-open if you have a good case for it to be included.

    Thank you

  2. Log in to comment