why is swap on the server being used up

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
Post Reply
User avatar
AlexO
Verified Member
Verified Member
Posts: 6408
Joined: February 10th, 2018, 5:37 pm
Title: I like Celebrities

why is swap on the server being used up

#1

Post by AlexO » June 22nd, 2021, 8:16 am

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?
Give me celebrity porn :twisted:

User avatar
jag
Verified Member
Verified Member
Posts: 6543
Joined: February 15th, 2018, 9:51 am
Title: From Malta with love
Referrals: 1

#2

Post by jag » June 23rd, 2021, 7:14 am

what is the server load at that time?
From Malta with love and sunshine

pornmafia
Verified Member
Verified Member
Posts: 1305
Joined: March 4th, 2018, 12:14 pm

#3

Post by pornmafia » June 24th, 2021, 6:20 am

It is quite normal for your server top to show 'swap' in use nothing there to worry over.




Franksdomains
Verified Member
Verified Member
Posts: 530
Joined: March 11th, 2018, 6:36 pm

#4

Post by Franksdomains » June 27th, 2021, 11:31 am

pornmafia wrote: ↑
June 24th, 2021, 6:20 am
It is quite normal for your server top to show 'swap' in use nothing there to worry over.
that is how it is




User avatar
TheButcher
Administrator
Administrator
Posts: 17531
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#5

Post by TheButcher » June 29th, 2021, 8:15 am

AlexO wrote: ↑
June 22nd, 2021, 8:16 am
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?


Those numbers are very acceptable you have nothing to worry about

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

#6

Post by Dallastim » June 30th, 2021, 10:11 am

So what else is swap used for




User avatar
bbwlover
Verified Member
Verified Member
Posts: 1043
Joined: March 5th, 2018, 6:23 pm

#7

Post by bbwlover » June 30th, 2021, 8:29 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
Verified Member
Posts: 417
Joined: March 26th, 2018, 11:55 am

#8

Post by Mitch » July 1st, 2021, 1:01 pm

How much ram do you have




CTE
Verified Member
Verified Member
Posts: 611
Joined: March 13th, 2018, 3:31 pm

#9

Post by CTE » July 3rd, 2021, 7:40 pm

bbwlover wrote: ↑
June 30th, 2021, 8:29 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.
therefore if you see swap being used you are short on ram, makes sense.




deviantz
Verified Member
Verified Member
Posts: 877
Joined: March 11th, 2018, 1:47 pm

#10

Post by deviantz » July 7th, 2021, 1:58 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
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#11

Post by Colmike7 » July 7th, 2021, 2:05 pm

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
Verified Member
Posts: 1655
Joined: May 22nd, 2018, 6:47 pm
Title: work hard play hard

#12

Post by born2bewild » July 8th, 2021, 12:56 pm

If your load is 1 or under you have no reason to worry about swap




DeSexGuide
Verified Member
Verified Member
Posts: 1842
Joined: May 4th, 2018, 6:51 pm

#13

Post by DeSexGuide » July 12th, 2021, 2:08 pm

Colmike7 wrote: ↑
July 7th, 2021, 2:05 pm
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.
winning opinion / answer I agree with what he posted




workman
Verified Member
Verified Member
Posts: 672
Joined: March 8th, 2018, 11:07 am

#14

Post by workman » July 13th, 2021, 1:19 pm

Best thing is add ram it's cheap so you are not using up disk function when ram can do it




why is swap on the server being used up

Post Reply