Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why RedHat AS 2.1 didn't use SWAP partition even no free memory?

Status
Not open for further replies.

microsky

MIS
May 7, 2001
33
I recently setuped a Redhat AS 2.1 server, the harddisk is 40GB and memory is 1GB, CPU is P4 2.4GHz. The installation is OK, no error and no warning. But when I installed Oracle9i into this system, I found the OS didn't use swap partition even there is no free memory, and the system is very slow after use up memory. I checked swap usage using command "swapon -s", it seemed OK. Any body know how to troubleshoot?

====================================================
[root@webdev root]# swapon -s
Filename Type Size Used Priority
/dev/hdc8 partition 2040212 0 -1
====================================================

Thanks!
microsky
 
If swap memory is not working, i have another option for a creating a diffreent swap memory.
create a empty file by using
# touch swapfile
command then again
# swapadd swapfile
this file will work as a swap memory for your applications.

 
Thanks for your reply!
But this is unuseful, even I added new swapfile into system, it also didn't use it.
I think maybe this problem is relate to hardware. Because I installed same version(kernel-2.4.9-e.3) into another PII400 machine, the swap is running well, everything is Ok.
Now iffy machine's CPU is Intel P4 2.4GHz,mainboard is ECS L4S5M/DX+(chipset is SiS645DX+SiS962L). I found there is a error in /var/log/messages as following, the root reason is RedHat AS 2.1 is not support this chipset, isn't it? Are there anyone meet the same problem?

===============================================
modprobe: modprobe: Can't locate module char-major-226
modprobe: modprobe: Can't locate module char-major-226
kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann
kernel: agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Unsupported SiS chipset (device id: 0646), you might want to try agp_try_unsupported=1.
===============================================

Thanks!
 
Well one thing i left, i did not mention the size of file (swap file)
correct that last command

# swapadd +500M swapfile
As per my previous post the swap file is created but with default size (i.e. 0 MB)
That's why the system can not use this file as a swap memory.
And about your original problem, i think u should check your hardwares.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top