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>