From: Nathaniel Talbott Date: 2004-02-23T05:18:36+09:00 Subject: Re: Webrick slow when running on a stand-alone system On Feb 22, 2004, at 01:45, Jim Weirich wrote: > I've developed a small app for a laptop using Webrick. It serves > pages to > a local browser. It works great when the laptop is connected to the > internet. But when then laptop is running without an external network > connection it runs very slowly, with long pauses before serving a > page. I > am guessing it is trying to do some kind of lookup and is timing out. > Is > there a way to disable that behavior. > > The problem is occuring on a Windows 98 box running Ruby 1.8.1 (with > the > included Webrick). Just a hunch... try this at the beginning of the program: Socket.do_not_reverse_lookup = true I've heard this mentioned as the solution to several previous WEBrick problems, and it seems like it might be related to yours. HTH, Nathaniel <:((><