Meaning of the values for ulimit memlock flag

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












When I run docker and use the --ulimit memlock=-1:-1 option, what do the soft/hard values of -1 mean? Does it mean that I am allowing an unlimited amount memory to be locked by this container/process?







share|improve this question























    up vote
    1
    down vote

    favorite
    1












    When I run docker and use the --ulimit memlock=-1:-1 option, what do the soft/hard values of -1 mean? Does it mean that I am allowing an unlimited amount memory to be locked by this container/process?







    share|improve this question





















      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      When I run docker and use the --ulimit memlock=-1:-1 option, what do the soft/hard values of -1 mean? Does it mean that I am allowing an unlimited amount memory to be locked by this container/process?







      share|improve this question











      When I run docker and use the --ulimit memlock=-1:-1 option, what do the soft/hard values of -1 mean? Does it mean that I am allowing an unlimited amount memory to be locked by this container/process?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 13 at 16:12









      A P

      62




      62




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Yes you are right. Check the definition of memlock here



          memlock 
          maximum locked-in-memory address space (KB)
          This is memory that will not be paged out. It is frequently used by
          database management applications such as Oracle or Sybase to lock
          shared memory for a shared pool so that it is always in memory for
          access by multiple sessions.





          share|improve this answer





















            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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%2f449595%2fmeaning-of-the-values-for-ulimit-memlock-flag%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Yes you are right. Check the definition of memlock here



            memlock 
            maximum locked-in-memory address space (KB)
            This is memory that will not be paged out. It is frequently used by
            database management applications such as Oracle or Sybase to lock
            shared memory for a shared pool so that it is always in memory for
            access by multiple sessions.





            share|improve this answer

























              up vote
              0
              down vote













              Yes you are right. Check the definition of memlock here



              memlock 
              maximum locked-in-memory address space (KB)
              This is memory that will not be paged out. It is frequently used by
              database management applications such as Oracle or Sybase to lock
              shared memory for a shared pool so that it is always in memory for
              access by multiple sessions.





              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Yes you are right. Check the definition of memlock here



                memlock 
                maximum locked-in-memory address space (KB)
                This is memory that will not be paged out. It is frequently used by
                database management applications such as Oracle or Sybase to lock
                shared memory for a shared pool so that it is always in memory for
                access by multiple sessions.





                share|improve this answer













                Yes you are right. Check the definition of memlock here



                memlock 
                maximum locked-in-memory address space (KB)
                This is memory that will not be paged out. It is frequently used by
                database management applications such as Oracle or Sybase to lock
                shared memory for a shared pool so that it is always in memory for
                access by multiple sessions.






                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jul 18 at 13:42









                vishnu viswanath

                1012




                1012






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f449595%2fmeaning-of-the-values-for-ulimit-memlock-flag%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay