git-annex/Utility
Joey Hess 919fec85cd better fix for zombie problem, which turns out to be a zombie ssh started by rsync
When rsyncProgress pipes rsync's stdout, this turns out to cause a ssh
process started by rsync to be left behind as a zombie. I don't know why,
but my recent zombie reaping cleanup was correct, it's just that this other
zombie, that's not directly started by git-annex, was no longer reaped
due to changes in the cleanup. Make rsyncProgress reap the zombie started
by rsync, as a workaround.

FWIW, the process tree looks like this. It seems like the rsync child
is for some reason starting but not waiting on this extra ssh process.
Ssh connection caching may be involved -- disabling it seemed to change
the shape of the tree, but did not eliminate the zombie.

 9378 pts/14   S+     0:00  |           \_ rsync -p --progress --inplace -4 -e 'ssh' '-S' ...
 9379 pts/14   S+     0:00  |           |   \_ ssh ...
 9380 pts/14   S+     0:00  |           |   \_ rsync -p --progress --inplace -4 -e 'ssh' '-S' ...
 9381 pts/14   Z+     0:00  |           \_ [ssh] <defunct>
2012-10-17 00:47:52 -04:00
..
Types watch for changes to transfer info files, to update progress bars on upload 2012-09-20 17:24:40 -04:00
Applicative.hs pointlessness 2012-06-29 10:00:05 -04:00
Base64.hs
CoProcess.hs run git coprocesses with gitEnv 2012-09-15 17:43:37 -04:00
CopyFile.hs
Daemon.hs make pid file directory 2012-08-08 14:18:02 -04:00
DataUnits.hs move comment 2012-08-07 11:10:41 -04:00
DBus.hs add NetWatcher thread 2012-08-21 19:58:53 -04:00
Directory.hs cleanup 2012-10-16 16:58:04 -04:00
DirWatcher.hs kqueue bugfix: apply pruner to changed files 2012-09-28 17:31:54 -04:00
DiskFree.hs use safe FFI imports for diskfree 2012-07-20 15:03:58 -04:00
Dot.hs
Exception.hs flip catchDefaultIO 2012-09-17 00:18:07 -04:00
FileMode.hs move sticky bit code into Utility.FileMode 2012-09-25 13:33:13 -04:00
FileSystemEncoding.hs add decodeW8 2012-09-13 19:14:29 -04:00
Format.hs
FreeDesktop.hs flip catchDefaultIO 2012-09-17 00:18:07 -04:00
Gpg.hs avoid partial !! in gpg list-keys parser 2012-10-16 01:43:54 -04:00
HumanTime.hs New --time-limit option, makes long git-annex commands stop after a specified amount of time. 2012-09-25 16:48:24 -04:00
INotify.hs look for sysctl in some common sbin locations when it's not in PATH 2012-10-06 16:16:31 -04:00
JSONStream.hs
Kqueue.hs kqueue bugfix: apply pruner to changed files 2012-09-28 17:31:54 -04:00
libdiskfree.c
libdiskfree.h
libkqueue.c
libkqueue.h
libmounts.c cleanup 2012-07-19 21:20:38 -04:00
libmounts.h now working on OSX 2012-07-19 21:19:29 -04:00
LogFile.hs
Lsof.hs add back debug logging 2012-07-19 00:46:52 -04:00
Matcher.hs avoid duplicate code with a more generic monadic matcher 2012-10-13 15:17:15 -04:00
Misc.hs better fix for zombie problem, which turns out to be a zombie ssh started by rsync 2012-10-17 00:47:52 -04:00
Monad.hs look for sysctl in some common sbin locations when it's not in PATH 2012-10-06 16:16:31 -04:00
Mounts.hsc work toward adding new repos on removable drives 2012-08-04 18:17:16 -04:00
Network.hs add 2012-08-05 14:50:00 -04:00
NotificationBroadcaster.hs add NotificationID to StatusR, and use it to block 2012-07-28 21:21:22 -04:00
OSX.hs make the standalone OSX app automatically install itself when run 2012-09-26 16:50:04 -04:00
Parallel.hs fix push status, broken when inParallel was adapted for -threaded 2012-07-30 11:52:44 -04:00
PartialPrelude.hs
Path.hs better ~/ handling 2012-08-02 07:50:13 -04:00
Percentage.hs
Process.hs Fix a crash when merging files in the git-annex branch that contain invalid utf8. 2012-10-12 12:19:30 -04:00
Rsync.hs better fix for zombie problem, which turns out to be a zombie ssh started by rsync 2012-10-17 00:47:52 -04:00
SafeCommand.hs bring back default SIGINT handler 2012-10-01 23:01:29 -04:00
State.hs
TempFile.hs flip catchDefaultIO 2012-09-17 00:18:07 -04:00
Tense.hs add 2012-08-06 14:48:38 -04:00
ThreadLock.hs
ThreadScheduler.hs add a push retry thread 2012-06-25 16:38:12 -04:00
Touch.hsc
TSet.hs stub syncer thread and commit channel 2012-06-22 14:10:25 -04:00
Url.hs deal with incompatable api change in network 2.4.0.1 2012-10-10 11:26:30 -04:00
Verifiable.hs responding to pair requests *almost* works 2012-09-10 17:53:51 -04:00
WebApp.hs let's not -DOSX, that results in unwanted mangling 2012-09-29 14:49:15 -04:00
Yesod.hs support building with yesod-default 1.1.0 2012-08-09 13:33:04 -04:00