Watchdog

From AwkwardTV
Revision as of 15:17, 3 September 2007 by XqvBvg (talk | contribs)
Jump to: navigation, search

athlon xp 2800 solo lei ramazzotti o.r.b. off-world resource base fisici accessorio sony locali scambisti in lombardia conector rj45 un amore da favola fotocamera digitale canon a400 sito internet romagna kingkong soy cubanito masterizzatore dvd r- dual layer pioneer dvr-109d cavalieri dello zodiaco g.t.o. great teacher onizuka. disco 4 masterizzatore esterno dvd plextor hotel cologne nude amatoriali sliver mi soledad y yo canon - selphy cp600 fuji z1 il re dei campi elisi christmast card vodafone testo non so che darei di alan sorrenti panasonic sc-pm21 titov, german residenze in costa smeralda mari (gruppo etnico della rus... dect 311 cordless il pene nella figa motorola cellulare v51 sesso cazzo compex it becker - traffic pro 7945 nickelodeon mila moy hi fi car clio prezzo samsung creative zen touch 20 jbl k2 mobili usati ufficio strumien giochi... heym, georg lettori mp3 acer 512mb foto donne sex he ja www boccaccesca it www sharif ac ir lancome impactive britney spears 2005 rock me amadeus we are ana johnsson nx6110 c-m360 telecamera sony pc 6 beritney spears xp service pack 1 olivia video andresan rivenditore h3g ram 256 pc133 kingston le fate dei fiori cardispan himalaia bmw serie 3 coupe nora roberts libri peter coniglio ontrack easy recover ricardo martinez gary jules mad world acqua fredda pietre minerali grossisti sorcerous stabber orphen frigoriferi da incasso a trrr offroad com multifunzione fotocopiatrice scanner carpark gaychat prestito madrid lauren bacall annuncio single foto personale zalman zm80d-hp fiume reno stampanti epson aculaser c900 bliardo everybody s changing king of convinience epson 810 elenco telefonico internazionale gillo dorfles scuola graduatoria asciugabiancheria classe energetica a partecipanti 7 dicembre solo moto preiscrizioni ballo in inghilterra il giardino segreto foto pettinature nocturna classica pover diabla il mondo insieme philips 859 batteria t68 silvstedt italiani uccisi spaghetti alle vongole www d monitor televisore bergamotti dediche d amicizia custode arriva millennium buleria davis bisbal svedese win nova-t feromone gorrilaz bankhead, tallulah michel vieth porno il racconto di bombay modelli da curriculum distributori modena swimsuit monitor dvd per auto fiat stilo mw profumi schon griglia barbecue a gas bf obie bermudez antes buffy - stagione 3 completa november humanoid miss mary samsung - ml-1520 candy trio 501 casse mini ipod trio medusa mp3 kvm 8 cavi corsair cmx 3200xl kingston 1024 parole di canzione oregon scientific cordless motoni webcam creative labs pc cam 880 lunione sarda cec amplificatori perzone persone supporto per tv al plasma a muro transformers energon vol 2 l autoradio miss j viva gaggia dieta last minute la flaca jarabe de palo immagini sul parto lg flatron f900b imetec 9402 cartoline da spedire dolce gabbana camicia fotomontaggi prono chivas 18 supporto universale auto per palmari korbach lg tch m1000r uomo tanga albergo 5 stelle verona www surnet cl brak the line ball baloon voli per cancun pixma i 3000 ken il guerriero 1 alexia galaxia celentano un amore impossibile dei tiro mancino prestito londra meccanica razionale goo goo dolls iris acoustic oki 6 la corta notte delle bambole di vetro nuova volkswagen passat auto km 0 lo stano percorso testo appartamento roma affitto pity alberghi parigi s regis amazing georges michael karaoke aconaemys kia sportage 2002 catania milano biglietti aerei bettie page pollici cm cavi video component reading (u.s.a.) messaggi di amore lara kroft auto moto nuove continua lo sviluppo del quick time 5 ===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