long time in setup?
Michael Tautschnig
michael.tautschnig at zt-consulting.com
Thu May 26 22:44:58 CEST 2005
> I've got a host that spends a lot of time in task_setup:
>
> 05-05-26:10:14:58 zweistein check
> 05-05-26:10:14:58 zweistein TASKEND confdir 0
> 05-05-26:10:14:58 zweistein TASKBEGIN setup
> 05-05-26:10:18:09 zweistein TASKEND setup 0
> 05-05-26:10:18:09 zweistein TASKBEGIN defclass
> 05-05-26:10:18:31 zweistein TASKEND defclass 0
>
> Note that it takes more than 3 minutes to return from setup
>
> Another one (*almost* same hardware) takes only seconds:
>
> 05-05-25:14:46:14 deimos check
> 05-05-25:14:46:14 deimos TASKEND confdir 0
> 05-05-25:14:46:14 deimos TASKBEGIN setup
> 05-05-25:14:46:14 deimos TASKEND setup 0
> 05-05-25:14:46:14 deimos TASKBEGIN defclass
> 05-05-25:14:46:22 deimos TASKEND defclass 0
>
IMHO the only things in this tasks, that could suffer from timeouts are those
two lines:
[ "$TIMESRVS_1" ] && rdate $TIMESRVS_1
[ "$NTPSRVS_1" ] && ntpdate -b -v $NTPSRVS
BTW: @Thomas: I never looked at those lines before, is the missing "_1" intended?
The only other thing is, that sshd is started, if you set that option -- but
that shouldn't take to much time, I suppose the above lines will more likely
cause trouble ...
Michael
More information about the linux-fai
mailing list