bad pidfile handling on ENOSPC
The Tor daemon was reported two years ago, as Debian bug #514616, to behave quite badly when it does not manage to write its pidfile because of a full filesystem.
Some discussion between the bug reporter and Peter happened there and is probably a good starting point to fix this bug.