Messages in this thread | | | Date | Thu, 7 Oct 2004 13:53:16 -0300 | From | Marcelo Tosatti <> | Subject | Re: [2.4] 0-order allocation failed |
| |
On Thu, Oct 07, 2004 at 08:43:39PM +0200, Gabor Z. Papp wrote: > * Marcelo Tosatti <marcelo.tosatti@cyclades.com>: > > | > There is really no way to run 2.4 without swap? > | > | Nope. Any kernel can't. The thing is the system overcommits > | memory (it allows applications to allocate more memory than the system > | is able to handle). > > Okay, then whats the required minimum swap size that needed to avoid > such crashes? > > In the case when the system is in the ram, quite funny to allocate a > swap file on the ramdisk anyway...
It depends on how much memory you have an idea of the workload you have is going to use.
How much memory do you have? Try 128MB for a test.
Also investigate swap-over-nfs/swap-over-nbd.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |