Swapfile

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Swapfile

Linux mailing list
I just notices that the root partition on my slug (slugos/Be v3.1 I think)  
contains a huge swapfile of 33MB, apparently created on the date when  
'turnup' was run.

Is this of any use, and is it safe to delete it?

--
Charles H. Lindsey ---------At Home, doing my own  
thing------------------------
Tel: +44 161 436 6131                         Web:  
http://www.cs.man.ac.uk/~chl
Email: [hidden email]      Snail: 5  SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4  
AB A5
Reply | Threaded
Open this post in threaded view
|

Re: Swapfile

Linux mailing list
Only your load can tell.
Run the command   vmstat <delay> <count> | tee /tmp/vmstat.txt    where <delay> is the seconds    and <count> is number of counts
Check the output to see if swap is in active use. If yes, I suggest you purchase a raspberry pi $35. If not, you can remove it. Please Google 'how to remove swap in linux'

Cheng Feng


      From: "'Charles Lindsey' [hidden email] [nslu2-linux]" <[hidden email]>
 To: [hidden email]
 Sent: Friday, April 21, 2017 10:04 AM
 Subject: [nslu2-linux] Swapfile
   
    I just notices that the root partition on my slug (slugos/Be v3.1 I think)
contains a huge swapfile of 33MB, apparently created on the date when
'turnup' was run.

Is this of any use, and is it safe to delete it?

