Watchdog

From AwkwardTV
Revision as of 18:11, 23 September 2007 by XqvBvg (talk | contribs)
Jump to: navigation, search

index lettore divx portatile tv tuner origine nomi albergo 3 stelle copenhagen map emulatori per mame32 www appendicectomia it napoli amsterdam page syrah planeta btu portatili con floppy contrataciones de jugadores del equipo r page sotto gonna residence sardegna capo d orso o zone remix link fit one norton utilities primi dettagli per ultimate spiderman microsoft media center keyboard nomi in cinese tatoo volvo v40 t4 exilim z57 url universita onl line il cavaliere nero black bumer original citta medievali 2005 paolo di canio coppie belle incontri it sorin copilul homepage sql interbase sony 800 link index il pifferaio di hamelin nvidia 6800 pci new line dalimas bootsy bootsy boom index il giardino page fiat multipla 1 9 jtd home hoya filter paracadutisti verbatim dvd r 4x dl url culo sfondato le avventure di braccio di ferro fuga dall isola worm bach aria sulla 4 corda il ruolo dell intellettuale nel 1600 hp 4l index page bibbione gente allegra rs dv mmc 1 8 camargo luciano guarda album documenti distruggi nokia hs1c link index roma rio janeiro aspire 1691wlmi nikon f3 miss muretto link jvc videocamera 24 page sanyo videoproiettori modern jazz quartet allesandra www gamestart it isnogod af canon obiettivi video di moto feng shui volverine amd 64 3200 winchester socket 939 yavuz bingol came baby jamiro quai paola perego nera www san andreas it la spia che vide il suo cadavere macchine per lamiera vicenza homepage www unieuro it www meteorete le guerre puniche lettore dvd ram homepage site Lesbiche troie Software free isolamento termico Hotel camelia riccione Telecamera canon Fax tiscali it Link www amando it oroscopo coppia html Testi di alanis morissette Adware remover Francesca piccinini Ragazze porche video Filmati pompini Colf Autocaravan Porno toube Francesca lodo nuda Corsi spagnolo spagna Foto gratis tettona Fige depilate Annuncio coppia toscana Paola pitagora nude Video negre gratis Sexi Arctic monkeys Hotel alicante Modem adsl2 ethernet Bed and breakfast napoli Troie a vicenza Melatonina parkinson Belle nere Il ladro di orchidea Super inculate Federazione stati indipendenti shopping Karpathos Immagini disney hentai Sauna gay Horse cock sucking Costituzione italiana riassunto Teen handjob Musica midi Fondi europei Radio marte Debt relief Fimosi Esorcismi video Aeroporto venezia Credito valtellinese subasio Sitoesaurito tv Afrodite night Video lesbiche gratuiti Autoscout it Albergo liguria Centralino telefonico isdn Elenco rivista italiane Pompino al cavallo Solo como agriturismo Commento delle poesia di ungaretti Tutti testo gwen stefani Castiglione della pescaia Schedina it Sesto autoveicoli Riflessologia Messaggio preziosi Cardgame club Tette esagerate Ultimate surrender Free trans Donne more porche Sexysat tv it Finanziamento bologna Foto figa bagnata Pircher legname Accessorio foto camera canon Troie over 60 Shakira velo Classifica singoli Traduci altavista Ferritina bassa Stufe a legna in maiolica Corso autocad milano Hotel ascoli piceno Video porno da scaricare gratis Agriturismo umbria cassa edile napoli Video cicciolina gratis Mermaid melody da colorare Easybook Valentino finanza online Traduttore italiani-inglese Supermercati Kirsten dunst sex Federvolley Shemale hardcore Montebelluna Borsa viaggi Campeggio sardegna Veratour it Ragazze grasse nude Federica tommasi video Affordable health insurance ===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