The Following User Says Thank You to marmistrz For This Useful Post: | ||
![]() |
2014-09-29
, 17:34
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#262
|
![]() |
2014-09-29
, 18:02
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#263
|
Hmm, I am still not sure how that has happened.
Have you modified your upstart or sysytem-services at all?
Does the file /etc/event.d/relocateswap exist?
![]() |
2014-09-29
, 18:32
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#264
|
ls -la /etc/event.d/relocateswap
![]() |
2014-09-29
, 18:42
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#265
|
Quick reply.....
What are the permissions for relocateswap?
When I get a moment I will remove, purge and reinstall flopswap to make sure I can't reproduce this.Code:ls -la /etc/event.d/relocateswap
If it exists and works then I can only assume it is something else in the boot process.
-rwxr-xr-x 1 root root 1785 Sep 24 09:24 /etc/event.d/relocateswap
![]() |
2014-10-16
, 21:36
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#266
|
could you show a busy indicator while the scripts are running (e.g. swap is being flopped) and, even better, gray out the 4 buttons while flopswap is busy?
The Following 7 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-10-20
, 17:12
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#267
|
The Following User Says Thank You to malfunctioning For This Useful Post: | ||
![]() |
2014-10-20
, 17:37
|
Posts: 2,292 |
Thanked: 4,135 times |
Joined on Apr 2010
@ UK
|
#268
|
When I look in Check Status, I'm getting 7Mb out of 770Mb used. However, the free command reports almost 70Mb of swap space used (a factor of 10 larger).
Is this known?
would it affect when the swap switch takes place, since it is set to kick in at a specific percentage of swap use?
Does the geometry/block size of the swap partition affect these calculations?
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
![]() |
2014-10-20
, 17:54
|
Posts: 805 |
Thanked: 1,605 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#269
|
free is not equal to flopswap's values.
You see flopswap is measuring the fresh (clean) swap that has been written not the amount in use.
To make this clear in an example, when flopswap hits 100% it doesn't mean you have no swap left, it means you have no "fresh" swap left and you may now see the slowing effect of swap fragmentation.
![]() |
2014-10-20
, 18:35
|
Posts: 330 |
Thanked: 556 times |
Joined on Oct 2012
|
#270
|
free is not equal to flopswap's values.
You see flopswap is measuring the fresh (clean) swap that has been written not the amount in use.
To make this clear in an example, when flopswap hits 100% it doesn't mean you have no swap left, it means you have no "fresh" swap left and you may now see the slowing effect of swap fragmentation.
The Following User Says Thank You to malfunctioning For This Useful Post: | ||
I agree that the banner about finishing is useful, but a banner can be easily missed when it comes to e.g. checking current write.
If you want to support my work, you can donate by PayPal or Flattr
Projects no longer actively developed: here
Last edited by marmistrz; 2014-09-28 at 10:37.