• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
x11 leaving zombies in its wake . . .
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

x11 leaving zombies in its wake . . .


  • Subject: x11 leaving zombies in its wake . . .
  • From: Robert Craig <email@hidden>
  • Date: Sun, 12 Jan 2003 19:50:44 -0800

After I quit X11, I find that it hasn't killed the children started from my .xinitrc, nor has X11 itself been properly terminated:

[gargantua:~] rcraig% ps axg
PID TT STAT TIME COMMAND
1 ?? Ss 0:00.01 /sbin/init
2 ?? Ss 0:00.13 /sbin/mach_init
51 ?? Ss 0:01.85 kextd
74 ?? Ss 0:00.98 update
78 ?? Ss 0:00.01 dynamic_pager -H 40000000 -L 160000000 -S 80000000 -F /private/var/vm/swapfile
109 ?? Ss 0:02.00 configd
138 ?? Ss 0:00.00 /Library/StartupItems/Tablet/TabletDriverRelauncher
164 ?? Ss 0:00.20 /System/Library/CoreServices/SecurityServer -X
187 ?? Ss 0:11.46 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ATS.framework/Versions/A/Support/ATSServer
191 ?? Ss 1:44.20 /System/Library/CoreServices/WindowServer -daemon
206 ?? Ss 0:00.22 /sbin/autodiskmount -va
258 ?? Ss 0:00.08 syslogd
269 ?? Ss 0:00.01 /usr/libexec/crashreporterd
272 ?? Ss 0:00.04 /usr/sbin/mDNSResponder
284 ?? Ss 0:00.47 netinfod -s local
289 ?? Ss 0:01.48 lookupd
311 ?? Ss 0:00.93 /System/Library/CoreServices/coreservicesd -preload AEServer
319 ?? S 0:00.00 nfsiod -n 4
320 ?? S 0:00.00 nfsiod -n 4
321 ?? S 0:00.01 nfsiod -n 4
322 ?? S 0:00.00 nfsiod -n 4
331 ?? Ss 0:01.07 ntpd -f /var/run/ntp.drift -p /var/run/ntpd.pid
336 ?? Ss 0:01.04 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console
342 ?? Ss 0:00.00 inetd
359 ?? Ss 0:01.29 /usr/sbin/cupsd
361 ?? Ss 0:00.02 /usr/sbin/automount -f -m /Network/Servers -fstab -m /automount -static
362 ?? Ss 0:00.07 cron
381 ?? S 0:00.51 DirectoryService
391 ?? S 0:10.94 /Library/StartupItems/Tablet/TabletDriver.app/Contents/MacOS/ TabletDriver
393 ?? Ss 0:01.39 /System/Library/CoreServices/pbs
401 ?? S 0:02.16 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock -psn_0_524289
404 ?? S 0:18.92 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/ SystemUIServer -psn_0_655361
405 ?? S 0:00.83 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder -psn_0_786433
407 ?? S 0:01.95 /System/Library/Image Capture/Devices/Type1Scanner.app/Contents/MacOS/Type1Scanner -psn_0_1048577
408 ?? S 0:01.72 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ ImageCapture.framework/Versions/A/Image Capture Extension.app/Contents/Ma
412 ?? S 0:18.26 /Library/PreferencePanes/MouseWorks.prefPane/Contents/Resources/ Support/MouseWorks Background.app/Contents/MacOS/MouseWorks Background -psn
413 ?? Ss 0:00.08 /System/Library/PrivateFrameworks/InstantMessage.framework/ iChatAgent.app/Contents/MacOS/iChatAgent
414 ?? S 0:37.94 /Applications/Mail.app/Contents/MacOS/Mail -psn_0_1703937
417 ?? S 0:00.37 /System/Library/CoreServices/SecurityAgent.app/Contents/MacOS/ SecurityAgent
------------------
This is an old xemacs that should have been terminated . . .


426 ?? R 56:37.46 tcsh /Users/rcraig/xemacs -geometry 209x86+0+0
------------------
456 ?? S 0:04.55 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_2359297
469 ?? S 0:00.02 /Applications/X11.app/Contents/MacOS/X11 -psn_0_2490369
470 ?? S 0:10.86 /Applications/X11.app/Contents/MacOS/X11 --xquartz-be-xinit -noreset -auth /Users/rcraig/.Xauthority -psn_0_2490369
472 ?? S 0:00.12 /usr/X11R6/bin/quartz-wm
475 ?? S 0:00.00 rsh -n pantagruel /usr/X11R6/bin/rxvt -display gargantua:0 -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+
476 ?? S 0:00.02 rsh -n pantagruel /usr/X11R6/bin/rxvt -display gargantua:0 -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+
477 ?? S 0:00.07 /sw/bin/rxvt -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+0+0 -sb -sl 1000 -ls
478 ?? R 52:34.21 tcsh /Users/rcraig/xemacs -geometry 209x86+0+0
479 ?? S 0:03.39 xclock -analog -update 1 -geometry 96x96-0+0
486 ?? S 0:00.00 rsh -n pantagruel /usr/local/bin/xemacs -display gargantua:0
494 ?? S 0:08.46 /Users/rcraig/Desktop/Safari.app/Contents/MacOS/Safari -psn_0_2752513
495 ?? S 0:00.02 /System/Library/Services/AppleSpell.service/Contents/MacOS/AppleSpell -psn_0_2883585
------------------------------------------
And a couple of zombies, not just X11, interestingly enough.
418 con- Z 0:00.00 (X11)
499 con- Z 0:00.00 (iPhoto)
--------------------------------------------
457 std Ss 0:00.32 login -pf rcraig
458 std S 0:00.07 -tcsh (tcsh)
507 std R+ 0:00.00 ps axg
487 p2 Ss+ 0:00.02 -tcsh (tcsh)


Here's my .xinitrc, which worked fine with Xdarwin and fvwm2:

[gargantua:~] rcraig% cat .xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start some nice programs

xhost +pantagruel.juniper.net
rsh -n pantagruel /usr/X11R6/bin/rxvt -display gargantua:0 -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+0+0 -sb -sl 1000 -ls &
rsh -n pantagruel /usr/X11R6/bin/rxvt -display gargantua:0 -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+747+0 -sb -sl 1000 -ls &
#rsh -n pantagruel /usr/X11R6/bin/rxvt -display gargantua:0 -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+0+1600 -sb -sl 1000 -ls &
#rsh -n pantagruel /usr/X11R6/bin/rxvt -display gargantua:0 -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+747+1600 -sb -sl 1000 -ls &
/sw/bin/rxvt -fn -adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1 -geometry 80x74+0+0 -sb -sl 1000 -ls &
xemacs -geometry 209x86+0+0 &
xclock -analog -update 1 -geometry 96x96-0+0 &
# exec fvwm2
exec /usr/X11R6/bin/quartz-wm


Thanks,
Robert.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: x11 leaving zombies in its wake . . .
      • From: Shin Yamamoto <email@hidden>
  • Prev by Date: Odd crash when running X11
  • Next by Date: Option as Meta key in emacs
  • Previous by thread: Odd crash when running X11
  • Next by thread: Re: x11 leaving zombies in its wake . . .
  • Index(es):
    • Date
    • Thread