Changes between Version 5 and Version 6 of MaintenanceGuidelinesTips
- Timestamp:
- 09/10/10 23:25:32 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MaintenanceGuidelinesTips
v5 v6 72 72 If you have a live system which you need to give extra swapspace too without a reboot, then can add a swapfile. 73 73 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. 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. The right way to fix an OOM issue is to fix the leaky program. 75 75 76 76 Create file: … … 80 80 Format it: 81 81 {{{ 82 mkswap /swapfile -p 1638482 mkswap /swapfile 83 83 }}} 84 84 Tell the kernel to use it at an lower priority (i.e. only use when swap parition is full): 85 85 {{{ 86 swapon -p 16384/swapfile86 swapon -p -2 /swapfile 87 87 }}} 88 88 … … 90 90 ---- 91 91 MaintenanceGuidelines 92 MaintenanceGuidelines