I noticed the issue for the first time a week or so ago.
Today: whilst connected via ssh to Mac OS X Server 10.5.3, and actively running a repozo* script at the server, I carelessly quit Terminal (or closed the Terminal window).
I was half-surprised that the Terminal window closed without a prompt while the remote process was running. (Is that normal?)
After making my mistake, I quickly connected via ARD to see whether Python etc. were still busy. AFAIR Activity Monitor at the server showed Python activity peaking for only a short while after my ARD connection.
It was then that I noticed the sshd CPU issue, coinciding with login attempts by
a) admin (the user that ran the repozo script)
b) root (the command was run with sudo).
(OT: a temporary file remained at the repozo destination. This temporary file was cleared when I re-ran the repozo script to completion.)
For as long as this bug exists: as a safeguard against my own carelessness, in
*Terminal preferences | Settings | Shell*
I have
removed
ssh from the list of processes that may be ignored when closing a window.
Thanks to Steffen M. for the
kill -SIGSTOP
tip, very useful.
I'll write to devbugs@apple.com re
rdar://5685756 and
rdar://5713758
Incidentally, Google results for the former also lead to
http://lists.apple.com/archives/Macos-x-server/2008/Mar/thrd6.html#00567
Graham
----
Repozo described at
http://wiki.zope.org/ZODB/FileStorageBackup