Why can't I kill a `Sl` process?
Clash 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
.
linux process kill
add a comment |Â
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
.
linux process kill
1
You don't needsudo
.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 seepcmanfm --desktop --profile lubuntu
withSl
and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
– DK Bose
14 mins ago
add a comment |Â
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
.
linux process kill
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
linux process kill
edited 1 hour ago
asked 1 hour ago


Tim
24.6k69239427
24.6k69239427
1
You don't needsudo
.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 seepcmanfm --desktop --profile lubuntu
withSl
and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?
– DK Bose
14 mins ago
add a comment |Â
1
You don't needsudo
.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 seepcmanfm --desktop --profile lubuntu
withSl
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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered 1 hour ago


ctrl-alt-delor
9,43131949
9,43131949
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
withSl
and this is without actually launching pcmanfm. Don't you see something like that immediately after you log in?– DK Bose
14 mins ago