w hangs before loading
Dan Nelson
dnelson at allantgroup.com
Thu Mar 8 09:28:39 UTC 2007
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 at allantgroup.com
More information about the freebsd-questions
mailing list