git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Diagnosing stray/stale .keep files -- explore what is in a pack?
@ 2014-01-14 14:54 Martin Langhoff
  2014-01-14 17:10 ` Martin Langhoff
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Langhoff @ 2014-01-14 14:54 UTC (permalink / raw)
  To: Git Mailing List

hi folks,

I have a git server which gets pushes of data (not code) from a couple
hundred VMs every hour. Every round of pushes leaves two stray .keep
files, so I am guessing two clients are having problems completing the
push. The contents being pushed are reports of a puppet run.

Is there a handy way to list the blobs in a pack, so I can feed them
to git-cat-file and see what's in there? I'm sure that'll help me
narrow down on the issue.

Are there other ways to try diagnose this?

Does the server-side record anything if a push fails? There are a
number of problems I am familiar with, and they always require
collaboration from the "client" side to spot and diagnose

 - a ref is not up to date and the server rejects non-ft
 - perms issues over objects or refs
 - ENOSPC
 - ... catchable signals (ETERM?)

AFAIK, I think it doesn't, and maybe it should, even if it's as simple
as trying to spawn a pipe to ""/usr/bin/logger -t git-server" and
attach it to stderr...

This has veered a bit off topic, but I think it's important for large
git server installations.

cheers,


m
-- 
 martin.langhoff@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-21  5:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 14:54 Diagnosing stray/stale .keep files -- explore what is in a pack? Martin Langhoff
2014-01-14 17:10 ` Martin Langhoff
2014-01-14 19:36   ` Martin Fick
2014-01-14 19:42     ` Martin Langhoff
2014-01-15  9:12       ` Jeff King
2014-01-15 13:42         ` Martin Langhoff
2014-01-15 17:49           ` Junio C Hamano
2014-01-15 23:50             ` Martin Langhoff
2014-01-16  1:14               ` Duy Nguyen
2014-01-21  5:19               ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).