Subject: Re: can not clone via git:// anymore

From: Hinko Kocevar <[email-masked]>
Date: Thu, 05 Mar 2009 10:16:54 +0100

Jeff King wrote:
> On Wed, Mar 04, 2009 at 02:28:40PM +0100, Hinko Kocevar wrote:
> 
>> git-daemon was/is running:
>>
>> CETRTAPOT\zidarhw@zidar:~$ ps -ef | grep git
>> root      3207     1  0 14:15 ?        00:00:00 runsvdir -P /etc/service log: d user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?chown: invalid user: `gitlog:adm'?
>> root      3208  3207  0 14:15 ?        00:00:00 runsv git-daemon
>> root      3373  3208  0 14:16 ?        00:00:00 git-daemon --verbose --base-path=/var/cache /var/cache/git
>> 11418     3399  2762  0 14:16 pts/0    00:00:00 grep git
> 
> See all the runsvdir errors? That probably means that git-daemon's log
> output is going nowhere, since the log is not running. Which means
> eventually the pipe from git-daemon to the log will get full, and
> git-daemon will block writing out the log. And then stop dealing with
> requests.
> 
> So even if restarting helps now, it may fill up again unless you fix the
> logging problem (presumably by creating the right "gitlog" user).

I added the 'gitlog' user yesterday too, when I noticed that unusual runsvdir line.

ps output:
CETRTAPOT\zidarhw@zidar:~$ ps -ef | grep git
git       5547     1  0 Mar04 ?        00:00:00 /usr/bin/git-daemon --reuseaddr --verbose --detach --base-path=/home/git/repositories/ --export-all

Thank you!

-- 
Hinko Kočevar, OSS developer
ČETRTA POT, d.o.o.
Planina 3, 4000 Kranj, SI EU
tel     ++386 (0) 4 280 66 03
e-mail  [email-masked]
http    www.cetrtapot.si