Re: open files limit

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

 



On Fri, Aug 12, 2011 at 08:15, Pete Wyckoff <pw@xxxxxxxx> wrote:
> 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?

What version of Git? I remember fixing this already.... :-)

-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]