Re: [PATCH] git-daemon: fix for rotating logs
- From
Stephen R. van den Berg <srb@cuci.nl>
- Date
- Apr 28, 2008, 23:16 UTC
- Message-ID
- <20080428231628.GD22815@cuci.nl>
- In-Reply-To
- <alpine.DEB.1.00.0804282222150.19187@eeepc-johanness>
Johannes Schindelin wrote:
>On Mon, 28 Apr 2008, Stephen R. van den Berg wrote: >> >I can do better than that. I attached to the process, and like I said, it >> >hung in close().
>> On which descriptor? (I.e. what does the descriptor point to?)
>Sorry, that I don't remember, but I strongly suspect the syslog >descriptor, since the backtrace showed "syslog()" a few levels up of >close().
AFAICT, sending SIGHUP to syslogd doesn't cause the /dev/log pipe to be closed, therefore there shouldn't be any closing of that /dev/log pipe. So if you can reproduce it, please report which filedescriptor it is trying to close.
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg.