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
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to