Zombies are taking over my computer












6















I can see several zombie processes in my computer. How can I get rid of them?



In fact, why does there exist vlc and pidgin zombies? It this a bug in Ubuntu or something I have done?



Thanks!



ps aux |grep Z

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

sammy 3236 0.0 0.0 0 0 ? Zl heinä26 0:01 [vlc] <defunct>

sammy 4028 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

sammy 4046 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

sammy 4060 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

sammy 4841 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

sammy 4844 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

sammy 6525 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

sammy 6529 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

sammy 8401 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

sammy 13526 0.0 0.0 0 0 ? Z 09:54 0:00 [pidgin] <defunct>









share|improve this question





























    6















    I can see several zombie processes in my computer. How can I get rid of them?



    In fact, why does there exist vlc and pidgin zombies? It this a bug in Ubuntu or something I have done?



    Thanks!



    ps aux |grep Z

    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

    sammy 3236 0.0 0.0 0 0 ? Zl heinä26 0:01 [vlc] <defunct>

    sammy 4028 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

    sammy 4046 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

    sammy 4060 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

    sammy 4841 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

    sammy 4844 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

    sammy 6525 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

    sammy 6529 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

    sammy 8401 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

    sammy 13526 0.0 0.0 0 0 ? Z 09:54 0:00 [pidgin] <defunct>









    share|improve this question



























      6












      6








      6


      2






      I can see several zombie processes in my computer. How can I get rid of them?



      In fact, why does there exist vlc and pidgin zombies? It this a bug in Ubuntu or something I have done?



      Thanks!



      ps aux |grep Z

      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

      sammy 3236 0.0 0.0 0 0 ? Zl heinä26 0:01 [vlc] <defunct>

      sammy 4028 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 4046 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 4060 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 4841 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 4844 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 6525 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 6529 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 8401 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 13526 0.0 0.0 0 0 ? Z 09:54 0:00 [pidgin] <defunct>









      share|improve this question
















      I can see several zombie processes in my computer. How can I get rid of them?



      In fact, why does there exist vlc and pidgin zombies? It this a bug in Ubuntu or something I have done?



      Thanks!



      ps aux |grep Z

      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

      sammy 3236 0.0 0.0 0 0 ? Zl heinä26 0:01 [vlc] <defunct>

      sammy 4028 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 4046 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 4060 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 4841 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 4844 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 6525 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 6529 0.0 0.0 0 0 ? Z heinä26 0:00 [pidgin] <defunct>

      sammy 8401 0.0 0.0 0 0 ? Zl heinä26 0:00 [vlc] <defunct>

      sammy 13526 0.0 0.0 0 0 ? Z 09:54 0:00 [pidgin] <defunct>






      vlc pidgin






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 27 '13 at 7:22









      Radu Rădeanu

      120k35252328




      120k35252328










      asked Jul 27 '13 at 7:07









      sampiesampie

      312




      312






















          3 Answers
          3






          active

          oldest

          votes


















          2














          I think your answer is integrated in Luis Alvarado's answer:




          If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.



          [...]Zombies that exist for more than a short period of time typically indicate a bug in the parent program. As with other leaks, the presence of a few zombies isn't worrisome in itself, but may indicate a problem that would grow serious under heavier loads.



          To remove zombies from a system, the SIGCHLD signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.




          See also this post about how can you get rid of zombie processes.






          share|improve this answer


























          • 0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

            – sampie
            Jul 27 '13 at 9:39













          • I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

            – sampie
            Jul 27 '13 at 9:40













          • @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

            – Radu Rădeanu
            Jul 27 '13 at 9:49













          • How a process can be a zombie if parent is init (1)?

            – sampie
            Jul 27 '13 at 9:58











          • @sampie I sugest you if you have other questions to use Ask Question button.

            – Radu Rădeanu
            Jul 27 '13 at 10:05



















          0














          At least for pidgin, this seems to be a bug due to problems with going in and out of hibernation:




          https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1245666




          The vlc zombies are probably just a coincidence caused by errors in that program.






          share|improve this answer































            -1














            It's definitely not a bug in just Ubuntu since it's happening on Windows 10 as well.



            Incidentally, more or less since VLC was no longer able to play various video files with problems, other players could manage.






            share|improve this answer


























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              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: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              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%2faskubuntu.com%2fquestions%2f325171%2fzombies-are-taking-over-my-computer%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              I think your answer is integrated in Luis Alvarado's answer:




              If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.



              [...]Zombies that exist for more than a short period of time typically indicate a bug in the parent program. As with other leaks, the presence of a few zombies isn't worrisome in itself, but may indicate a problem that would grow serious under heavier loads.



              To remove zombies from a system, the SIGCHLD signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.




              See also this post about how can you get rid of zombie processes.






              share|improve this answer


























              • 0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

                – sampie
                Jul 27 '13 at 9:39













              • I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

                – sampie
                Jul 27 '13 at 9:40













              • @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

                – Radu Rădeanu
                Jul 27 '13 at 9:49













              • How a process can be a zombie if parent is init (1)?

                – sampie
                Jul 27 '13 at 9:58











              • @sampie I sugest you if you have other questions to use Ask Question button.

                – Radu Rădeanu
                Jul 27 '13 at 10:05
















              2














              I think your answer is integrated in Luis Alvarado's answer:




              If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.



              [...]Zombies that exist for more than a short period of time typically indicate a bug in the parent program. As with other leaks, the presence of a few zombies isn't worrisome in itself, but may indicate a problem that would grow serious under heavier loads.



              To remove zombies from a system, the SIGCHLD signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.




              See also this post about how can you get rid of zombie processes.






              share|improve this answer


























              • 0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

                – sampie
                Jul 27 '13 at 9:39













              • I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

                – sampie
                Jul 27 '13 at 9:40













              • @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

                – Radu Rădeanu
                Jul 27 '13 at 9:49













              • How a process can be a zombie if parent is init (1)?

                – sampie
                Jul 27 '13 at 9:58











              • @sampie I sugest you if you have other questions to use Ask Question button.

                – Radu Rădeanu
                Jul 27 '13 at 10:05














              2












              2








              2







              I think your answer is integrated in Luis Alvarado's answer:




              If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.



              [...]Zombies that exist for more than a short period of time typically indicate a bug in the parent program. As with other leaks, the presence of a few zombies isn't worrisome in itself, but may indicate a problem that would grow serious under heavier loads.



              To remove zombies from a system, the SIGCHLD signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.




              See also this post about how can you get rid of zombie processes.






              share|improve this answer















              I think your answer is integrated in Luis Alvarado's answer:




              If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.



              [...]Zombies that exist for more than a short period of time typically indicate a bug in the parent program. As with other leaks, the presence of a few zombies isn't worrisome in itself, but may indicate a problem that would grow serious under heavier loads.



              To remove zombies from a system, the SIGCHLD signal can be sent to the parent manually, using the kill command. If the parent process still refuses to reap the zombie, the next step would be to remove the parent process. When a process loses its parent, init becomes its new parent. Init periodically executes the wait system call to reap any zombies with init as parent.




              See also this post about how can you get rid of zombie processes.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Apr 13 '17 at 12:23









              Community

              1




              1










              answered Jul 27 '13 at 8:02









              Radu RădeanuRadu Rădeanu

              120k35252328




              120k35252328













              • 0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

                – sampie
                Jul 27 '13 at 9:39













              • I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

                – sampie
                Jul 27 '13 at 9:40













              • @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

                – Radu Rădeanu
                Jul 27 '13 at 9:49













              • How a process can be a zombie if parent is init (1)?

                – sampie
                Jul 27 '13 at 9:58











              • @sampie I sugest you if you have other questions to use Ask Question button.

                – Radu Rădeanu
                Jul 27 '13 at 10:05



















              • 0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

                – sampie
                Jul 27 '13 at 9:39













              • I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

                – sampie
                Jul 27 '13 at 9:40













              • @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

                – Radu Rădeanu
                Jul 27 '13 at 9:49













              • How a process can be a zombie if parent is init (1)?

                – sampie
                Jul 27 '13 at 9:58











              • @sampie I sugest you if you have other questions to use Ask Question button.

                – Radu Rădeanu
                Jul 27 '13 at 10:05

















              0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

              – sampie
              Jul 27 '13 at 9:39







              0 1000 3236 1 20 0 0 0 exit Zl ? 0:01 [vlc] <defunct>

              – sampie
              Jul 27 '13 at 9:39















              I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

              – sampie
              Jul 27 '13 at 9:40







              I am seeing PPID of zombie vlcs being 1 (4th value). Is that indication that the bug is in init process?

              – sampie
              Jul 27 '13 at 9:40















              @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

              – Radu Rădeanu
              Jul 27 '13 at 9:49







              @sampie I dont't think; you can check that there are a lot of processes with PPID=1 that are not zombies: ps axo ppid,comm.

              – Radu Rădeanu
              Jul 27 '13 at 9:49















              How a process can be a zombie if parent is init (1)?

              – sampie
              Jul 27 '13 at 9:58





              How a process can be a zombie if parent is init (1)?

              – sampie
              Jul 27 '13 at 9:58













              @sampie I sugest you if you have other questions to use Ask Question button.

              – Radu Rădeanu
              Jul 27 '13 at 10:05





              @sampie I sugest you if you have other questions to use Ask Question button.

              – Radu Rădeanu
              Jul 27 '13 at 10:05













              0














              At least for pidgin, this seems to be a bug due to problems with going in and out of hibernation:




              https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1245666




              The vlc zombies are probably just a coincidence caused by errors in that program.






              share|improve this answer




























                0














                At least for pidgin, this seems to be a bug due to problems with going in and out of hibernation:




                https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1245666




                The vlc zombies are probably just a coincidence caused by errors in that program.






                share|improve this answer


























                  0












                  0








                  0







                  At least for pidgin, this seems to be a bug due to problems with going in and out of hibernation:




                  https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1245666




                  The vlc zombies are probably just a coincidence caused by errors in that program.






                  share|improve this answer













                  At least for pidgin, this seems to be a bug due to problems with going in and out of hibernation:




                  https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/1245666




                  The vlc zombies are probably just a coincidence caused by errors in that program.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 11 '15 at 20:33









                  Andrew MaoAndrew Mao

                  1,01611318




                  1,01611318























                      -1














                      It's definitely not a bug in just Ubuntu since it's happening on Windows 10 as well.



                      Incidentally, more or less since VLC was no longer able to play various video files with problems, other players could manage.






                      share|improve this answer






























                        -1














                        It's definitely not a bug in just Ubuntu since it's happening on Windows 10 as well.



                        Incidentally, more or less since VLC was no longer able to play various video files with problems, other players could manage.






                        share|improve this answer




























                          -1












                          -1








                          -1







                          It's definitely not a bug in just Ubuntu since it's happening on Windows 10 as well.



                          Incidentally, more or less since VLC was no longer able to play various video files with problems, other players could manage.






                          share|improve this answer















                          It's definitely not a bug in just Ubuntu since it's happening on Windows 10 as well.



                          Incidentally, more or less since VLC was no longer able to play various video files with problems, other players could manage.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Feb 9 at 14:42









                          grooveplex

                          2,21411433




                          2,21411433










                          answered Feb 9 at 8:15









                          Alessandro DrudiAlessandro Drudi

                          1




                          1






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • 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%2faskubuntu.com%2fquestions%2f325171%2fzombies-are-taking-over-my-computer%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

                              Human spaceflight

                              Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                              File:DeusFollowingSea.jpg