Displaying 1 result from an estimated 1 matches for "_pthread_waitlock".
2001 Jan 23
5
sshd hanging after multiple successive logons
...s and
does not accept any more connections. I have reproduced the problem using
a simple shell script on my local machine:
while sleep 1
do
ssh me at localhost whoami
done
This iterates about 4000 times before sshd hangs. I can see that sshd is
waiting in _pthread_waitlock when it has hung. It actually decreases the
CPU time when in this state. I can conenct to the daemon on port 22 but
it does not present the version string.
I realise that 4000 connections is not bad, but at five minute intervals
over 100 machines this is happening every couple of days.
I am run...