OSX version 10.8.2 > ps ax -j USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND root 1 0 1 0 0 Ss ?? 0:10.71 /sbin/launchd root 11 1 11 0 0 Ss ?? 0:00.43 /usr/libexec/UserEventAgent (System) root 12 1 12 0 0 Ss ?? 0:00.83 /usr/libexec/kextd root 14 1 14 0 0 Ss ?? 0:01.63 /usr/sbin/notifyd root 15 1 15 0 0 Ss ?? 0:00.47 /usr/sbin/securityd -i root 16 1 16 0 0 Ss ?? 0:00.12 /usr/sbin/diskarbitrationd root 17 1 17 0 0 Ss ?? 0:01.54 /usr/libexec/configd root 18 1 18 0 0 Ss ?? 0:01.36 /System/Library/CoreServices/powerd.bundle/powerd root 19 1 19 0 0 Ss ?? 0:01.53 /usr/sbin/distnoted daemon root 20 1 20 0 0 Ss ?? 0:00.40 /usr/sbin/syslogd root 21 1 21 0 0 Ss ?? 0:00.86 /usr/sbin/cfprefsd daemon root 22 1 22 0 0 Rs ?? 0:05.57 /usr/libexec/opendirectoryd root 28 1 28 0 0 Ss ?? 2:16.66 /System/Library/CoreServices/coreservicesd nobody 33 1 33 0 0 SNs ?? 0:00.14 /usr/libexec/warmd _usbmuxd 34 1 34 0 0 Ss ?? 0:00.50 /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd -launchd root 37 1 37 0 0 Ss ?? 0:00.04 /usr/libexec/stackshot -t root 38 1 38 0 0 Ss ?? 0:00.01 /System/Library/CoreServices/SleepServicesD root 40 1 40 0 0 Ss ?? 0:00.09 /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Support/revisiond root 45 1 45 0 0 Ss ?? 0:01.18 /System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmfs --tcp --resvport --listen localhost --oneshot --noportmap --nobrowse root 46 1 46 0 0 Ss ?? 0:19.43 /System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmd root 47 1 47 0 0 Us ?? 2:41.38 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds _mdnsresponder 48 1 48 0 0 Ss ?? 0:19.90 /usr/sbin/mDNSResponder -launchd thomas 51 1 51 0 0 Ss ?? 0:02.50 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console root 53 1 53 0 0 Ss ?? 0:00.03 /usr/sbin/KernelEventAgent root 55 1 55 0 0 Ss ?? 0:01.36 /usr/libexec/hidd root 56 1 56 0 0 Ss ?? 0:07.31 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Support/fseventsd root 58 1 58 0 0 Ss ?? 0:00.01 /sbin/dynamic_pager -F /private/var/vm/swapfile _eppc 61 1 61 0 0 Ss ?? 0:00.03 /System/Library/CoreServices/appleeventsd --server root 64 1 64 0 0 Ss ?? 0:00.19 /usr/sbin/blued root 66 1 66 0 0 Ss ?? 0:00.04 autofsd root 67 1 67 0 0 Ss ?? 0:00.33 /System/Library/PrivateFrameworks/ApplePushService.framework/apsd root 72 1 72 0 0 Ss ?? 0:00.43 /usr/sbin/ntpd -c /private/etc/ntp-restrict.conf -n -g -p /var/run/ntpd.pid -f /var/db/ntp.drift root 75 1 75 0 0 Ss ?? 0:00.04 /sbin/SystemStarter _windowserver 81 1 81 0 0 Ss ?? 3:07.45 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer -daemon _networkd 93 1 93 0 0 Ss ?? 0:00.02 /usr/libexec/networkd _netbios 98 1 98 0 0 SNs ?? 1:12.97 /usr/sbin/netbiosd root 116 1 101 0 0 S ?? 0:00.02 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/Thomass-MacBook-Pro-4.local.pid _mysql 251 116 101 0 0 S ?? 0:01.97 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/ root 286 1 286 0 0 Ss ?? 0:00.09 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer _windowserver 288 1 288 0 0 Ss ?? 0:00.29 /sbin/launchd _windowserver 291 288 291 0 1 U ?? 0:00.00 /usr/sbin/cfprefsd agent root 301 1 301 0 0 Ss ?? 0:00.02 /System/Library/CoreServices/logind _coreaudiod 302 1 302 0 0 Ss ?? 0:02.00 /usr/sbin/coreaudiod thomas 320 1 320 0 0 Ss ?? 0:07.82 /sbin/launchd thomas 323 320 323 0 1 S ?? 0:01.87 /usr/libexec/UserEventAgent (Aqua) thomas 324 320 324 0 1 S ?? 0:02.61 /usr/sbin/distnoted agent thomas 326 320 326 0 1 S ?? 0:00.88 /usr/sbin/cfprefsd agent thomas 331 320 331 0 1 S ?? 0:01.83 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd thomas 332 320 332 0 1 S ?? 0:00.01 /usr/sbin/pboard thomas 335 320 335 0 1 S ?? 0:04.28 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer thomas 336 320 336 0 1 S ?? 0:00.16 /System/Library/CoreServices/talagent thomas 344 320 344 0 1 S ?? 0:00.18 /usr/sbin/usernoted thomas 345 320 345 0 1 S ?? 0:00.11 /System/Library/PrivateFrameworks/TCC.framework/Resources/tccd root 346 1 346 0 0 Ss ?? 0:00.37 /usr/sbin/httpd -D FOREGROUND _www 347 346 346 0 0 S ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND thomas 351 320 351 0 1 S ?? 0:00.74 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter thomas 355 320 355 0 1 S ?? 0:00.21 /System/Library/PrivateFrameworks/IMCore.framework/imagent.app/Contents/MacOS/imagent thomas 358 320 358 0 1 S ?? 0:00.01 /System/Library/CoreServices/AppleIDAuthAgent thomas 359 320 359 0 1 S ?? 0:00.47 /System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent thomas 365 320 365 0 1 S ?? 0:05.46 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock thomas 367 320 367 0 1 S ?? 0:13.68 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder thomas 368 320 368 0 1 S ?? 0:00.10 /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper -psn_0_36873 thomas 369 320 369 0 1 S ?? 0:00.07 /System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd thomas 371 320 371 0 1 S ?? 0:10.08 /Applications/Google Drive.app/Contents/MacOS/Google Drive -psn_0_45067 thomas 373 320 373 0 1 S ?? 0:01.44 /Users/thomas/Library/PreferencePanes/MusicManager.prefPane/Contents/Resources/MusicManagerHelper.app/Contents/MacOS/MusicManagerHelper -psn_0_53261 thomas 374 320 374 0 1 S ?? 0:33.94 /Applications/Dropbox.app/Contents/MacOS/Dropbox -psn_0_65552 thomas 376 320 376 0 1 S ?? 0:00.10 /Users/thomas/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app/Contents/MacOS/Android File Transfer Agent -psn_0_69649 thomas 377 320 377 0 1 S ?? 0:05.36 /System/Library/CoreServices/NetworkBrowserAgent root 378 1 378 0 0 Ss ?? 0:00.02 /usr/sbin/filecoordinationd thomas 380 1 380 0 0 Ss ?? 0:00.07 /usr/libexec/xpcd thomas 381 1 381 0 0 Ss ?? 0:00.42 com.apple.dock.extra thomas 382 320 382 0 1 S ?? 0:00.02 /usr/libexec/lsboxd thomas 401 320 401 0 1 S ?? 0:01.28 /System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension -psn_0_102425 root 406 374 374 0 1 S ?? 0:00.92 /Library/DropboxHelperTools/Dropbox_u501/dbfseventsd root 407 406 374 0 1 S ?? 0:04.23 /Library/DropboxHelperTools/Dropbox_u501/dbfseventsd thomas 408 407 374 0 1 S ?? 0:02.65 /Library/DropboxHelperTools/Dropbox_u501/dbfseventsd thomas 415 320 415 0 1 S ?? 3:44.63 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -psn_0_114716 _coreaudiod 419 1 419 0 0 Ss ?? 0:00.03 /usr/libexec/xpcd _coreaudiod 423 1 423 0 0 Ss ?? 0:00.03 com.apple.audio.SandboxHelper thomas 427 320 427 0 1 S ?? 0:01.58 /System/Library/CoreServices/pbs _spotlight 589 1 589 0 0 Ss ?? 0:00.38 /sbin/launchd _spotlight 592 589 592 0 1 S ?? 0:00.28 /usr/sbin/distnoted agent _spotlight 593 589 593 0 1 S ?? 0:00.11 /usr/sbin/cfprefsd agent thomas 2912 320 2912 0 1 S ?? 5:30.83 /Applications/Google Chrome.app/Contents/MacOS/Google Chrome -psn_0_245820 thomas 2917 2912 2912 0 1 S ?? 0:00.63 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2918 2912 2912 0 1 S ?? 0:45.74 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2919 2912 2912 0 1 S ?? 0:06.16 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2920 2912 2912 0 1 S ?? 0:06.85 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2921 2912 2912 0 1 S ?? 0:00.57 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2922 2912 2912 0 1 S ?? 0:00.84 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2924 320 2924 0 1 S ?? 0:00.58 /System/Library/Services/AppleSpell.service/Contents/MacOS/AppleSpell -psn_0_278596 thomas 2932 2912 2912 0 1 S ?? 1:46.32 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 2933 2912 2912 0 1 S ?? 0:11.30 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=ppapi --channel=2912.13.21 thomas 2934 2912 2912 0 1 S ?? 0:03.91 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=gpu-process --channel=2912 root 2935 1 2935 0 0 Ss ?? 0:00.08 /System/Library/Frameworks/CoreMediaIO.framework/Resources/VDC.plugin/Contents/Resources/VDCAssistant thomas 2938 2912 2912 0 1 S ?? 0:00.25 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper EH.app/Contents/MacOS/Google Chrome Helper EH --type=plugin --plugin-path thomas 3053 2912 2912 0 1 S ?? 0:37.92 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 3154 320 3154 0 1 S ?? 0:00.06 /usr/bin/ssh-agent -l thomas 3156 320 3156 0 1 SN ?? 3:30.29 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdwo root 3257 1 3257 0 0 Ss ?? 0:00.29 /usr/libexec/taskgated -s thomas 45631 2912 2912 0 1 S ?? 0:00.34 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=ppapi-broker --channel=291 thomas 45632 320 45632 0 1 S ?? 0:00.18 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=service --lang=en-US thomas 47458 320 47458 0 1 S ?? 0:03.21 /Library/Application Support/Google/GoogleTalkPlugin.app/Contents/MacOS/GoogleTalkPlugin -psn_0_520319 root 62127 1 62127 0 0 Ss ?? 0:00.12 /System/Library/PrivateFrameworks/CoreSymbolication.framework/coresymbolicationd thomas 62190 2912 2912 0 1 S ?? 0:11.89 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo thomas 65989 2912 2912 0 1 S ?? 0:17.25 /Applications/Google Chrome.app/Contents/Versions/25.0.1364.172/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper --type=renderer --lang=en-US --fo root 77178 1 77178 0 0 Ss ?? 0:00.01 /usr/sbin/ocspd root 418 415 418 0 0 Ss s000 0:00.03 login -pf thomas thomas 420 418 420 0 1 S s000 0:00.05 -bash thomas 65789 420 65789 0 1 S+ s000 0:02.74 emacs src/master/hierarchical_allocator_process.hpp root 2996 415 2996 0 0 Ss s001 0:00.03 login -pfl thomas /bin/bash -c exec -la bash /bin/bash thomas 2997 2996 2997 0 1 S+ s001 0:00.06 -bash root 3141 415 3141 0 0 Ss s002 0:00.02 login -pfl thomas /bin/bash -c exec -la bash /bin/bash thomas 3142 3141 3142 0 1 S s002 0:00.01 -bash thomas 65405 3142 65405 0 1 S+ s002 0:00.56 ssh -i thomas.pem [email protected] root 3247 415 3247 0 0 Ss s003 0:00.03 login -pfl thomas /bin/bash -c exec -la bash /bin/bash thomas 3248 3247 3248 0 1 S+ s003 0:00.16 -bash root 78261 415 78261 0 0 Ss s004 0:00.03 login -pfl thomas /bin/bash -c exec -la bash /bin/bash thomas 78262 78261 78262 0 1 S s004 0:00.01 -bash root 78274 78262 78274 0 1 R+ s004 0:00.00 ps ax -j
On Wed, Mar 13, 2013 at 3:16 PM, Vinod Kone <[email protected]> wrote: > > The "dyld: DYLD_ environment variables being ignored because main executable > (/bin/ps) is setuid or setgid" also occurs if, for example, if I run > mesos-master.sh, mesos-slave.sh, and test-framework, the slave will output > this error after the framework exits, and if I don't kill it almost > immediately it crashes my entire machine. Again, running this on OSX Mountain > Lion. >> >> >> > > From my experiments so far, this looks like related to "killtree.sh" > script that the process isolation module uses to kill executors. It sounds > like Mountain Lion's 'ps' reports session id as "0" for all processes! The > killtree script tries to kill all processes on the box because, it thinks > all the processes belong to the executor's session (session id = 0)! > > @Thomas: Can you let me know what your OSx version is and what the output > of 'ps ax -j' is ? I hope this is not a regression in 0SX's implementation > of 'ps'. > > > >> - Thomas >> >> On March 13th, 2013, 7:13 p.m., Vinod Kone wrote: >> Review request for mesos, Benjamin Hindman, Thomas Marshall, and Ben >> Mahler. >> By Vinod Kone. >> >> *Updated March 13, 2013, 7:13 p.m.* >> Description >> >> See summary. >> >> Testing >> >> make check >> >> Diffs >> >> - src/tests/slave_recovery_tests.cpp >> (2a2fa281bba8e00e93a770828f5a93aff5539cf4) >> >> View Diff <https://reviews.apache.org/r/9907/diff/> >> > > -- Thanks, Thomas Marshall (510) 244-2487