--
Charles H. Lindsey ---------At Home, doing my own
thing------------------------
Tel: +44 161 436 6131 Web:
http://www.cs.man.ac.uk/~chl
Email: [hidden email] Snail: 5 SK8 3JU, U.K.
PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4
AB A5
  #yiv3613232066 #yiv3613232066 -- #yiv3613232066ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv3613232066 #yiv3613232066ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv3613232066 #yiv3613232066ygrp-mkp #yiv3613232066hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv3613232066 #yiv3613232066ygrp-mkp #yiv3613232066ads {margin-bottom:10px;}#yiv3613232066 #yiv3613232066ygrp-mkp .yiv3613232066ad {padding:0 0;}#yiv3613232066 #yiv3613232066ygrp-mkp .yiv3613232066ad p {margin:0;}#yiv3613232066 #yiv3613232066ygrp-mkp .yiv3613232066ad a {color:#0000ff;text-decoration:none;}#yiv3613232066 #yiv3613232066ygrp-sponsor #yiv3613232066ygrp-lc {font-family:Arial;}#yiv3613232066 #yiv3613232066ygrp-sponsor #yiv3613232066ygrp-lc #yiv3613232066hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv3613232066 #yiv3613232066ygrp-sponsor #yiv3613232066ygrp-lc .yiv3613232066ad {margin-bottom:10px;padding:0 0;}#yiv3613232066 #yiv3613232066actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv3613232066 #yiv3613232066activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv3613232066 #yiv3613232066activity span {font-weight:700;}#yiv3613232066 #yiv3613232066activity span:first-child {text-transform:uppercase;}#yiv3613232066 #yiv3613232066activity span a {color:#5085b6;text-decoration:none;}#yiv3613232066 #yiv3613232066activity span span {color:#ff7900;}#yiv3613232066 #yiv3613232066activity span .yiv3613232066underline {text-decoration:underline;}#yiv3613232066 .yiv3613232066attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv3613232066 .yiv3613232066attach div a {text-decoration:none;}#yiv3613232066 .yiv3613232066attach img {border:none;padding-right:5px;}#yiv3613232066 .yiv3613232066attach label {display:block;margin-bottom:5px;}#yiv3613232066 .yiv3613232066attach label a {text-decoration:none;}#yiv3613232066 blockquote {margin:0 0 0 4px;}#yiv3613232066 .yiv3613232066bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv3613232066 .yiv3613232066bold a {text-decoration:none;}#yiv3613232066 dd.yiv3613232066last p a {font-family:Verdana;font-weight:700;}#yiv3613232066 dd.yiv3613232066last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv3613232066 dd.yiv3613232066last p span.yiv3613232066yshortcuts {margin-right:0;}#yiv3613232066 div.yiv3613232066attach-table div div a {text-decoration:none;}#yiv3613232066 div.yiv3613232066attach-table {width:400px;}#yiv3613232066 div.yiv3613232066file-title a, #yiv3613232066 div.yiv3613232066file-title a:active, #yiv3613232066 div.yiv3613232066file-title a:hover, #yiv3613232066 div.yiv3613232066file-title a:visited {text-decoration:none;}#yiv3613232066 div.yiv3613232066photo-title a, #yiv3613232066 div.yiv3613232066photo-title a:active, #yiv3613232066 div.yiv3613232066photo-title a:hover, #yiv3613232066 div.yiv3613232066photo-title a:visited {text-decoration:none;}#yiv3613232066 div#yiv3613232066ygrp-mlmsg #yiv3613232066ygrp-msg p a span.yiv3613232066yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv3613232066 .yiv3613232066green {color:#628c2a;}#yiv3613232066 .yiv3613232066MsoNormal {margin:0 0 0 0;}#yiv3613232066 o {font-size:0;}#yiv3613232066 #yiv3613232066photos div {float:left;width:72px;}#yiv3613232066 #yiv3613232066photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv3613232066 #yiv3613232066photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv3613232066 #yiv3613232066reco-category {font-size:77%;}#yiv3613232066 #yiv3613232066reco-desc {font-size:77%;}#yiv3613232066 .yiv3613232066replbq {margin:4px;}#yiv3613232066 #yiv3613232066ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv3613232066 #yiv3613232066ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv3613232066 #yiv3613232066ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv3613232066 #yiv3613232066ygrp-mlmsg select, #yiv3613232066 input, #yiv3613232066 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv3613232066 #yiv3613232066ygrp-mlmsg pre, #yiv3613232066 code {font:115% monospace;}#yiv3613232066 #yiv3613232066ygrp-mlmsg * {line-height:1.22em;}#yiv3613232066 #yiv3613232066ygrp-mlmsg #yiv3613232066logo {padding-bottom:10px;}#yiv3613232066 #yiv3613232066ygrp-msg p a {font-family:Verdana;}#yiv3613232066 #yiv3613232066ygrp-msg p#yiv3613232066attach-count span {color:#1E66AE;font-weight:700;}#yiv3613232066 #yiv3613232066ygrp-reco #yiv3613232066reco-head {color:#ff7900;font-weight:700;}#yiv3613232066 #yiv3613232066ygrp-reco {margin-bottom:20px;padding:0px;}#yiv3613232066 #yiv3613232066ygrp-sponsor #yiv3613232066ov li a {font-size:130%;text-decoration:none;}#yiv3613232066 #yiv3613232066ygrp-sponsor #yiv3613232066ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv3613232066 #yiv3613232066ygrp-sponsor #yiv3613232066ov ul {margin:0;padding:0 0 0 8px;}#yiv3613232066 #yiv3613232066ygrp-text {font-family:Georgia;}#yiv3613232066 #yiv3613232066ygrp-text p {margin:0 0 1em 0;}#yiv3613232066 #yiv3613232066ygrp-text tt {font-size:120%;}#yiv3613232066 #yiv3613232066ygrp-vital ul li:last-child {border-right:none !important;}#yiv3613232066

   
Reply | Threaded
Open this post in threaded view
|

Re: Swapfile

Linux mailing list
No, I remember now why that swapfile was there. It seems that Linux systems insist that a swap facility be visible, else it will not boot. See http://www.nslu2-linux.org/wiki/SlugOS/InstallandTurnupABasicSlugOSSystem http://www.nslu2-linux.org/wiki/SlugOS/InstallandTurnupABasicSlugOSSystem.

 So that is the simplest way to get one. Don't know why it has to be that size (maybe it has to be more that Real memory). It never get used, so you just arrange for it to be excluded from dumps.