RHEL AS 4 U2 Slow

Brenda Radford brkittycat at verizon.net
Mon Feb 6 18:55:37 UTC 2006


Rick Stevens wrote:

>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,
>>
>>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,

The perkiness from dropping acpid only lasted a day.  Any other ideas? 
Did I partition it to death?

The output from ps ax:

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:00 init [5]                             
    2 ?        SN     0:00 [ksoftirqd/0]
    3 ?        S<     0:00 [events/0]
    4 ?        S<     0:00 [khelper]
    5 ?        S<     0:00 [kacpid]
   23 ?        S<     0:00 [kblockd/0]
   33 ?        S      0:00 [pdflush]
   34 ?        S      0:00 [pdflush]
   36 ?        S<     0:00 [aio/0]
   24 ?        S      0:00 [khubd]
   35 ?        S      0:00 [kswapd0]
  110 ?        S      0:00 [kseriod]
  199 ?        S      0:00 [kjournald]
 1042 ?        S<s    0:00 udevd
 1590 ?        S<     0:00 [kauditd]
 1623 ?        S<     0:00 [kmirrord]
 1624 ?        S<     0:00 [kmir_mon]
 1653 ?        S      0:00 [kjournald]
 1654 ?        S      0:00 [kjournald]
 1655 ?        S      0:00 [kjournald]
 1656 ?        S      0:00 [kjournald]
 1657 ?        S      0:00 [kjournald]
 1658 ?        S      0:00 [kjournald]
 1659 ?        S      0:00 [kjournald]
 2289 ?        Ss     0:00 /sbin/dhclient -1 -q -lf 
/var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0
 2343 ?        Ss     0:00 syslogd -m 0
 2347 ?        Ss     0:00 klogd -x
 2368 ?        Ss     0:00 portmap
 2388 ?        Ss     0:00 rpc.statd
 2416 ?        Ss     0:00 rpc.idmapd
 2492 ?        S      0:00 /usr/sbin/smartd
 2502 ?        Ss     0:00 /usr/sbin/sshd
 2517 ?        Ss     0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
 2530 ?        SLs    0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
 2551 ?        Ss     0:00 sendmail: accepting connections
 2559 ?        Ss     0:00 sendmail: Queue runner at 01:00:00 for 
/var/spool/clientmqueue
 2617 ?        Ss     0:00 /usr/sbin/cupsd
 2660 ?        Ss     0:00 gpm -m /dev/input/mice -t imps2
 2670 ?        Ss     0:00 crond
 2696 ?        Ss     0:00 xfs -droppriv -daemon
 2706 ?        SNs    0:00 anacron -s
 2715 ?        Ss     0:00 /usr/sbin/atd
 2734 ?        Ss     0:00 dbus-daemon-1 --system
 2745 ?        Ss     0:00 rhnsd --interval 240
 2755 ?        Ss     0:00 cups-config-daemon
 2766 ?        Ss     0:01 hald
 2776 tty1     Ss+    0:00 /sbin/mingetty tty1
 2801 tty2     Ss+    0:00 /sbin/mingetty tty2
 2887 tty3     Ss+    0:00 /sbin/mingetty tty3
 2906 tty4     Ss+    0:00 /sbin/mingetty tty4
 2913 tty5     Ss+    0:00 /sbin/mingetty tty5
 2920 tty6     Ss+    0:00 /sbin/mingetty tty6
 3174 ?        Ss     0:00 /usr/bin/gdm-binary -nodaemon
 3207 ?        S      0:00 /usr/bin/gdm-binary -nodaemon
 3213 ?        S      0:15 /usr/X11R6/bin/X :0 -audit 0 -auth 
/var/gdm/:0.Xauth -nolisten tcp vt7
 3521 ?        Ss     0:01 /usr/bin/gnome-session
 3549 ?        Ss     0:00 /usr/bin/ssh-agent -s
 3576 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session 
/etc/X11/xinit/Xclients
 3577 ?        Ss     0:00 dbus-daemon-1 --fork --print-pid 8 
--print-address 6 --session
 3581 ?        S      0:00 /usr/libexec/gconfd-2 5
 3584 ?        S      0:00 /usr/bin/gnome-keyring-daemon
 3586 ?        Ss     0:00 /usr/libexec/bonobo-activation-server 
--ac-activate --ior-output-fd=18
 3588 ?        S      0:00 /usr/libexec/gnome-settings-daemon 
--oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=22
 3594 ?        S      0:00 /usr/libexec/gam_server
 3603 ?        S      0:00 xscreensaver -nosplash
 3627 ?        Ss     0:00 /usr/bin/metacity --sm-client-id=default1
 3631 ?        Ss     0:00 gnome-panel --sm-client-id default2
 3633 ?        Ssl    0:00 nautilus --no-default-window --sm-client-id 
default3
 3635 ?        Ss     0:00 gnome-volume-manager --sm-client-id default6
 3637 ?        S      0:00 /usr/libexec/wnck-applet 
--oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=26
 3639 ?        S      0:00 /usr/libexec/mixer_applet2 
--oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=28
 3641 ?        S      0:00 /usr/libexec/clock-applet 
--oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory --oaf-ior-fd=30
 3643 ?        S      0:00 /usr/libexec/notification-area-applet 
--oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory 
--oaf-ior-fd=32
 3647 ?        Ss     0:00 eggcups --sm-client-id default5
 3653 ?        Sl     0:00 /usr/libexec/gnome-vfs-daemon 
--oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factory --oaf-ior-fd=36
 3666 ?        S      0:00 /usr/libexec/mapping-daemon
 3668 ?        Ss     0:00 pam-panel-icon --sm-client-id default0
 3672 ?        S      0:00 /sbin/pam_timestamp_check -d root
 3788 ?        Ss     0:00 /usr/bin/esd -terminate -nobeeps -as 2 
-spawnfd 28
 3790 ?        Sl     0:01 /usr/bin/gnome-terminal
 3791 ?        S      0:00 gnome-pty-helper
 3792 pts/1    Ss     0:00 bash
 3818 pts/1    R+     0:00 ps ax

Thanks,

Brenda





More information about the Redhat-install-list mailing list