Re: Taming CVS (was: Unidentified subject!)

> # System tuning: to prevent CVS from crashing the system:
> echo 32768 > /proc/sys/kernel/file-max

I think this one is really obvious...

> echo "512 1024 2048" > /proc/sys/vm/freepages

The 3 numbers are, in order:
   - when the number of free mem pages (4k if you are on Intel) reaches
this limit, no process can allocate more memory, except for the kernel
   - this limit causes the kernel to start swapping aggresively
   - this triggers the background swapping

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