[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: swap space on partition not being used.



On 5/6/98, Scott wrote 
"Try swapon and swapoff. Should be located in the /sbin directory."

Swapon, Swapoff.  Sounds like the Karate Kid to me. (-:
Sorry, I couldn't resist.

			Thanks much!
			Steve Gonzales
			Network Engineer
			Novartis Crop Protection, Inc. - St. Gabriel
Plant
			3905 Highway 75
			St. Gabriel, LA  70776
			steven gonzales cp novartis com
			(504) 642-1725 : voice
			(504) 642-7255 : fax



				-----Original Message-----
				From:	Scott
[SMTP:overhead inetnow net]
				Sent:	Wednesday, May 06, 1998 2:12 PM
				To:	redhat-install-list redhat com
				Cc:	recipient list not shown;
@i3se0101.is.chbs.ciba.com
				Subject:	RE: swap space on
partition not being used.

				Marty,
				       Try swapon and swapoff. Should be
located in the /sbin directory.

				Hope it helps,

				Scott

				-----Original Message-----
				From: Marty Schneider
[mailto:marty televiso com]
				Sent: Wednesday, May 06, 1998 1:45 PM
				To: redhat-install-list redhat com
				Subject: swap space on partition not
being used.



				Does anyone know how to initialize swap
partition? I know the RedHat 5.0
				installation program initializes swap
partition. But how do you do it
				manually from a system prompt?

				I have installed RedHat 5.0 on a P6
system. It seems to be running out of
				memory, and I think it is because my
swap space on the disk does not seem
				to be used.

				After I boot the machine and do free
				             
				             total       used       free
shared    buffers     cached
				Mem:         63204      27336      35868
16268      11524       7288
				-/+ buffers/cache:       8524      54680
				Swap:        66556          0      66556
				 

				I notice the used on the Swap: is always
0, even when Mem: is close to
				63204. If I issue a who command, I get
'out of memory' error.

				I have looked in init scripts and find
'swapon -a', and boot process tells
				me swap space it activated. I have even
tried to manually swapoff, swapon
				-a, and it gives no errors. yet it seems
the machine is not using Swap:


				 

				I have my disk partitioned as follows:

				The number of cylinders for this disk is
set to 2068.
				This is larger than 1024, and may cause
problems with:
				1) software that runs at boot time
(e.g., LILO)
				2) booting and partitioning software
form other OSs
				   (e.g., DOS FDISK, OS/2 FDISK)

				Disk /dev/sda: 64 heads, 32 sectors,
2068 cylinders
				Units = cylinders of 2048 * 512 bytes

				   Device Boot   Begin    Start      End
Blocks   Id  System
				/dev/sda1            1        1      101
103408   83  Linux native
				/dev/sda2          102      102     1102
1025024   83  Linux native
				/dev/sda3         1024     1103     2003
922624   83  Linux native
				/dev/sda4         1024     2004     2068
66560   82  Linux swap





				-- 
				  PLEASE read the Red Hat FAQ, Tips,
Errata and the MAILING LIST ARCHIVES!
				http://www.redhat.com/RedHat-FAQ
/RedHat-Errata /RedHat-Tips /mailing-lists
				         To unsubscribe: mail
redhat-install-list-request redhat com
				                     with "unsubscribe"
as the Subject.

					Problems should be addressed to
<listmaster redhat com>.


				-- 
				  PLEASE read the Red Hat FAQ, Tips,
Errata and the MAILING LIST ARCHIVES!
				http://www.redhat.com/RedHat-FAQ
/RedHat-Errata /RedHat-Tips /mailing-lists
				         To unsubscribe: mail
redhat-install-list-request redhat com
				                     with "unsubscribe"
as the Subject.

					Problems should be addressed to
<listmaster redhat com>.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]