[sudo-users] sudo very slow
justin at jalcorn.net
Tue Jul 15 15:08:18 EDT 2008
On Tue, Jul 15, 2008 at 2:55 PM, Russell Van Tassell <
russell+sudo-users at loosenut.com <russell%2Bsudo-users at loosenut.com>> wrote:
> On Tue, Jul 15, 2008 at 02:45:23PM -0400, Justin Alcorn wrote:
> > [...]
> > sudo takes a long time. strace sudo su - shows me delays in what looks
> > like trying to send a log entry.
> > [...]
> > As you can see, it took more than a minute. Sometimes it is much
> > Exiting from the sudo shell also is delayed, as is logging on via SSH.
> > I've looked around thinking it's a reverse DNS, but I can do a reverse
> > lookup and get a PTR record.
> > Ideas?
> Try turning off DNS in your sudoers file to see if the problem goes
> away... between that and and "email" setting, that's generally been
> my experiences/observations where the delay happens with sudo...
The only documentation about DNS in the sudoers file is the fqdn directive,
which is off. I can't find anything about email int he documentation for
Justin B. Alcorn
More information about the sudo-users