SirDice said:If you have enough internal memory your swap will hardly get touched. This is good because using swap will slow things down. If you have a lot of paging in/out of your swap you need to consider adding more memory to the machine.
swapinfo(8)
Without giving us any info on the load of that setup (for example: what do you got running in there?) it's impossible to tell. If you only have one service running I wouldn't be surprised here.I don't understand why system aren't using swap partition although it's enabled and in use?
Within context of what's being asked that's a pretty dumb suggestion because it doesn't add any improvements nor does it answer proton's question. I suppose it could add up to the total load which makes their system use swap but I don't think that was the goal of all this.You may want to consider using encrypted swap.
Pretty standard stuff like apache + mariadb + php but as far as I can see from TOP output only 23 mbytes left of 1024 mbytes of physical ram so usually in such cases swap is used. In my case swap is on dedicated partition, contents of /etc/fstab are: /dev/vtbd0p3 none swap sw 0 0Without giving us any info on the load of that setup (for example: what do you got running in there?) it's impossible to tell. If you only have one service running I wouldn't be surprised here.
Do you prefer to create a new thread with a similar name?(edit): and why are we reviving a 9 year old thread?
No, not necessarily. Your internal memory will always be used as much as possible and most of the time it's filled up with all sorts of caches. These cashes are the first to be released when a process requires a bunch of memory. When you start to hit some limits then first a bunch of inactive process will get swapped out, it's going to depend on what you have running how much swap this will use.Pretty standard stuff like apache + mariadb + php but as far as I can see from TOP output only 23 mbytes left of 1024 mbytes of physical ram so usually in such cases swap is used.
Where and how your swap is stored is mostly irrelevant.In my case swap is on dedicated partition
And your value add ... negativeWithout giving us any info on the load of that setup (for example: what do you got running in there?) it's impossible to tell. If you only have one service running I wouldn't be surprised here.
Within context of what's being asked that's a pretty dumb suggestion because it doesn't add any improvements nor does it answer proton's question. I suppose it could add up to the total load which makes their system use swap but I don't think that was the goal of all this.
And for the record: I'm not saying there's no merit within encrypted swap, there can be, but not within the context of the question. It adds plain out 0 advantages which leads me to my previous comment. Not to mention that you failed to explain how to set this up. Making your comment plain out useless, once again within context of course.
(edit): and why are we reviving a 9 year old thread?