Re: [nslu2-general] Re: When using chown -R process falls over on large directories
- On my SluOS/BE I've added the following lines to /etc/sysctl.conf:
# allow more that 50% of physical RAM in swap
It did the trick :)
see also http://tech.groups.yahoo.com/group/nslu2-linux/message/14814
Hope this helps,
On 11/19/06, Kurt Pruenner <leak_usenet@...> wrote:
> boardwize wrote:
> > It seems the problem is I'm running out of memory - I've just noticed
> > this in my logs:
> > <43>Nov 18 12:08:21 klogd: Out of Memory: Killed process 1392 (chown).
> Do an
> echo 2 > /proc/sys/vm/overcommit_memory
> echo 80 > /proc/sys/vm/overcommit_ratio
> as root. That'll make the oom killer only kill processes if swap is full
> and more than 80% of non-swap memory would be used.
> By default, the oom killer will kill any process using more than
> overcommit_ratio percent of physical memory, which makes swap almost
> unusable - at least if you want processes to use more than what physical
> memory is available.
> (You might want to throw the above into an init-script to do it on every
> Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> .......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
> np: Underworld - Rowla (Second Toughest In The Infants (Disc 1))