|
From: | Greg G |
Subject: | Re: [Help-gnu-radius] Long startup time |
Date: | Mon, 24 Nov 2003 15:06:52 -0500 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
Sergey Poznyakoff wrote:
Greg G <address@hidden> wrote:to process requests" message. truss shows me *nothing* during this time. ps tells me that its' in the 'run' state or taking up 40%+ ofone of my CPUs. What is it doing during this time,It is trying to resolve all the host names it finds in the files raddb/naslist and raddb/config.
That's not likely to take two minutes, since my naslist is the default localhost entry and the config file does't have any. I've discovered that it's trying to build a db from the users file.
I did try that (with both -n and --do-not-resolve) and of course, it didn't matter.and is there possibly a way to shorten it?There are two possible solutions: either (1) set up your DNS so it correctly resolves everything, or (2) start radius with --do-not-resolve option (adding `resolve no;' to the option block of your raddb/config will have the same effect).
-Greg G
[Prev in Thread] | Current Thread | [Next in Thread] |