September 27th, 2005

My iBook has been periodically hanging up recently. The cursor would get jittery and the kernel would start using over 60% of the CPU, rendering the machine useless. MacFixIt ran a report (reg. req’d, pdf) on that issue that had some interesting information indicating that the issue was related to lookupd and dns. Yesterday, they ran an updated story (reg. req’d, pdf) that pinned the issue to a particular domain that was messing up lookupd. And finally a solution that worked:

Enter the following command in the Terminal (located in Applications/Utilities) and press return:

    sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts

This will open the /etc/hosts file in the TextEdit application.

Add the line: js.adsonar.com

to the end of the file (under hosts) and save. You’ll be running in root at this point, so quit TextEdit immediately and do not modify any other files.

Ahhhh. With any luck, Apple will block adsonar.com all together with a security update, but that seems unlikely.

Update: It started again. My usual state of being for my laptop is to be plugged in to ethernet, and connected to wireless, so if I move from my desk, connectivity keeps going. I have found that turning off airport resolves this issue, but when I turn it back on, the issue comes back immediately.

One Response to “Hooray!

  1. Ben says:

    Damn, I wonder if it’s because they’re registered a batshit insane number of authoritative name servers. http://www.dnsstuff.com/tools/traversal.ch?domain=a1393.g.akamai.net&type=A

    Resolving that name does’t appear to make my system go crazy, although it does to a slightly different crazy thing if I ping that address:

    $ ping js.adsonar.com
    PING js.adsonar.com.edgesuite.net ( 56 data bytes
    64 bytes from icmp_seq=0 ttl=52 time=19.104 ms
    Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
    4 5 00 0054 0bde 0 0000 3f 01 ebf1

    64 bytes from icmp_seq=1 ttl=52 time=20.509 ms
    Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
    4 5 00 0054 0beb 0 0000 3f 01 ebe4

    64 bytes from icmp_seq=2 ttl=52 time=20.999 ms
    Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
    4 5 00 0054 0bf6 0 0000 3f 01 ebd9

    64 bytes from icmp_seq=3 ttl=52 time=20.387 ms
    64 bytes from icmp_seq=4 ttl=52 time=23.582 ms
    Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
    4 5 00 0054 0c03 0 0000 3f 01 ebcc

    64 bytes from icmp_seq=5 ttl=52 time=18.043 ms
    64 bytes from icmp_seq=6 ttl=52 time=34.637 ms
    Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
    4 5 00 0054 0c0f 0 0000 3f 01 ebc0

    64 bytes from icmp_seq=7 ttl=52 time=20.409 ms
    64 bytes from icmp_seq=8 ttl=52 time=18.868 ms
    64 bytes from icmp_seq=9 ttl=52 time=21.732 ms
    — js.adsonar.com.edgesuite.net ping statistics —
    10 packets transmitted, 10 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 18.043/21.827/34.637/4.519 ms