Category Archives: Apple

Posts relating to Apple products, both software and hardware.

Steve Jobs

While the web is filled with memorials, testimonials, quotes, etc about Steve’s passing, I figured it only appropriate that I say something… since while I am a System Administrator by profession, I am a Mac user by lifestyle. From the computers I’ve used at home since I was 5, to the servers I work with today, I work with Apple hardware. I’ve always loved Apple hardware, even when they made rather uninspiring devices during period between Steve Jobs’ leaving, then returning to Apple. I wouldn’t call myself a cultist, but I would call myself a skeptical believer. Apple has made some missteps in my mind (killing the Xserve, the rather drastic changes in 10.7 server, etc), but I do believe that what they do they do because they truly believe “this is how it should be”. It’s not just a “this will make us money” or anything like that. Steve, and Apple, both thought they were taking something that was imperfect, and bringing it closer to perfection. And he realized that perfection was out there, somewhere just beyond reach, so you had Apple products that evolved from generation to generation.

What hit me yesterday was that Steve basically bookended his career with the birth, and the (arguably) death of the personal computer. The Apple I/II, and the Macintosh were largely the birth of the real personal computer, and with the release of iOS 5, you have an iPhone, iPad that can be used PC free, which some argue has brought about the end of the PC era. I’m not sure if I agree with that, but it certainly is a step toward the lifestyle where we may have an actual computer at home, or work, but day to day, our lives will largely be played out on phones, tablets, etc. This is already the case for most of us, and will only become more so for others as time passes.

Read More »

Tweet this
Posted in Apple | Comments closed

Mail.app and 32-bit signed integers

Mail.app does not like it when a mail server reports the NEXTUID to be greater than 2^31 (which is the limit for signed 32-bit integers). I could end this post here, but it’s worth explaining how I got here, and how I fixed it… just incase.

A few weeks back, a faculty member hit quota for his email. This isn’t unheard of, but for some reason, this faculty member hit quota in such a way as to cause Dovecot (the central mail server’s mail service) to rapidly increase the UIDs for his email. I’m guessing something like the following happened.

  1. User is near quota, and receives message
  2. Dovecot writes out message to Inbox, but lazily updates dovecot-uidlist
  3. Delivery of message causes quota full
  4. Dovecot goes to update uidlist, but can’t since the quota is full. Which causes a race condition where it tries repeatedly to write it out, and in the process, increasing the base UID each time
  5. After this repeats a few thousand times, the user gets below quota again, and we end up with a NEXTUID of 3829200751 (yes, 3.8 Billion).

Now, there are two things you can think about this. One, is “this is a dovecot problem”. Well, yes, but… they’ve warned users not to store the uidlist files on quota enforced volumes:

Dovecot can’t currently handle not being able to write the control files, so it will cause problems with filesystem quota. To avoid problems with this, you should place control files into a partition where quota isn’t checked.1

Read More »

  1. http://wiki2.dovecot.org/MailLocation/Maildir []
Tweet this
Posted in Apple | Comments closed
  • Weather

  • Current Power Usage

  • Prius Mileage

    Lifetime Average (Calc) : 44.6MPG
    Lifetime Average (MFD) : 45.43MPG
    Total Miles Driven : 70691.9
    Graphs: Price/Gal. || Mileage || Summary
  • Distance Walked

    Distance walked in last 7 days
    12 miles (26242 steps)
    Graphs: History || Summary