[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] xinetd/anonymous-git hosed again? restarte

From: Michael J. Flickinger
Subject: Re: [Savannah-hackers-public] xinetd/anonymous-git hosed again? restarted xinetd and all's well
Date: Thu, 18 Oct 2012 17:44:14 -0400
User-agent: Waffles

On 10/18/12 5:05 AM, Jim Meyering wrote:
I noticed that anonymous git operations were failing (yet again!):

     $ git fetch
     fatal: Could not read from remote repository.

     Please make sure you have the correct access rights
     and the repository exists.
     [Exit 1]

And not just once or twice.  It failed 20+ times over several minutes.

Poking around on, I see the same problem:

     address@hidden telnet localhost git
     Connected to
     Escape character is '^]'.
     Connection closed by foreign host.
     [Exit 1]

I did see xinetd running as well as over 150 git-upload-pack processes:

     address@hidden ps auxww|grep -c git.uplo

Some date back to July(!):

     nobody   11305  0.0  0.0   3136   400 ?        S    Jul27   0:00 git 
upload-pack --strict --timeout=0 .

Solution: restarted xinetd.  (twice, since the first time it failed to restart)

     service xinetd restart

and now all's well.

PS. I've killed all git-upload-pack processes started before October,
so now we're down to 29.

Thanks, I'll write a script to kill the old git processes in the future.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]