Watchdog

From AwkwardTV
Revision as of 02:07, 31 August 2007 by XqvBvg (talk | contribs)
Jump to: navigation, search

la donna riccia nazan oncel zucchero video ruslana wild music piccolo uomo testo mia martini qtek supporto da tavolo usb foto di aida yespica villani schede madri 939 agp jack 2 5 maschio 3 5 femmina ariston 420 lisola del dottor moreau www com mx still nash maglia punto tubolare come si chiude righeira nino d angelo mente e cuore ddr sdram 333 giovane giovane bebes porno mundial 78 carla collado ray connif aquarela do brasil gestalt skate swyx partner tariffa voli aerei puisard grammatica francese xerox phaser 8400 holland cofee david berg wireless multimedia presenter asus 6800 128mb td atheris driver v710 malang carlotta grignani foto hard disk per portatile one moment in time cofanetto montalbano massacri in irak stella by starlight cagliari driver kingston amore sotto coperta ventas alpine corel draw select chistes cortos gemelli diversi testo canzone tecnologia mobile intel centrino mida srl obiettivi attacco pentax bianca mr canadi movieplayer exe bootylicious nek concerti multifunzione ricoh ebrahim battaglia navale 3 d centro assistenza ericsson palermo quanti anni hai giorgio conti justine dvd usb internet wireless ladakh donna sotto la doccia riassunto libro le lettere del sabato filmatihard notebook sxga viotti dmcfz5 panasonic caux pays de frank t mitsubishi ventilatori emma bunton gallery des sfroos wwe smackdown videogiochi te ago el amor orologio digitale donna profumi uomo krizia cavo ipaq 1930 tavole capodanno in baita www opel com la danza della rabbia lavastoviglie pannello acciaio vacanza studio vancouver canada quattrocchi video morte sguardo 72 turion 64 mt navman icn 510 provincia di cremona screensaver per computer renee zellweger nuda usb 5 metri steve miller band icco orixas monitor televisori car audio dvd famiglia dell insetto grillo mouse telecomando beato tra le donne 1995 fujifilm np120 gratis software palmare cover mina platinum collection samsung i700 ragazzo trapani prezzi plasma 42 benassi luisa auto noleggio alghero treadmill 7 25 kam arredi dvd lettore combo lg natalia risin lettore dvd memory street legal racing redline meteoliguria cantico di frate sole www naa it nikon 70200 oki c5450n ramazzotti tour roma gd87 panasonic cellulari piscina accessorio stefano tira pompini cinema it windowtool 13 asus pentium 4 pci express peugeot 106 open xerox xj8c onefa maglia gara juventus zaino bandoliera siba blue che mi dici cognomi d italia convivio ricoh toner 1205 inno socialista scheda madre due processori amd claude debussy pelleas et melisande amilo pro v2040 amanti di domani mr sleep lc 20 sh1e sharp volia e turna the world of geisha la piu bella cosa composizione piselli bosch asciugabiancheria tiroide noduli pronografia extreme ps2 accessori console jonny lang by bank gioco war in iraq concessionario ford bergamo apple ipod nano yo voy compra vendita di go kart tra privati satisfacion gigi d ufo alieni testo the eye of a tiger bmw 530i touring spiderman ps2 platinum brionvega algol lavoro a piombino carcere di montorio lo strano pecorso lui di colore roulette russa code srg kodak 6 megapixel forno lg stampante scanner fotocopiatrice laser a foto sesso con ortaggi natalia estrada foto amd athlon xp 64 939 3000 keane lyrics everybody s changing manipolazione genetica ps 4300 bmw serie 1 auto km 0 smart cdi roma mercedes c180 sterline oro esecutore oltre la legge tesine multimediali cash flow navman icn320 www ela weber volkswagen al pagine bianche nuoro ragazzo cerca coppia battaglia inferno radeon x850 xt platinum edition pci ===What is Watchdog===

Watchdog is a service monitoring daemon responsible for rebooting the Apple TV if its GUI application is not running. Its main goal is to reboot the system if the Finder application fails to launch and stay running for a period of time (58 seconds, as far as I can tell). It keeps track of the number of times it's rebooted the system due to a hung or crashed Finder, and when this happens a certain number of times in a row (5 times I believe) it performs some action -- presumably restoring to factory defaults, or to the last known good state.

There's a kext called AppleTCOWatchdog.kext in the /System/Library/Extensions/ folder.

Brief Watchdog Background

Watchdog is a service monitoring daemon that has its roots in Apple's server OS, Mac OS X Server. Watchdog monitors and, as required, relaunches critical processes on the machine. When hardware such as Apple's server hardware, Xserve is present, watchdog is even able to reboot the machine if the power management hardware fails to respond.

This should not be confused with the "watchdog" program from OS X 10.3 and earlier -- it is unrelated, and we should probably delete all of the references to it on this page. :/

The Ripstop Daemon

Ripstop is a background system daemon launched by the launchd process in its role as the successor to mach_init. Ripstop opens a communications channel with the Watchdog service within the kernel, and keeps a notification port open to allow other processes to 'ping' the watchdog, and perform some other duties.

Ripstop Details

Ripstop responds to six notifications, all sent via the low-level notify_post() application:

  • com.apple.riptide.heartbeat
  • com.apple.riptide.start
  • com.apple.riptide.stop
  • com.apple.ripstop.query
  • com.apple.ripstop.debug

The Finder application actually sets up a timer which fires every 58 seconds to make the following call:

notify_post( "com.apple.riptide.heartbeat" );

This is essentially the 'keepalive' notification used to inform the watchdog that everything is hunky-dory.

Upon launch, ripstop switches to the Frontrow user