Shoot, I just realized my ngx_add_timer(wakeupFromSleep, 30); call was never returning. Looking in the logs it looks like a segfault...but why? Hmm... Posted at Nginx Forum: http://forum.nginx.org/read.php?2,41283,41721#msg-41721