Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] System operacyjny nie wykorzystuje swapa.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
+draco+
n00b
n00b


Joined: 16 Oct 2004
Posts: 18

PostPosted: Mon May 21, 2007 12:18 pm    Post subject: [SOLVED] System operacyjny nie wykorzystuje swapa. Reply with quote

Witajcie, mam problem ze swapem. Mimo że jest on zamontowany to komenda 'free -m' zawsze pokazuje 0 przy ilości wykorzystanego swapu nawet jak wolnego ramu pozostaje tylko ok 10MB. Czy wiecie co może być powodem lub jak go zdiagnozować ?

dmesg zwraca:
Code:
Adding 2096472k swap on /dev/hda2.  Priority:-1 extents:1 across:2096472k

więc swap się montuje.


Last edited by +draco+ on Mon May 21, 2007 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kajan
Guru
Guru


Joined: 23 Dec 2004
Posts: 321
Location: Warsaw, Poland

PostPosted: Mon May 21, 2007 12:23 pm    Post subject: Reply with quote

A aktywowałeś go ??
Code:

swapon /dev/hda2



Pozdrawiam
_________________
Powered By Gentoo Linux !!!
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Mon May 21, 2007 12:28 pm    Post subject: Reply with quote

A na które pole we free -m zwracasz uwagę jako pokazujące użycie pamięci?
_________________
powered by power plant
Back to top
View user's profile Send private message
+draco+
n00b
n00b


Joined: 16 Oct 2004
Posts: 18

PostPosted: Mon May 21, 2007 1:05 pm    Post subject: Reply with quote

Tak swap jest aktywowany.

Code:
free -m
             total       used       free     shared    buffers     cached
Mem:           980        947         32          0          7        381
-/+ buffers/cache:        558        421
Swap:         2047          0       2047


Zwracam uwagę na kolumnę 'used' przy Swapie.
W momencie kiedy swap jest wyłączony (swapoff) wiersz 'Swap:' wogóle się nie pojawia, stąd też mniemam że musi być włączony :)
Back to top
View user's profile Send private message
13Homer
Guru
Guru


Joined: 12 Jul 2005
Posts: 461

PostPosted: Mon May 21, 2007 1:15 pm    Post subject: Reply with quote

A po co chcesz, żeby system korzystał ze swapu, skoro pamięci mu wystarcza? Naotwieraj różnych aplikacji, żeby "przepełnić" pamięć i wtedy sprawdź.
_________________
Lenovo ThinkPad R61 / C2D@2.6.24 / nVidia Quatro NVS 140M / 2 GB RAM
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Mon May 21, 2007 1:32 pm    Post subject: Reply with quote

+draco+ wrote:
Tak swap jest aktywowany.

Code:
free -m
             total       used       free     shared    buffers     cached
Mem:           980        947         32          0          7        381
-/+ buffers/cache:        558        421
Swap:         2047          0       2047

Właściwe użycie pamięci to kolumna used, wiersz buffers/cache, tak więc masz 558 MB zajętej.
Poza tym temat był tyle na różnych forach wałkowany...
_________________
powered by power plant
Back to top
View user's profile Send private message
+draco+
n00b
n00b


Joined: 16 Oct 2004
Posts: 18

PostPosted: Mon May 21, 2007 1:43 pm    Post subject: Reply with quote

Faktycznie eh...
Wcześniej już tak robiłem, ale nic to nie dawało.

Dzięki wielkie i sorki za fałszywy alarm.

Pozdro :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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