why is swap on the server being used up
- AlexO
- Verified Member

- Posts: 6408
- Joined: February 10th, 2018, 5:37 pm
- Title: I like Celebrities
why is swap on the server being used up
I'm trying to understand my server , if the memory is only 34% used why is the server using 8% swap?
I thought when the memory was full the server goes onto to use swap, or am I mistaken?
I thought when the memory was full the server goes onto to use swap, or am I mistaken?
Give me celebrity porn 
- jag
- Verified Member

- Posts: 6543
- Joined: February 15th, 2018, 9:51 am
- Title: From Malta with love
- Referrals: 1
what is the server load at that time?
From Malta with love and sunshine
-
pornmafia
- Verified Member

- Posts: 1305
- Joined: March 4th, 2018, 12:14 pm
It is quite normal for your server top to show 'swap' in use nothing there to worry over.
-
Franksdomains
- Verified Member

- Posts: 530
- Joined: March 11th, 2018, 6:36 pm
that is how it is
- TheButcher
- Administrator

- Posts: 17531
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
Those numbers are very acceptable you have nothing to worry about
-
Dallastim
- Verified Member

- Posts: 352
- Joined: April 18th, 2018, 3:04 pm
- bbwlover
- Verified Member

- Posts: 1043
- Joined: March 5th, 2018, 6:23 pm
SWAP is hard disk space used when RAM is not enough, but it is slower. So why SWAP is used when RAM is not 100% in use is a mystery.
-
Mitch
- Verified Member

- Posts: 417
- Joined: March 26th, 2018, 11:55 am
-
CTE
- Verified Member

- Posts: 611
- Joined: March 13th, 2018, 3:31 pm
therefore if you see swap being used you are short on ram, makes sense.
-
deviantz
- Verified Member

- Posts: 877
- Joined: March 11th, 2018, 1:47 pm
Just looked and my memory is 46% in use and 21% swap too. So how is swap only used when your memory is full?
-
Colmike7
- Banned

- Posts: 1670
- Joined: May 23rd, 2018, 12:21 pm
- Title: (>^-^)b
Sometimes it can still use swap even if memory isn't being used up. It takes as much time to get data out of swap as it does to get it in there, so sometimes the kernel will just keep it. It's not just if memory > x% then use swap linearly. And sometimes the kernel just uses swap to prevent out of memory errors and other things like using too much cache.
-
born2bewild
- Verified Member

- Posts: 1655
- Joined: May 22nd, 2018, 6:47 pm
- Title: work hard play hard
If your load is 1 or under you have no reason to worry about swap
-
DeSexGuide
- Verified Member

- Posts: 1842
- Joined: May 4th, 2018, 6:51 pm
winning opinion / answer I agree with what he postedColmike7 wrote: ↑July 7th, 2021, 2:05 pmSometimes it can still use swap even if memory isn't being used up. It takes as much time to get data out of swap as it does to get it in there, so sometimes the kernel will just keep it. It's not just if memory > x% then use swap linearly. And sometimes the kernel just uses swap to prevent out of memory errors and other things like using too much cache.
-
workman
- Verified Member

- Posts: 672
- Joined: March 8th, 2018, 11:07 am
Best thing is add ram it's cheap so you are not using up disk function when ram can do it