Giter Site home page Giter Site logo

Systemd ulimits about cp-ansible HOT 7 CLOSED

confluentinc avatar confluentinc commented on July 21, 2024
Systemd ulimits

from cp-ansible.

Comments (7)

jvalderrama avatar jvalderrama commented on July 21, 2024 1

You are right the correct implementation is here, pending to be reviewed:
#107

from cp-ansible.

steevo590 avatar steevo590 commented on July 21, 2024 1

This is great, been trying to find the right way to address this config issue for way too long

from cp-ansible.

JumaX avatar JumaX commented on July 21, 2024 1

We have just merged the following PR which addresses the no of open files:

#124

from cp-ansible.

cotedm avatar cotedm commented on July 21, 2024

Ideally we'd have good enough defaults for LimitNOFile and such to not have to be concerned with this but adding an ability to override properties in the systemd service makes sense. Should be easy enough to add to the templates for all services e.g. for the broker

from cp-ansible.

jvalderrama avatar jvalderrama commented on July 21, 2024

It can be done in playbook at https://github.com/confluentinc/cp-ansible/blob/5.1.x/roles/confluent.kafka-broker/defaults/main.yml#L14 , also increase or decrease the memory, for example

 environment:      
      KAFKA_HEAP_OPTS: "-Xmx24g"
      LimitNOFILE: 102400

from cp-ansible.

OneCricketeer avatar OneCricketeer commented on July 21, 2024

That won't template the systemd file appropriately, though.

[Service]
Environment=LimitNOFILE=102400

Is different from

[Service]
LimitNOFILE=102400

from cp-ansible.

JumaX avatar JumaX commented on July 21, 2024

Quick update that we have a new release shipping shortly which will address this.

from cp-ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.