[arch-general] Defunct processes left behind for screen and firefox
Hello all! I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen? Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.) Thanks, Ciprian.
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes. 17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
I Wonder weather it is your screen augments. Try using just -r rather than -RR Dave ------------- root@crankyadmin.net cranky@archlinux.us On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes.
17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root@crankyadmin.net> wrote:
I Wonder weather it is your screen augments. Try using just -r rather than -RR
Dave ------------- root@crankyadmin.net cranky@archlinux.us
On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes.
17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
I've tried with only -r but it doesn't work as I have no open screen session. But I've tried it with no argument at all (just `screen`), and it still has the defunct processes. Strange enough, it seems that only when using screen under X, it behaves like this... (Directly in a VT works ok.) Ciprian.
What terminal emulator are you using? Also what happens if you start a screen session in VT and detach and reattach once in X. It sounds like a variable is wonky somewhere... Dave ------------- root@crankyadmin.net cranky@archlinux.us On Tue, Oct 6, 2009 at 4:40 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root@crankyadmin.net> wrote:
I Wonder weather it is your screen augments. Try using just -r rather than -RR
Dave ------------- root@crankyadmin.net cranky@archlinux.us
On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes.
17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
I've tried with only -r but it doesn't work as I have no open screen session.
But I've tried it with no argument at all (just `screen`), and it still has the defunct processes.
Strange enough, it seems that only when using screen under X, it behaves like this... (Directly in a VT works ok.)
Ciprian.
I'm using urxvt with the options `urxvt -title x-console -e ~/.bin/x-console -- screen -RR` where ~/.bin/x-console doesn't do anything except exporting LC_ALL=en_US.utf8 and `locale`. (I've also tried just a simple urxvt -e screen -RR, and it also leaves processes behind.) And indeed if I start screen inside a VT and reattach it inside X, it doesn't leave any defunct processes... Ciprian. On Tue, Oct 6, 2009 at 6:55 PM, David Houston <root@crankyadmin.net> wrote:
What terminal emulator are you using?
Also what happens if you start a screen session in VT and detach and reattach once in X.
It sounds like a variable is wonky somewhere...
Dave ------------- root@crankyadmin.net cranky@archlinux.us
On Tue, Oct 6, 2009 at 4:40 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root@crankyadmin.net> wrote:
I Wonder weather it is your screen augments. Try using just -r rather than -RR
Dave ------------- root@crankyadmin.net cranky@archlinux.us
On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes.
17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
I've tried with only -r but it doesn't work as I have no open screen session.
But I've tried it with no argument at all (just `screen`), and it still has the defunct processes.
Strange enough, it seems that only when using screen under X, it behaves like this... (Directly in a VT works ok.)
Ciprian.
On Tue 06 Oct 2009 18:40 +0300, Ciprian Dorin, Craciun wrote:
On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root@crankyadmin.net> wrote:
I Wonder weather it is your screen augments. Try using just -r rather than -RR
Dave ------------- root@crankyadmin.net cranky@archlinux.us
On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes.
17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
Strange enough, it seems that only when using screen under X, it behaves like this... (Directly in a VT works ok.)
I imagine it would have something to do with x-console. `urxvt -e screen` works fine for me. I just noticed something odd... When I enter that command into a urxvt window with screen running, a new shell in the current screen will open rather than a new urxvt window with a new screen.
On Tue, Oct 6, 2009 at 7:12 PM, Loui Chang <louipc.ist@gmail.com> wrote:
On Tue 06 Oct 2009 18:40 +0300, Ciprian Dorin, Craciun wrote:
On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root@crankyadmin.net> wrote:
I Wonder weather it is your screen augments. Try using just -r rather than -RR
Dave ------------- root@crankyadmin.net cranky@archlinux.us
On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
I've never noticed this myself. Are you sure you're actually exiting screen and not just detaching?
Bellow is the output of `ps axf`. The problem is that screen does't collect properly the defunct bash processes.
17030 ? S 0:00 urxvt -title x-shell -e /home/ciprian/.bin/x-console -- screen -RR 17032 pts/1 Ss+ 0:00 \_ screen -RR 17036 ? Ss 0:00 \_ SCREEN -RR 17037 pts/2 Rs 0:00 \_ /bin/bash 17137 pts/2 R+ 0:00 | \_ ps axf 17044 ? Zs 0:00 \_ [bash] <defunct> 17046 ? Zs 0:00 \_ [bash] <defunct> 17048 ? Zs 0:00 \_ [bash] <defunct> 17050 ? Zs 0:00 \_ [bash] <defunct> 17051 ? Zs 0:00 \_ [bash] <defunct> 17054 ? Zs 0:00 \_ [bash] <defunct> 17055 ? Zs 0:00 \_ [bash] <defunct> 17057 ? Zs 0:00 \_ [bash] <defunct> 17060 ? Zs 0:00 \_ [bash] <defunct>
Strange enough, it seems that only when using screen under X, it behaves like this... (Directly in a VT works ok.)
I imagine it would have something to do with x-console.
`urxvt -e screen` works fine for me.
I just noticed something odd... When I enter that command into a urxvt window with screen running, a new shell in the current screen will open rather than a new urxvt window with a new screen.
My x-console has nothing to do with anything inside ArchLinux. It's just a customized script that launches an urxvt with a given title and exporting some variables. Ciprian.
Hate to bother you all again, but it seems that not only screen and firefox are hit by the 'defunct' processes left behind... Now also runsv (part of runit) sometimes behaves like this. Am I the only one that experiences defunct processes left behind? Thanks, Ciprian. On Tue, Oct 6, 2009 at 3:18 PM, Ciprian Dorin, Craciun <ciprian.craciun@gmail.com> wrote:
Hello all!
I'm having the following issue: after opening and closing some shells within the same screen session, I'm left with a bunch of defunct bash processes, that screen doesn't seem to wait for... Is there any issue with screen?
Or is there any issue in general, as Firefox plugin FireGPG seems to do the same with gpg. (Which it didn't on Debian.)
Thanks, Ciprian.
participants (4)
-
Aaron Griffin
-
Ciprian Dorin, Craciun
-
David Houston
-
Loui Chang