<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
I ran gparted and the Ubuntu disk utility as well as fdisk, sfdisk,
cfdisk and there is no swap partition that I can find. There are
tens if not more files listed w/ fdisk and the following is running
<font face="Courier New, Courier, monospace">lsblk </font>There are
obviously significant changes in 20.04 that are pretty much
incomprehensible to me!<br>
<font face="Courier New, Courier, monospace"></font>
<p><font face="Courier New, Courier, monospace">$ lsblk<br>
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT<br>
loop0 7:0 0 161.4M 1 loop /snap/gnome-3-28-1804/128<br>
loop1 7:1 0 105.2M 1 loop /snap/audacity/648<br>
loop2 7:2 0 154.3M 1 loop /snap/chromium/1143<br>
loop3 7:3 0 156.2M 1 loop /snap/chromium/1165<br>
loop4 7:4 0 97M 1 loop /snap/core/9289<br>
loop5 7:5 0 93.9M 1 loop /snap/core/9066<br>
loop6 7:6 0 55M 1 loop /snap/core18/1705<br>
loop7 7:7 0 289.8M 1 loop
/snap/kde-frameworks-5-qt-5-14-core18/3<br>
loop8 7:8 0 55M 1 loop /snap/core18/1754<br>
loop9 7:9 0 140.7M 1 loop /snap/gnome-3-26-1604/100<br>
loop11 7:11 0 49.8M 1 loop /snap/snap-store/454<br>
loop12 7:12 0 255.6M 1 loop /snap/gnome-3-34-1804/33<br>
loop13 7:13 0 107M 1 loop /snap/gnucash-jz/43<br>
loop14 7:14 0 255.6M 1 loop /snap/gnome-3-34-1804/36<br>
loop15 7:15 0 54.8M 1 loop /snap/gtk-common-themes/1502<br>
loop16 7:16 0 181.1M 1 loop /snap/spotify/36<br>
loop17 7:17 0 141.8M 1 loop /snap/inkscape/7601<br>
loop18 7:18 0 62.1M 1 loop /snap/gtk-common-themes/1506<br>
loop19 7:19 0 140.7M 1 loop /snap/gnome-3-26-1604/98<br>
loop20 7:20 0 260.7M 1 loop
/snap/kde-frameworks-5-core18/32<br>
loop21 7:21 0 160.2M 1 loop /snap/gnome-3-28-1804/116<br>
loop22 7:22 0 87.8M 1 loop /snap/kdenlive/23<br>
loop23 7:23 0 132K 1 loop /snap/gtk2-common-themes/9<br>
loop24 7:24 0 141.8M 1 loop /snap/inkscape/7627<br>
loop25 7:25 0 132K 1 loop /snap/gtk2-common-themes/5<br>
loop26 7:26 0 291M 1 loop /snap/vlc/1620<br>
loop27 7:27 0 163.7M 1 loop /snap/spotify/41<br>
loop28 7:28 0 2.2M 1 loop /snap/gnome-system-monitor/148<br>
loop29 7:29 0 290.6M 1 loop
/snap/kde-frameworks-5-qt-5-14-core18/4<br>
loop30 7:30 0 2.2M 1 loop /snap/gnome-system-monitor/145<br>
loop31 7:31 0 202.9M 1 loop /snap/vlc/1397<br>
loop32 7:32 0 87.8M 1 loop /snap/kdenlive/24<br>
loop33 7:33 0 113.4M 1 loop /snap/audacity/666<br>
sda 8:0 0 238.5G 0 disk <br>
├─sda1 8:1 0 512M 0 part /boot/efi<br>
└─sda2 8:2 0 238G 0 part /</font></p>
<p>However I get this when I run the following so Swap is not a
partition, right? What is it now? A file as you noted?<br>
</p>
<p><font face="Courier New, Courier, monospace">$ grep SwapTotal
/proc/meminfo<br>
SwapTotal: 2097148 kB</font></p>
<p>Thanks so much Ted and I hope that you are doing as well as you
can be.</p>
<p>Brian<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 6/6/20 4:19 PM, Ted Pomeroy wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM7Qav8QHR4CE9Xu7ww9rzCd0J=cs_RuJp5TSmg1hi8XF26Pxw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default" style="font-size:large">Brian, Very
interesting. Is your swap a file or a partition? I just read
an article <a
href="https://bogdancornianu.com/change-swap-size-in-ubuntu/"
moz-do-not-send="true">https://bogdancornianu.com/change-swap-size-in-ubuntu/</a>
which sounds like what you describe for making swap bigger. It
notes that Ubuntu changed the protocol of swap from a
partition to a file. I am using Xubuntu 18.04 and the install
here is a swap partition. As shown here from my lsblk:</div>
<div class="gmail_default" style="font-size:large">sda 8:0
0 298.1G 0 disk <br>
├─sda1 8:1 0 199M 0 part <br>
├─sda2 8:2 0 165.4G 0 part <br>
├─sda3 8:3 0 1K 0 part <br>
├─sda4 8:4 0 103.3M 0 part <br>
├─sda5 8:5 0 125G 0 part /<br>
└─sda6 8:6 0 7.5G 0 part [SWAP]<br>
sr0 11:0 1 1024M 0 rom <br>
</div>
<div class="gmail_default" style="font-size:large">So, be
careful and check first. I might suggest you ascertain the
nature of your system before trying to use the directions you
quoted. <br>
</div>
<div class="gmail_default" style="font-size:large">Thank you,
Ted P.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jun 6, 2020 at 3:35 PM
Ted Pomeroy <<a href="mailto:ted.pome@gmail.com"
moz-do-not-send="true">ted.pome@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_default" style="font-size:large">Brian, A
quick look at it seems that it is correct. Swap is a
partition, it has to be unmounted to be re-sized, hence
the 'swapoff' command. The 'dd' to resize it is an
interesting approach, rather than using parted or gparted.
If you have used all of the physical drive to install, it
might feel clearer to use gparted to enlarge /swap and see
which other partition is giving up some room. Check to see
if the sample directions were installed to hardware like
yours or was it a virtual install? I will have to take a
look at the discussion on the Internet. Thank you, Ted P.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jun 6, 2020 at
2:21 PM Brian O'Keefe <<a
href="mailto:okeefe@cybermesa.com" target="_blank"
moz-do-not-send="true">okeefe@cybermesa.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi All,</p>
<p>My Asus laptop has been freezing up for no reason
that I could think of. I found out my swap partition
is 2GB and this person solved it by increasing the
swap partition to 16GB. I'm reluctant to start messing
with partitions, though I have at times, w/o one of
you brainiacs look at the procedure. If anyone can
look this over I'd appreciate it but no obligations. <br>
</p>
<p>Stay safe!</p>
<p>Brian</p>
<div style="margin:0px;padding:0px 16px 0px
0px;border:0px
none;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-weight:400;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica
Neue",Helvetica,sans-serif;font-size:13px;vertical-align:top;box-sizing:inherit;width:auto;color:rgb(36,39,41);letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">
<div style="padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;display:flex">
<div style="margin:2px;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:1.61538rem;vertical-align:baseline;box-sizing:inherit;display:flex">0</div>
<button title="This answer is not useful"
style="margin:2px;box-sizing:inherit;font:unset;display:inline-block;padding:0px;border:medium
none;border-radius:0px;background:rgba(0,0,0,0)
none repeat scroll 0% 0%;outline:currentcolor none
medium;text-align:center;text-decoration:none;color:unset"></button></div>
</div>
<div style="margin:0px;padding:0px 16px 0px
0px;border:0px
none;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-weight:400;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica
Neue",Helvetica,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;min-width:0px;color:rgb(36,39,41);letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">
<div>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">yes
Ubuntu 20.04 hangs freeze although I have 8 GB of
Ram and i7</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">I
could temporary fix this issue in my side, by
expanding swap partition from 2 GB to 16 GB</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">I
am not sure but I think there is problem in Ubuntu
20.04 memory management, here in my side it keep
consuming memory, then when both memory and swap
are full, the computer start to freeze and hang</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">the
solution steps are:</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">1-
check the amount of swap you have</p>
<pre style="margin:0px 0px 1em;padding:12px 8px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;border-radius:3px"><code style="margin:0px;padding:0px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">grep SwapTotal /proc/meminfo
</code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">2-turn
off the swap process</p>
<pre style="margin:0px 0px 1em;padding:12px 8px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;border-radius:3px"><code style="margin:0px;padding:0px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">sudo swapoff -a
</code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">3-resize
the swap(in my case i expand it to 16 gb)</p>
<pre style="margin:0px 0px 1em;padding:12px 8px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;border-radius:3px"><code style="margin:0px;padding:0px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">sudo dd if=/dev/zero of=/swapfile bs=1G count=16
</code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">4-
attach the swap to partition</p>
<pre style="margin:0px 0px 1em;padding:12px 8px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;border-radius:3px"><code style="margin:0px;padding:0px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">sudo mkswap /swapfile
</code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">5-
activate swap(enable it)</p>
<pre style="margin:0px 0px 1em;padding:12px 8px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;border-radius:3px"><code style="margin:0px;padding:0px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">sudo swapon /swapfile
</code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">6-
see the new swap size</p>
<pre style="margin:0px 0px 1em;padding:12px 8px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;border-radius:3px"><code style="margin:0px;padding:0px;border:0px none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:transparent;white-space:inherit">grep SwapTotal /proc/meminfo
</code></pre>
<p style="margin:0px 0px 1em;padding:0px;border:0px
none;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both">done</p>
</div>
</div>
<div>-- <br>
<img src="cid:part4.5512CA7D.317A5514@cybermesa.com"
class="" border="0"></div>
</div>
_______________________________________________<br>
nmglug mailing list<br>
<a href="mailto:nmglug@lists.nmglug.org" target="_blank"
moz-do-not-send="true">nmglug@lists.nmglug.org</a><br>
<a
href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
</blockquote>
<div class="moz-signature">-- <br>
<img src="cid:part4.5512CA7D.317A5514@cybermesa.com" border="0"></div>
</body>
</html>