Giter Site home page Giter Site logo

Comments (6)

k4yt3x avatar k4yt3x commented on July 18, 2024

Thanks that's interesting. I'll do some more researches and determine the best course of action.

from sysctl.

k4yt3x avatar k4yt3x commented on July 18, 2024

Like you said, the default kernel.pid_max appears to be 4194304. Following that logic, I've also checked the fs.file-max, which appears to be 9223372036854775807, larger than what's in this repo. I will do some more researches to determine if it's the best to increase the value in this config or is it best to comment it out and leave it to the OS default.

from sysctl.

k4yt3x avatar k4yt3x commented on July 18, 2024

After doing some researches, here are my conclusions:

  • On a 32-bit system, this value can be maxed out to 2^15=32768
  • On a 64-bit system, this value can be maxed out to 2^22=4194304

from sysctl.

k4yt3x avatar k4yt3x commented on July 18, 2024

The fs.file-max can get up to:

  • 2147483647 (0x7fffffff) on a 32-bit system
  • 9223372036854775807 (0x7fffffffffffffff) on a 64-bit system

from sysctl.

k4yt3x avatar k4yt3x commented on July 18, 2024

I think I'll update the config with the recommended values on 64-bit systems.

from sysctl.

k4yt3x avatar k4yt3x commented on July 18, 2024

Done. Please check 2f4267a
Thank you for pointing this out.

from sysctl.

Related Issues (3)

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.