Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
No swap being used

No swap being used

2006-01-12       - By Collins, Kevin [MindWorks]

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Maybe I'm missing something, but why would you expect swap to be used
when you still have free memory?

Kevin


-- --Original Message-- --
From: taroon-list-bounces@(protected)
[mailto:taroon-list-bounces@(protected)] On Behalf Of Jeff Macfarland
Sent: Thursday, January 12, 2006 8:32 AM
To: 'taroon-list@(protected)'
Subject: No swap being used

Sun V20z, RHEL 3u5, i386 kernel, 12GB RAM, 12GB swap

This box hosts quite a few things, among them serving SunRay's. We've
been experiencing horrible slowdowns particularly during a cvs checkout.
Just noticed that NO swap is being used:

output of `free`:

            total       used       free   shared    buffers     cached
Mem:      12277844   12036764     241080        0    1333552    7502204
-/+ buffers/cache:    3201008    9076836
Swap:     12578704          0   12578704

`swapon -s`:

Filename                        Type            Size    Used    Priority
/dev/sda2                       partition       2096472 0       -1
/dev/sda3                       partition       2096472 0       -2
/dev/sda5                       partition       2096440 0       -3
/dev/sda6                       partition       2096440 0       -4
/dev/sda7                       partition       2096440 0       -5
/dev/sda8                       partition       2096440 0       -6

`dmesg`:
...
Adding Swap: 2096472k swap-space (priority -1)
Adding Swap: 2096472k swap-space (priority -2)
Adding Swap: 2096440k swap-space (priority -3)
Adding Swap: 2096440k swap-space (priority -4)
Adding Swap: 2096440k swap-space (priority -5)
Adding Swap: 2096440k swap-space (priority -6)
...

`grep swap /etc/fstab`:
/dev/sda2     swap     swap     defaults     0 0
/dev/sda3     swap     swap     defaults     0 0
/dev/sda5     swap     swap     defaults     0 0
/dev/sda6     swap     swap     defaults     0 0
/dev/sda7     swap     swap     defaults     0 0
/dev/sda8     swap     swap     defaults     0 0

Doing `mkswap /dev/sda2; swapon -s` has no effect.

Is there some secret setting to enable swap?

--
Jeff Macfarland (jmacfarland@(protected))
Nexa Technologies - 972.747.8879
Unix Administrator
GPG Key ID: 0x5F1CA61B
GPG Key Server: hkp://wwwkeys.pgp.net

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list



--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list