Loading ...
Sorry, an error occurred while loading the content.
 

Re: [nslu2-general] Re: When using chown -R process falls over on large directories

Expand Messages
  • Ovidiu Sas
    On my SluOS/BE I ve added the following lines to /etc/sysctl.conf: # linux/Documentation/vm/overcommit-accounting # allow more that 50% of physical RAM in swap
    Message 1 of 5 , Nov 20 6:13 AM
      On my SluOS/BE I've added the following lines to /etc/sysctl.conf:

      # linux/Documentation/vm/overcommit-accounting
      # allow more that 50% of physical RAM in swap
      vm/overcommit_memory=1



      It did the trick :)

      see also http://tech.groups.yahoo.com/group/nslu2-linux/message/14814


      Hope this helps,
      Ovidiu Sas

      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
      > boot...)
      >
      > --
      > 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))
    Your message has been successfully submitted and would be delivered to recipients shortly.