kernel.pid_max, kernel.threads-max, and ulimit -uSet ulimit to defaultsulimit logging?About ulimit/setrlimit...

Are there any non-WEB re-implementation of TeX Core in recent years?

Relocation error, error code (127) after last updates

Where does the expression "triple-A" come from?

What does a Light weapon mean mechanically?

How is Team Scooby Doo (Mystery Inc.) funded?

Why is the Digital 0 not 0V in computer systems?

Do they still use tiger roars in the 2019 "Lion King" movie?

Where to disclose a zero day vulnerability

What was the relationship between Einstein and Minkowski?

Why did they ever make smaller than full-frame sensors?

Why would "an mule" be used instead of "a mule"?

Sol Ⅲ = Earth: What is the origin of this planetary naming scheme?

A shy person in a queue

Has SHA256 been broken by Treadwell Stanton DuPont?

Modify width of first column in file with a variable number of fields, using awk

How to stabilise the bicycle seatpost and saddle when it is all the way up?

Understanding Cursive /Joined Writing in Irish Register Death

Can I toggle Do Not Disturb on/off on my Mac as easily as I can on my iPhone?

Is there a reliable way to hide/convey a message in vocal expressions (speech, song,...)

Can I disable a battery powered device by reversing half of its batteries?

How seriously should I take a CBP interview where I was told I have a red flag and could only stay for 30 days?

How can I locate a missing person abroad?

How unbalanced coaxial cables are used for broadcasting TV signals without any problems?

What is this unknown executable on my boot volume? Is it Malicious?



kernel.pid_max, kernel.threads-max, and ulimit -u


Set ulimit to defaultsulimit logging?About ulimit/setrlimit and cgroupulimit on a Specific Directoryulimit vs file-maxulimit configuration explanation of different types






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















What are the differences of this? I am so confused.



1) If kernel.pid_max is the maximum number of PID that kernel can assign, then why is there a kernel.threads-max if there is already a kernel.pid_max in place? (considering threads-max is higher than pid_max)



2) Same thing with ulimit -u, i think it usually has a higher value set than kernel.pid_max. Why is it still needed?



3) Is is true that output of ps -eLf | wc -l should not be higher than the value of kernel.pid_max? What do specifically -eLf displays?



Sorry if i got too many questions. I would just like to understand it..










share|improve this question































    0















    What are the differences of this? I am so confused.



    1) If kernel.pid_max is the maximum number of PID that kernel can assign, then why is there a kernel.threads-max if there is already a kernel.pid_max in place? (considering threads-max is higher than pid_max)



    2) Same thing with ulimit -u, i think it usually has a higher value set than kernel.pid_max. Why is it still needed?



    3) Is is true that output of ps -eLf | wc -l should not be higher than the value of kernel.pid_max? What do specifically -eLf displays?



    Sorry if i got too many questions. I would just like to understand it..










    share|improve this question



























      0












      0








      0








      What are the differences of this? I am so confused.



      1) If kernel.pid_max is the maximum number of PID that kernel can assign, then why is there a kernel.threads-max if there is already a kernel.pid_max in place? (considering threads-max is higher than pid_max)



      2) Same thing with ulimit -u, i think it usually has a higher value set than kernel.pid_max. Why is it still needed?



      3) Is is true that output of ps -eLf | wc -l should not be higher than the value of kernel.pid_max? What do specifically -eLf displays?



      Sorry if i got too many questions. I would just like to understand it..










      share|improve this question














      What are the differences of this? I am so confused.



      1) If kernel.pid_max is the maximum number of PID that kernel can assign, then why is there a kernel.threads-max if there is already a kernel.pid_max in place? (considering threads-max is higher than pid_max)



      2) Same thing with ulimit -u, i think it usually has a higher value set than kernel.pid_max. Why is it still needed?



      3) Is is true that output of ps -eLf | wc -l should not be higher than the value of kernel.pid_max? What do specifically -eLf displays?



      Sorry if i got too many questions. I would just like to understand it..







      linux kernel ulimit kernel-parameters






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      YkalyYkaly

      224 bronze badges




      224 bronze badges

























          0






          active

          oldest

          votes














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });















          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f541291%2fkernel-pid-max-kernel-threads-max-and-ulimit-u%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

















          draft saved

          draft discarded



















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f541291%2fkernel-pid-max-kernel-threads-max-and-ulimit-u%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...