Re: Defunct processes left behind for screen and firefox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



    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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
> cranky@xxxxxxxxxxxx
>
>
>
> On Tue, Oct 6, 2009 at 4:40 PM, Ciprian Dorin, Craciun
> <ciprian.craciun@xxxxxxxxx> wrote:
>> On Tue, Oct 6, 2009 at 6:33 PM, David Houston <root@xxxxxxxxxxxxxxx> wrote:
>>> I Wonder weather it is your screen augments. Try using just -r rather than -RR
>>>
>>> Dave
>>> -------------
>>> root@xxxxxxxxxxxxxxx
>>> cranky@xxxxxxxxxxxx
>>>
>>>
>>>
>>> On Tue, Oct 6, 2009 at 4:27 PM, Ciprian Dorin, Craciun
>>> <ciprian.craciun@xxxxxxxxx> wrote:
>>>> On Tue, Oct 6, 2009 at 6:04 PM, Aaron Griffin <aaronmgriffin@xxxxxxxxx> wrote:
>>>>> On Tue, Oct 6, 2009 at 7:18 AM, Ciprian Dorin, Craciun
>>>>> <ciprian.craciun@xxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux