kdump in CentOS 7

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












1














I wanted to migrate to CentOS 7.5 from CentOS 6.9. during installation I saw an option kdump that i could enable or disable. I wonder what is kdump and disabling it has any bad effect on server? I want to install database on my server later I just want to make sure that kdump cause no problem.










share|improve this question


























    1














    I wanted to migrate to CentOS 7.5 from CentOS 6.9. during installation I saw an option kdump that i could enable or disable. I wonder what is kdump and disabling it has any bad effect on server? I want to install database on my server later I just want to make sure that kdump cause no problem.










    share|improve this question
























      1












      1








      1







      I wanted to migrate to CentOS 7.5 from CentOS 6.9. during installation I saw an option kdump that i could enable or disable. I wonder what is kdump and disabling it has any bad effect on server? I want to install database on my server later I just want to make sure that kdump cause no problem.










      share|improve this question













      I wanted to migrate to CentOS 7.5 from CentOS 6.9. during installation I saw an option kdump that i could enable or disable. I wonder what is kdump and disabling it has any bad effect on server? I want to install database on my server later I just want to make sure that kdump cause no problem.







      centos kernel sqlserver kdump






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 29 '18 at 6:37









      BlackCrystalBlackCrystal

      32611




      32611




















          2 Answers
          2






          active

          oldest

          votes


















          2














          kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump produces a crash dump of the kernel that can be used for further analysis. Depending upon the severity of the failure, this crash dump may be the only information available for further analysis.



          In the event of a system crash, kdump works by loading a second kernel into memory using the kexec system call. This second kernel captures the contents of the first kernel's memory. This information is saved as the crash dump.



          To allow the second kernel to be loaded into memory, a part of the system memory has to be permanently reserved for it. This area of memory is inaccessible to the first kernel. The amount of memory reserved depends on the system architecture and the total amount of memory installed on the system. As an example, a system with the x86_64 architecture and 2 GiB of installed memory will require a minimum amount of 163968 KiB (160.25 MiB) to be reserved for kdump.



          RHEL 7 (and CentOS 7, by extension) have the kdump mechanism installed and activated by default for (most) new installations. The Anaconda installer provides limited options for configuring kdump. Other installation options such as Kickstart may not have kdump enabled by default.



          Further details on kdump (installation, configuration, usage) can be found at the RHEL 7 Documentation on Kernel Administration: Kernel Crash Dump Guide






          share|improve this answer




























            1














            kdump dumps the kernel memory in the event of a kernel crash. So



            1. If your kernel never crashes it is safe to disable kdump


            2. If you don't care about a kernel crash it is safe to disable kdump


            3. If you don't have a support contract and don't have the needed knowledge to debug a kernel crash yourself and are unwilling to pay someone on a one off basis to diagnose a kernel crash, it is safe to disable kdump.


            Otherwise leave it enabled.



            For most people (1) is true. For the rest either (2) or (3) is probably true. If you make a high value device with embedded linux then kdump can be extremely valuable.






            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',
              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/3.0/"u003ecc by-sa 3.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%2f491418%2fkdump-in-centos-7%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump produces a crash dump of the kernel that can be used for further analysis. Depending upon the severity of the failure, this crash dump may be the only information available for further analysis.



              In the event of a system crash, kdump works by loading a second kernel into memory using the kexec system call. This second kernel captures the contents of the first kernel's memory. This information is saved as the crash dump.



              To allow the second kernel to be loaded into memory, a part of the system memory has to be permanently reserved for it. This area of memory is inaccessible to the first kernel. The amount of memory reserved depends on the system architecture and the total amount of memory installed on the system. As an example, a system with the x86_64 architecture and 2 GiB of installed memory will require a minimum amount of 163968 KiB (160.25 MiB) to be reserved for kdump.



              RHEL 7 (and CentOS 7, by extension) have the kdump mechanism installed and activated by default for (most) new installations. The Anaconda installer provides limited options for configuring kdump. Other installation options such as Kickstart may not have kdump enabled by default.



              Further details on kdump (installation, configuration, usage) can be found at the RHEL 7 Documentation on Kernel Administration: Kernel Crash Dump Guide






              share|improve this answer

























                2














                kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump produces a crash dump of the kernel that can be used for further analysis. Depending upon the severity of the failure, this crash dump may be the only information available for further analysis.



                In the event of a system crash, kdump works by loading a second kernel into memory using the kexec system call. This second kernel captures the contents of the first kernel's memory. This information is saved as the crash dump.



                To allow the second kernel to be loaded into memory, a part of the system memory has to be permanently reserved for it. This area of memory is inaccessible to the first kernel. The amount of memory reserved depends on the system architecture and the total amount of memory installed on the system. As an example, a system with the x86_64 architecture and 2 GiB of installed memory will require a minimum amount of 163968 KiB (160.25 MiB) to be reserved for kdump.



                RHEL 7 (and CentOS 7, by extension) have the kdump mechanism installed and activated by default for (most) new installations. The Anaconda installer provides limited options for configuring kdump. Other installation options such as Kickstart may not have kdump enabled by default.



                Further details on kdump (installation, configuration, usage) can be found at the RHEL 7 Documentation on Kernel Administration: Kernel Crash Dump Guide






                share|improve this answer























                  2












                  2








                  2






                  kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump produces a crash dump of the kernel that can be used for further analysis. Depending upon the severity of the failure, this crash dump may be the only information available for further analysis.



                  In the event of a system crash, kdump works by loading a second kernel into memory using the kexec system call. This second kernel captures the contents of the first kernel's memory. This information is saved as the crash dump.



                  To allow the second kernel to be loaded into memory, a part of the system memory has to be permanently reserved for it. This area of memory is inaccessible to the first kernel. The amount of memory reserved depends on the system architecture and the total amount of memory installed on the system. As an example, a system with the x86_64 architecture and 2 GiB of installed memory will require a minimum amount of 163968 KiB (160.25 MiB) to be reserved for kdump.



                  RHEL 7 (and CentOS 7, by extension) have the kdump mechanism installed and activated by default for (most) new installations. The Anaconda installer provides limited options for configuring kdump. Other installation options such as Kickstart may not have kdump enabled by default.



                  Further details on kdump (installation, configuration, usage) can be found at the RHEL 7 Documentation on Kernel Administration: Kernel Crash Dump Guide






                  share|improve this answer












                  kdump is a kernel crash dumping mechanism. In the event of a system crash, kdump produces a crash dump of the kernel that can be used for further analysis. Depending upon the severity of the failure, this crash dump may be the only information available for further analysis.



                  In the event of a system crash, kdump works by loading a second kernel into memory using the kexec system call. This second kernel captures the contents of the first kernel's memory. This information is saved as the crash dump.



                  To allow the second kernel to be loaded into memory, a part of the system memory has to be permanently reserved for it. This area of memory is inaccessible to the first kernel. The amount of memory reserved depends on the system architecture and the total amount of memory installed on the system. As an example, a system with the x86_64 architecture and 2 GiB of installed memory will require a minimum amount of 163968 KiB (160.25 MiB) to be reserved for kdump.



                  RHEL 7 (and CentOS 7, by extension) have the kdump mechanism installed and activated by default for (most) new installations. The Anaconda installer provides limited options for configuring kdump. Other installation options such as Kickstart may not have kdump enabled by default.



                  Further details on kdump (installation, configuration, usage) can be found at the RHEL 7 Documentation on Kernel Administration: Kernel Crash Dump Guide







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 29 '18 at 8:42









                  HaxielHaxiel

                  1,552410




                  1,552410























                      1














                      kdump dumps the kernel memory in the event of a kernel crash. So



                      1. If your kernel never crashes it is safe to disable kdump


                      2. If you don't care about a kernel crash it is safe to disable kdump


                      3. If you don't have a support contract and don't have the needed knowledge to debug a kernel crash yourself and are unwilling to pay someone on a one off basis to diagnose a kernel crash, it is safe to disable kdump.


                      Otherwise leave it enabled.



                      For most people (1) is true. For the rest either (2) or (3) is probably true. If you make a high value device with embedded linux then kdump can be extremely valuable.






                      share|improve this answer

























                        1














                        kdump dumps the kernel memory in the event of a kernel crash. So



                        1. If your kernel never crashes it is safe to disable kdump


                        2. If you don't care about a kernel crash it is safe to disable kdump


                        3. If you don't have a support contract and don't have the needed knowledge to debug a kernel crash yourself and are unwilling to pay someone on a one off basis to diagnose a kernel crash, it is safe to disable kdump.


                        Otherwise leave it enabled.



                        For most people (1) is true. For the rest either (2) or (3) is probably true. If you make a high value device with embedded linux then kdump can be extremely valuable.






                        share|improve this answer























                          1












                          1








                          1






                          kdump dumps the kernel memory in the event of a kernel crash. So



                          1. If your kernel never crashes it is safe to disable kdump


                          2. If you don't care about a kernel crash it is safe to disable kdump


                          3. If you don't have a support contract and don't have the needed knowledge to debug a kernel crash yourself and are unwilling to pay someone on a one off basis to diagnose a kernel crash, it is safe to disable kdump.


                          Otherwise leave it enabled.



                          For most people (1) is true. For the rest either (2) or (3) is probably true. If you make a high value device with embedded linux then kdump can be extremely valuable.






                          share|improve this answer












                          kdump dumps the kernel memory in the event of a kernel crash. So



                          1. If your kernel never crashes it is safe to disable kdump


                          2. If you don't care about a kernel crash it is safe to disable kdump


                          3. If you don't have a support contract and don't have the needed knowledge to debug a kernel crash yourself and are unwilling to pay someone on a one off basis to diagnose a kernel crash, it is safe to disable kdump.


                          Otherwise leave it enabled.



                          For most people (1) is true. For the rest either (2) or (3) is probably true. If you make a high value device with embedded linux then kdump can be extremely valuable.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 29 '18 at 8:49









                          icarusicarus

                          5,7411929




                          5,7411929



























                              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%2f491418%2fkdump-in-centos-7%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

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

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?