Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

RH8 installed on opteron hangs after a few days.  You can ping but not telnet, not ssh, not login at console

Posted on 2005-03-28
7
Medium Priority
?
246 Views
Last Modified: 2013-12-15
I have several new dual opteron systems running RH8.  They run fine for an unspecified period of time.  Then usually under some load they hang.  You can not telnet to them, you cannot ssh, you can't even login at the console.  However, they respond to ping.  You have to press reset to get them back.  In going through the messages, security and boot log files there are no messages indicating any trouble.  These systems are running with a kernel 2.4.18-14.bigmem (smp), they have 8G of memory and 8G of swap

Motherboard Tyan-S2882G3NR  AMD opteron 248 (way) cpu

0
Comment
Question by:noackp
  • 3
  • 2
5 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 13648813
Hi,

   It looks like you doesn't use the 64-bit OS, which Redhat 8 doesn't have 64bit version.

   So RH 8 cannot use more than 2GB swap even though you have more than 2GB swap partition (in one partition).

   This will cause some issue. But I would that it is most likely the kernel issue.
1. You can try to upgrade the kernel
rpm -ivh http://download.fedoralegacy.org/redhat/8.0/updates/i386/kernel-bigmem-2.4.20-30.8.legacy.i686.rpm

2. Upgrade the motherboard BIOS.

3. resize the swap partition to 2GB each (you can have multiple 2GB swap partitions).

4. Use Fedora Core 3 with 64-bit support (than you can have more 2GB swap partition).

   RedHat Linux 8 is no longer in support any more. So use Fedora Core 3 or newer version will be better.

Regards,

Wesly
0
 

Author Comment

by:noackp
ID: 13663230
Wise advice.  I just upgraded everything on that net to RH8...why...only OS that is supported by all the vendors tools we are using.  There are 4 older systems that are now exibiting the same problems as the dual opterons.  The only common thread I can find on the older systems is that in order to get them to boot I had to enable the /noapic switch on the kernel boot line.  Seems as if these are doing the same thing as the opterons.  They are booting with the same kernel.

Is there anyway to resize the swap partition without reformatting?

I can't use the fedora core 3 as some apps won't work on it.
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 13664472
> Is there anyway to resize the swap partition without reformatting?
As root
swapoff -a   # turn off swap
fdisk /dev/hda  # repartition, assume the swap is on /dev/hda
p  # print the menu
Then delete the old swap parttion and recreate the new partition.
do "w" to make change take effect.
For more details about swap, check
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html

> only OS that is supported by all the vendors tools we are using.
How about RHEL 3.0? It uses 2.4.x kernel as RH8 do. RHEL3.0 has Opteron support, too.
0
 

Author Comment

by:noackp
ID: 13664814
unfortunately I need to take the swap away not add it.  Can't afford the cost of RHE3v2AS x 20 systems right now.
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 1600 total points
ID: 13664956
> unfortunately I need to take the swap away not add it
Resize/reduce the swap partition, right? It is highly not recommended to take away swap partition.
But you can commend out swap partition in  /etc/fstab.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month15 days, 23 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question