git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* open files limit
@ 2011-08-12 15:15 Pete Wyckoff
  2011-08-12 16:09 ` Shawn Pearce
  0 siblings, 1 reply; 4+ messages in thread
From: Pete Wyckoff @ 2011-08-12 15:15 UTC (permalink / raw)
  To: git

Somebody at $work found this problem:

    $ git ls-files -s | wc
    error: packfile .git/objects/pack/pack-1627e77da82bbb36118762649c8aa88c05664b1e.pack cannot be accessed
    [..lots more similar errors..]

Turns out his shell's open file descriptor limit was 500.  And
there are 1600 pack files in the repo.

Increasing the descriptor limit to 1024 fixed it.  I could
probably get him to repack, which may also fix it.

Does it seem feasible to look for EMFILE errors and close
some packs?  Or at least spit out a more intuitive error?

		-- Pete

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

end of thread, other threads:[~2011-08-13 20:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12 15:15 open files limit Pete Wyckoff
2011-08-12 16:09 ` Shawn Pearce
2011-08-12 17:26   ` Pete Wyckoff
2011-08-13 20:25     ` [RFC PATCH] test showing EMFILE error with too many packs Pete Wyckoff

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).