RHEL AS 4 U2 Slow
Rick Stevens
rstevens at vitalstream.com
Tue Jan 31 00:10:24 UTC 2006
On Mon, 2006-01-30 at 18:55 -0500, Brenda Radford wrote:
> Rick Stevens wrote:
>
> >On Mon, 2006-01-30 at 16:16 -0500, Brenda Radford wrote:
> >
> >
> >>Installed RHEL AS 4 U2 on an 80 GB HD (non-production, educational box).
> >>When I turn it on, it is slow doing all the things it does when it boots
> >>up.
> >>After it is finished, I right-click on Open Terminal, and it takes
> >>forever for a
> >>window to pop up. How do I find out why it is so slow?
> >>
> >>
> >
> >You need to look at the output of "ps ax" or "top" and see which process
> >is sucking up the resources. You then have to sort out why that's
> >happening.
> >
> >If this is the first boot on the machine, the dread "updatedb" process
> >may be running. It can take a lot of resources. Either wait for it to
> >finish (it will, eventually) or kill it and let it run when your machine
> >isn't busy. It is what updates the "slocate" database and typically
> >runs at 4:00 a.m.--provided you leave the machine on. If you shut the
> >machine off and 4:00 a.m. rolls by while it's off, the process will
> >launch shortly after the machine boots so it can "catch up".
> >
> >Of course, if you don't need the "slocate" command then disable the
> >updatedb process completely by editing /etc/updatedb.conf and changing
> >"DAILY_UPDATE=yes" to "DAILY_UPDATE=no" and killing any currently
> >running process.
> >
> >
> >
> >>I have 895 MB memory and a 1995.494 MHz CPU.
> >>
> >>The only thing I did manually in the install was to partition the hard
> >>disk (from df):
> >>
> >>Filesystem 1K-blocks Used Available Use% Mounted on
> >>/dev/hda5 1004024 162144 790876 18% /
> >>/dev/hda1 497829 15985 456142 4% /boot
> >>none 452880 0 452880 0% /dev/shm
> >>/dev/hda10 20161172 123016 19014016 1% /home
> >>/dev/hda3 2016044 35836 1877796 2% /opt
> >>/dev/hda8 10080488 55408 9513012 1% /tmp
> >>/dev/hda2 10080520 3546400 6022052 38% /usr
> >>/dev/hda7 5036284 42924 4737528 1% /usr/local
> >>/dev/hda9 10080488 147520 9420900 2% /var
> >>/dev/hdb1 101089 33094 62776 35% /mnt/hdb1
> >>/dev/hdb2 76051264 24007900 48180136 34% /mnt/hdb2
> >>/dev/fd0 1424 3 1421 1% /media/floppy
> >>
> >>I do have a second hard drive that ran RHEL AS 3, but it isn't mounted in
> >>/etc/fstab; it was done manually above.
> >>
> >>I do have 2 errors in the kernel log, but I don't know what they mean:
> >>
> >>shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
> >>shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
> >>
> >>
> >
> >I wouldn't worry about those. They're related to the ACPI (Advanced
> >Configuration and Power Interface) system and aren't critical. You may
> >wish to turn off ACPI ("chkconfig acpid off;service acpid stop") or
> >boot with "noacpi".
> >
> >----------------------------------------------------------------------
> >- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
> >- VitalStream, Inc. http://www.vitalstream.com -
> >- -
> >- Time: Nature's way of keeping everything from happening at once. -
> >----------------------------------------------------------------------
> >
> >_______________________________________________
> >Redhat-install-list mailing list
> >Redhat-install-list at redhat.com
> >https://www.redhat.com/mailman/listinfo/redhat-install-list
> >To Unsubscribe Go To ABOVE URL or send a message to:
> >redhat-install-list-request at redhat.com
> >Subject: unsubscribe
> >
> >
> >
> Rick,
>
> There were no resource hogs in "ps ax" or "top".
>
> It wasn't "updatedb". "DAILY_UPDATE" was no. I have been booting the
> machine at least once a day
> since I installed on January 16. BTW, I love "slocate".
>
> I turned off acpid first by stopping the service; things improved
> dramatically and instantly.
> Then I chkconfig'd it off.
Interesting that acpid hosed the machine that badly. Weird!
> I want to boot with "noacpi". Where do I put that?
Edit /boot/grub/grub.conf. Find the stanza that reflects your kernel,
and edit the "kernel=" line. Put " noacpi" at the end. For example,
on my Fedora Core 4 machine:
title Fedora Core (2.6.14-1.1656_FC4)
root (hd0,0)
kernel /boot/vmlinuz-2.6.14-1.1656_FC4 ro root=LABEL=/ rhgb
quiet noacpi <<<<====NOTE!
initrd /boot/initrd-2.6.14-1.1656_FC4.img
If you just want to try it once, reboot the system. At the grub
screen scroll to the kernel you want to play with and hit "E".
Scroll down to the kernel line and hit "E" again. Go to the end of
the line and add " noacpi" to it (don't forget the leading space and
do NOT include the quote marks), then hit <ENTER> and press B. The
system will boot with noacpi THIS TIME ONLY. If you want it to be
permanent, you have to edit the grub.conf file as I mentioned above.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If this is the first day of the rest of my life... -
- I'm in BIG trouble! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list