Re: w hangs before loading

2007-03-08 Thread Dan Nelson
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]


Re: w hangs before loading

2007-03-07 Thread Chris Slothouber
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.


Vivek Prasannan wrote:

Hi,

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.

-Vivek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: w hangs before loading

2007-03-07 Thread Chuck Swiger

On Mar 7, 2007, at 12:41 PM, Vivek Prasannan wrote:
[ ...cross-posting between freebsd-questions and other FreeBSD lists
 is generally not encouraged; Reply-To: set... ]

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.


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]