Why can't I kill a `Sl` process?

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











up vote
1
down vote

favorite












On Lubuntu 18.04, I open pcmanfm



$ pcmanfm . 


and after looking at the thumbnails of the image files under the current directory in pcmanfm, I closed the window of pcmanfm by Alt-F4, but it is still hanging on the foreground in the terminal emulator.



I move it to background by Ctrl-Z and bg 2, and kill it, but doesn't work.



$ jobs -l 
[2]+ 31124 Running pcmanfm . &
$ kill %2
$ jobs -l
[2]+ 31124 Running pcmanfm . &
$ sudo kill 31124
$ jobs -l
[2]+ 31124 Running pcmanfm . &


Its state is Sl, S means "interruptible sleep (waiting for an event to complete)" and l means "is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)". So I wonder why I can't kill the process? How would you kill it? Thanks.



$ ps aux | grep [3]1124
t 31124 0.8 0.7 693952 57064 pts/9 Sl 06:34 0:47 pcmanfm


.










share|improve this question



















  • 1




    You don't need sudo. sudo is not your friend. When you can't cut the bread, because it is in the bread box, don't use a chain-saw, instead take it out of the box.
    – ctrl-alt-delor
    1 hour ago










  • I was wondering why "don't need sudo", and what you mean by "take it out of the box"?
    – Tim
    1 hour ago







  • 1




    If the process is started by you, then you have permission to kill it. If bread is in bread-box (a place to store bread (not often used with today's modern bread substitute)), then you can not cut it with knife.
    – ctrl-alt-delor
    1 hour ago










  • On a vanilla Lubuntu 18.04, I see pcmanfm --desktop --profile lubuntu with Sl and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
    – DK Bose
    14 mins ago














up vote
1
down vote

favorite












On Lubuntu 18.04, I open pcmanfm



$ pcmanfm . 


and after looking at the thumbnails of the image files under the current directory in pcmanfm, I closed the window of pcmanfm by Alt-F4, but it is still hanging on the foreground in the terminal emulator.



I move it to background by Ctrl-Z and bg 2, and kill it, but doesn't work.



$ jobs -l 
[2]+ 31124 Running pcmanfm . &
$ kill %2
$ jobs -l
[2]+ 31124 Running pcmanfm . &
$ sudo kill 31124
$ jobs -l
[2]+ 31124 Running pcmanfm . &


Its state is Sl, S means "interruptible sleep (waiting for an event to complete)" and l means "is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)". So I wonder why I can't kill the process? How would you kill it? Thanks.



$ ps aux | grep [3]1124
t 31124 0.8 0.7 693952 57064 pts/9 Sl 06:34 0:47 pcmanfm


.










share|improve this question



















  • 1




    You don't need sudo. sudo is not your friend. When you can't cut the bread, because it is in the bread box, don't use a chain-saw, instead take it out of the box.
    – ctrl-alt-delor
    1 hour ago










  • I was wondering why "don't need sudo", and what you mean by "take it out of the box"?
    – Tim
    1 hour ago







  • 1




    If the process is started by you, then you have permission to kill it. If bread is in bread-box (a place to store bread (not often used with today's modern bread substitute)), then you can not cut it with knife.
    – ctrl-alt-delor
    1 hour ago










  • On a vanilla Lubuntu 18.04, I see pcmanfm --desktop --profile lubuntu with Sl and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
    – DK Bose
    14 mins ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











On Lubuntu 18.04, I open pcmanfm



$ pcmanfm . 


and after looking at the thumbnails of the image files under the current directory in pcmanfm, I closed the window of pcmanfm by Alt-F4, but it is still hanging on the foreground in the terminal emulator.



I move it to background by Ctrl-Z and bg 2, and kill it, but doesn't work.



$ jobs -l 
[2]+ 31124 Running pcmanfm . &
$ kill %2
$ jobs -l
[2]+ 31124 Running pcmanfm . &
$ sudo kill 31124
$ jobs -l
[2]+ 31124 Running pcmanfm . &


Its state is Sl, S means "interruptible sleep (waiting for an event to complete)" and l means "is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)". So I wonder why I can't kill the process? How would you kill it? Thanks.



$ ps aux | grep [3]1124
t 31124 0.8 0.7 693952 57064 pts/9 Sl 06:34 0:47 pcmanfm


.










share|improve this question















On Lubuntu 18.04, I open pcmanfm



$ pcmanfm . 


and after looking at the thumbnails of the image files under the current directory in pcmanfm, I closed the window of pcmanfm by Alt-F4, but it is still hanging on the foreground in the terminal emulator.



I move it to background by Ctrl-Z and bg 2, and kill it, but doesn't work.



$ jobs -l 
[2]+ 31124 Running pcmanfm . &
$ kill %2
$ jobs -l
[2]+ 31124 Running pcmanfm . &
$ sudo kill 31124
$ jobs -l
[2]+ 31124 Running pcmanfm . &


Its state is Sl, S means "interruptible sleep (waiting for an event to complete)" and l means "is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)". So I wonder why I can't kill the process? How would you kill it? Thanks.



$ ps aux | grep [3]1124
t 31124 0.8 0.7 693952 57064 pts/9 Sl 06:34 0:47 pcmanfm


.







linux process kill






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago

























asked 1 hour ago









Tim

24.6k69239427




24.6k69239427







  • 1




    You don't need sudo. sudo is not your friend. When you can't cut the bread, because it is in the bread box, don't use a chain-saw, instead take it out of the box.
    – ctrl-alt-delor
    1 hour ago










  • I was wondering why "don't need sudo", and what you mean by "take it out of the box"?
    – Tim
    1 hour ago







  • 1




    If the process is started by you, then you have permission to kill it. If bread is in bread-box (a place to store bread (not often used with today's modern bread substitute)), then you can not cut it with knife.
    – ctrl-alt-delor
    1 hour ago










  • On a vanilla Lubuntu 18.04, I see pcmanfm --desktop --profile lubuntu with Sl and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
    – DK Bose
    14 mins ago












  • 1




    You don't need sudo. sudo is not your friend. When you can't cut the bread, because it is in the bread box, don't use a chain-saw, instead take it out of the box.
    – ctrl-alt-delor
    1 hour ago










  • I was wondering why "don't need sudo", and what you mean by "take it out of the box"?
    – Tim
    1 hour ago







  • 1




    If the process is started by you, then you have permission to kill it. If bread is in bread-box (a place to store bread (not often used with today's modern bread substitute)), then you can not cut it with knife.
    – ctrl-alt-delor
    1 hour ago










  • On a vanilla Lubuntu 18.04, I see pcmanfm --desktop --profile lubuntu with Sl and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
    – DK Bose
    14 mins ago







1




1




You don't need sudo. sudo is not your friend. When you can't cut the bread, because it is in the bread box, don't use a chain-saw, instead take it out of the box.
– ctrl-alt-delor
1 hour ago




You don't need sudo. sudo is not your friend. When you can't cut the bread, because it is in the bread box, don't use a chain-saw, instead take it out of the box.
– ctrl-alt-delor
1 hour ago












I was wondering why "don't need sudo", and what you mean by "take it out of the box"?
– Tim
1 hour ago





I was wondering why "don't need sudo", and what you mean by "take it out of the box"?
– Tim
1 hour ago





1




1




If the process is started by you, then you have permission to kill it. If bread is in bread-box (a place to store bread (not often used with today's modern bread substitute)), then you can not cut it with knife.
– ctrl-alt-delor
1 hour ago




If the process is started by you, then you have permission to kill it. If bread is in bread-box (a place to store bread (not often used with today's modern bread substitute)), then you can not cut it with knife.
– ctrl-alt-delor
1 hour ago












On a vanilla Lubuntu 18.04, I see pcmanfm --desktop --profile lubuntu with Sl and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
– DK Bose
14 mins ago




On a vanilla Lubuntu 18.04, I see pcmanfm --desktop --profile lubuntu with Sl and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
– DK Bose
14 mins ago










1 Answer
1






active

oldest

votes

















up vote
4
down vote













By default kill only sends a TERM signal, for some reason pcmanfm is ignoring this signal. If you pass option -KILL to kill, then it will send the signal to the scheduler, and the process will be removed with no chance to clear-up, or appeal.



You do not need extra privileges (sudo), to kill processes that you own. sudo can be dangerous, don't just use out of frustration.






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: 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%2f479900%2fwhy-cant-i-kill-a-sl-process%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
    4
    down vote













    By default kill only sends a TERM signal, for some reason pcmanfm is ignoring this signal. If you pass option -KILL to kill, then it will send the signal to the scheduler, and the process will be removed with no chance to clear-up, or appeal.



    You do not need extra privileges (sudo), to kill processes that you own. sudo can be dangerous, don't just use out of frustration.






    share|improve this answer
























      up vote
      4
      down vote













      By default kill only sends a TERM signal, for some reason pcmanfm is ignoring this signal. If you pass option -KILL to kill, then it will send the signal to the scheduler, and the process will be removed with no chance to clear-up, or appeal.



      You do not need extra privileges (sudo), to kill processes that you own. sudo can be dangerous, don't just use out of frustration.






      share|improve this answer






















        up vote
        4
        down vote










        up vote
        4
        down vote









        By default kill only sends a TERM signal, for some reason pcmanfm is ignoring this signal. If you pass option -KILL to kill, then it will send the signal to the scheduler, and the process will be removed with no chance to clear-up, or appeal.



        You do not need extra privileges (sudo), to kill processes that you own. sudo can be dangerous, don't just use out of frustration.






        share|improve this answer












        By default kill only sends a TERM signal, for some reason pcmanfm is ignoring this signal. If you pass option -KILL to kill, then it will send the signal to the scheduler, and the process will be removed with no chance to clear-up, or appeal.



        You do not need extra privileges (sudo), to kill processes that you own. sudo can be dangerous, don't just use out of frustration.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        ctrl-alt-delor

        9,43131949




        9,43131949



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479900%2fwhy-cant-i-kill-a-sl-process%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery