Changes between Version 5 and Version 6 of MaintenanceGuidelinesTips


Ignore:
Timestamp:
09/10/10 23:25:32 (11 years ago)
Author:
Dan Zubey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MaintenanceGuidelinesTips

    v5 v6  
    7272If you have a live system which you need to give extra swapspace too without a reboot, then can add a swapfile.
    7373
    74 Note that a swapfile is much slower than a swap partition, which is -of course- slower than memory. The reason for this is to save the ship when the boat's going down, not increase preformance.
     74Note that a swapfile is much slower than a swap partition, which is -of course- slower than memory. The reason for this is to save the ship when the boat's going down, not increase preformance. The right way to fix an OOM issue is to fix the leaky program.
    7575
    7676Create file:
     
    8080Format it:
    8181{{{
    82 mkswap /swapfile -p 16384
     82mkswap /swapfile
    8383}}}
    8484Tell the kernel to use it at an lower priority (i.e. only use when swap parition is full):
    8585{{{
    86 swapon -p 16384 /swapfile
     86swapon -p -2 /swapfile
    8787}}}
    8888
     
    9090----
    9191MaintenanceGuidelines
     92MaintenanceGuidelines