Re: pack operation is thrashing my server
- From
- Andi Kleen <andi@firstfloor.org>
- Date
- Aug 11, 2008, 19:10 UTC
- Message-ID
- <87vdy71i6w.fsf@basil.nowhere.org>
- In-Reply-To
- <a6b6acf60808110043t76dc0ae6l428c5da473d79c71@mail.gmail.com>
"Ken Pratt" <ken@kenpratt.net> writes:
> > I'm starting to think repacking is just not feasible on a 64-bit > server with 256MB of RAM (which is a very popular configuration in the > VPS market).
As a quick workaround you could try it with a 32bit git executable? (assuming you have a distribution with proper multilib support)
I think the right fix would be to make git throttle itself (not use mmap, use very small defaults etc.) on low memory systems. It could take a look a /proc/meminfo for this.
-Andi