Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
my gentoo server doesn't use swap :/
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
symbio
n00b
n00b


Joined: 28 Jan 2004
Posts: 8
Location: Estonia

PostPosted: Fri Feb 06, 2004 5:12 pm    Post subject: my gentoo server doesn't use swap :/ Reply with quote

hi! i have a problem with my swap. my swap space is about 320mb's, and my memory is always full.

i have done $ mkswap /dev/hda2 and $ swapon /dev/hda2 ... and my gentoo should use swap, but as you can see on that page ( http://bsfh.pri.ee/sysinfo/ ), none of my swap space is being used ... how is that so?

$ free output...

bsfh / # free
total used free shared buffers cached
Mem: 385124 372716 12408 0 60420 117592
-/+ buffers/cache: 194704 190420
Swap: 321292 0 321292
Back to top
View user's profile Send private message
pixie
Guru
Guru


Joined: 29 Dec 2002
Posts: 305

PostPosted: Fri Feb 06, 2004 5:50 pm    Post subject: Reply with quote

Well.... it's not going to use swap until it runs OUT of memory.

You don't want it using swap when there is RAM going spare. It would slow things down.
Back to top
View user's profile Send private message
symbio
n00b
n00b


Joined: 28 Jan 2004
Posts: 8
Location: Estonia

PostPosted: Fri Feb 06, 2004 5:56 pm    Post subject: Reply with quote

hm.. okay then. i just thought it's a little suspicious, because when i last installed gentoo with almost-the-same configuration, it DID use swap ...
Back to top
View user's profile Send private message
Oopsz
Guru
Guru


Joined: 08 Oct 2002
Posts: 340

PostPosted: Fri Feb 06, 2004 7:42 pm    Post subject: Reply with quote

do a really big diff (like gentoo-dev-sources against gentoo-sources) and see if it uses swap. If it does, then its working properly, you just haven't hit the ceiling of your physical ram yet.
_________________
Pop-before-SMTP with the Gentoo Virtual Mailhosting Guide
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum