Date: Wed, 7 Mar 2007 15:28:26 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Chris Slothouber <chris@hier7.com>, User Questions <freebsd-questions@freebsd.org> Cc: vivek.prasannan@gmail.com Subject: Re: w hangs before loading Message-ID: <20070307212826.GN86959@dan.emsphone.com> In-Reply-To: <A8469B67-20F9-4DAB-A232-4E473089BEC7@mac.com> <45EF2BB0.9000609@hier7.com> References: <f7694a60703071241t2b096b8cw60a5baf94941ec8f@mail.gmail.com> <A8469B67-20F9-4DAB-A232-4E473089BEC7@mac.com> <f7694a60703071241t2b096b8cw60a5baf94941ec8f@mail.gmail.com> <45EF2BB0.9000609@hier7.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger wrote: > On Mar 7, 2007, at 12:41 PM, Vivek Prasannan wrote: > >When I type the command 'w' it holds for a while before printing the > >output. There is no firewall in the system, load average is below > >0.8 and I suspect it is something else. Any thoughts on this. > > The 'w' command attempts to look up the hostnames for any users which > are remotely logged in. > > If you encounter a significant delay, that suggests that reverse DNS > (aka PTR record lookups) is not properly configured or is performing > slowly in your situation. Chris Slothouber wrote: > Check to make sure your /etc/resolv.conf is configured correctly. It > sounds like it could be taking a while to resolve the remote > addresses connected. A good way to verify that this is the problem is to run "w -n", which won't do DNS lookups. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070307212826.GN86959>