Author |
Message |
bigpup

Joined: 11 Oct 2009 Posts: 12969 Location: S.C. USA
|
Posted: Mon 21 Jan 2019, 03:18 Post subject:
|
|
Are you sure you actually have a swap file?
Sure you are not talking about the xenialpup64save being made 4GB?
That is not a swap file. Something totally different.
A true swap file.
The file should be named swapfile.
It should be located in /mnt/home/
If it is there as swapfile for the name.
The swapfile manager will just replace it with whatever you make it in swapfile manager.
It makes a swap file named swapfile.
It overwrites the old swapfile with the new one.
So, that changes the size.
If the original swap file is named something other than swapfile.
You will end up with two swap files.
If you only want one swap file.
In the Swapfile Manager turn off swap.
In a file manager (Rox)
Delete the old swap file, so you only have the new one.
In Swapfile Manager turn swap back on.
Done.
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
d_vineet

Joined: 06 Aug 2018 Posts: 116 Location: Bharat
|
Posted: Mon 21 Jan 2019, 03:34 Post subject:
|
|
Sure I am talking about swapfile (while doing frugal install initially, I was asked reg swap file by the installer; I had specified size for that; don't exactly remember size 4 or 2 GiB).
Now I can see 2 related files in /mnt/home/
1) pupswap.swp (4GiB),
2) swapfile (w/o any file extension) (2GiB).
As you had mentioned, "swapfile" must have been created by the puppy installer initially.
But from where came the pupswap.swp, I don't know.
Should I delete both of these files and create a fresh one by using swapfile manager?
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 12969 Location: S.C. USA
|
Posted: Mon 21 Jan 2019, 03:58 Post subject:
|
|
pupswap.swp probably was made by the installer you used.
What installer did you use?
Quote: | Should I delete both of these files and create a fresh one by using swapfile manager? |
You could do that or just delete the pupswap.swp.
Probably will need to turn swap off in Swapfile Manger to be able to delete.
Whatever you do in the Swapfile Manager will just overwrite the one named swapfile.
Just remember in Swapfile Manager to turn swap back on when you get done.
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
d_vineet

Joined: 06 Aug 2018 Posts: 116 Location: Bharat
|
Posted: Mon 21 Jan 2019, 04:17 Post subject:
|
|
bigpup wrote: | pupswap.swp probably was made by the installer you used.
What installer did you use?
| While shutting down puppy for 1st time, it asked me whether to save, then I followed the instructions, did frugal install. So not sure reg the name of installer.
Quote: |
Quote: | Should I delete both of these files and create a fresh one by using swapfile manager? |
You could do that or just delete the pupswap.swp.
Probably will need to turn swap off in Swapfile Manger to be able to delete.
Whatever you do in the Swapfile Manager will just overwrite the one named swapfile.
Just remember in Swapfile Manager to turn swap back on when you get done. | OK. thanks.
|
Back to top
|
|
 |
d_vineet

Joined: 06 Aug 2018 Posts: 116 Location: Bharat
|
Posted: Mon 21 Jan 2019, 05:42 Post subject:
|
|
Firsly did "swap off".
Then tried to delete file /mnt/home/pupswap.swp using ROX-Filer by rgt-clk.
1) message "ERROR: Operation not permitted".
2) After a few seconds, OS halted with a message flash of "RAM remaining is 0. Pl. consider reboot...".
I then made "swap on". OS again working OK.
It's maybe that we are not supposed to delete pupswap file?
However, I can delete swapfile from ROX-Filer w/o any error, but it doesn't appear in trash. Then re-created another one by using "swapfile - Manager".
EDIT:-
Upon inspecting with "htop", swap is shown to be 6143GiB.
Means addition of pupswap.swp(4GiB) + swapfile(2GiB)
Screenshot is attached.
Can't understand this puzzle!
Description |
|

Download |
Filename |
htop_screenshot.png |
Filesize |
186.15 KB |
Downloaded |
189 Time(s) |
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 12969 Location: S.C. USA
|
Posted: Mon 21 Jan 2019, 11:24 Post subject:
|
|
When you delete something in Rox it is deleted, gone.
To put something in trash. You have to drag and drop it into the trash desktop icon.
Some Puppies have trash in the Rox right click menu.
Htop shows you have 4GB of memory.
Is that correct??
Turning off swap should have no affect with that much memory.
It also shows using swap and only using 297mb of ram.
That is strange.
Swap should not even be used with that much ram.
Not sure what that indicates.
Quote: | Then tried to delete file /mnt/home/pupswap.swp using ROX-Filer by rgt-clk.
1) message "ERROR: Operation not permitted". |
This file seems to be setup to not let it easily be deleted.
There is a command you can use in a terminal to delete.
But before I tell you.
From what you say happened when swap was turned off, maybe you should just keep pupswap.swp
I would post about this issue on the Xenialpup64 7.5 topic so the developer of Xenialpup can see it.
http://www.murga-linux.com/puppy/viewtopic.php?t=107331
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
d_vineet

Joined: 06 Aug 2018 Posts: 116 Location: Bharat
|
Posted: Mon 21 Jan 2019, 23:30 Post subject:
|
|
Not able to see this post in that thread. Maybe the url is incorrect?
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 12969 Location: S.C. USA
|
Posted: Tue 22 Jan 2019, 01:59 Post subject:
|
|
No.
I am saying that is the topic for Xenialpup64 7.5
You need to post in it about your problem with this pupswap.swp
Does your computer have 4 GB of memory??
_________________ The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
|
Back to top
|
|
 |
d_vineet

Joined: 06 Aug 2018 Posts: 116 Location: Bharat
|
Posted: Tue 22 Jan 2019, 04:09 Post subject:
|
|
bigpup wrote: | No.
I am saying that is the topic for Xenialpup64 7.5
You need to post in it about your problem with this pupswap.swp
| Got that. I will post it there. Thanks.
Quote: | Does your computer have 4 GB of memory?? | Yes. My laptop has 4GB memory (physical RAM)
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3506 Location: wales
|
Posted: Wed 13 Feb 2019, 07:49 Post subject:
|
|
hi d_vineet,
you can check the location and info on swaps using this command
the output of this for me is Code: | Filename Type Size Used Priority
/initrd/mnt/dev_save/pupswap.swp file 8388604 0 -2
|
to turn the swap off (note that you can only turn off a swap that isn't being actively used)
Code: | swapoff /initrd/mnt/dev_save/pupswap.swp |
once the swap is off you can can safely delete it with the file manager (if it's a swapfile)
then create a new swap file of your desired size
_________________ Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
|