This post originated from an RSS feed registered with Ruby Buzz
by Ryan Davis.
Original Post: Vlad Hanging on you?
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
I just finished writing up a lighttpd plugin for Vlad so I can switch my textdrive projects over. I had a problem where firing up lighttpd would hang. I knew there wasn't any IO it was actually waiting on, it was just hanging...
After googling I found a similar bug regarding capistrano having the same problem and the workaround offered works beautifully!
The solution/workaround is to forcibly detach all IO from the process:
By doing this, ssh doesn't hang around waiting for more stuff to happen. This is specific to lighttpd, but I'm guessing there are other daemons out there with similar problems.