From: Brian Candler Date: 2009-12-25T18:03:10+09:00 Subject: Re: png-file as a HTTP-Response... Albert Schlef wrote: >> server = Thread.start { >> while (cl = serverSocket.accept) >> [...] >> end >> } >> while (true) >> true >> end > > This "while true; end" is known as a "busy loop" (google for this term) > and is not CPU-friendly. Perhaps it steals CPU cycles form your working > thread. you can just replace it with: server.join -- Posted via http://www.ruby-forum.com/.