NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Slow sshd on NetBSD 3.1?



On Fri, May 9, 2008 at 1:53 PM, Christopher W. Richardson
<cwr%nexthop.com@localhost> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> matthew sporleder <msporleder%gmail.com@localhost> writes:
>
>> On Fri, May 9, 2008 at 12:43 PM, Christopher W. Richardson
>> <cwr%nexthop.com@localhost> wrote:
>>>
>>> I recently upgraded my gateway machine from 2.1 to
>>> 3.1.1_PATCH.  ... but on boot-up, sshd takes a long time to
>>> start working (>5 minutes and >11 minutes on the two reboots
>>> I've done so far).
>>>
>>
>> Is it just on boot, or does /etc/rc.d/sshd take a long time
>> after it's already up and running?
>
> Just on boot:
> May  8 22:59:58 ns shutdown: reboot by cwr:
> May  8 23:10:30 ns sshd[538]: Server listening on :: port 22.
> May  8 23:10:30 ns sshd[538]: Server listening on 0.0.0.0 port 22.
>
> May  9 10:54:16 ns sshd[538]: Received signal 15; terminating.
> May  9 10:54:18 ns sshd[20238]: Server listening on :: port 22.
> May  9 10:54:18 ns sshd[20238]: Server listening on 0.0.0.0 port 22.
>
> Eleven minutes vs. 2 seconds.  And it's not that the machine is
> taking 11 minutes to boot, because I can ping and route through
> it in under a minute.
>


My first guess would be to check if it's regenerating your keys.
Otherwise, you might want to try adding -x to some init scripts.

Also- does anything else happen in that timeframe?


Home | Main Index | Thread Index | Old Index