I have noticed that the linux system we are using at work seems to be
very slow when
I run 'locate' or do a 'find' and just now I tried 'dmesg' and it
took a while so I ran
a second time and it was faster and then I ran it 3rd time and it took
a lot longer
the last 'dmesg' took 7 minutes. I mean the command starts to execute but all
of a sudden it stops like if is gathering information. This linux is
only used as a
server for our website and we do not get that many hits per day and
our average hit
at 2pm in the afternoon is 1971. Our hits max per day this month is 59000
I have a red hat linux 7.3 running at home and is a pentium 2 350MHZ
dual cpu and runs faster than this linux machine here at work.
this is the configuration about my slow linux rhel ES 3 system:
-------------------------------------
OS System Configuration:
OS Release: LSB_VERSION="1.3" Red Hat Enterprise Linux ES release 3
(Taroon Update 5)
hostid: a8c01501
Kernel OS: GNU/Linux
Kernel release: 2.4.21-27.0.4.EL
Kernel version: #1 Sat Apr 16 19:00:33 EDT 2005
Harware Platform: i386
Processor Architecture: i686
CPU info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III CPU family 1400MHz
stepping : 1
cpu MHz : 1396.473
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 mmx fxsr sse
bogomips : 2785.28
Total Swap Memory:
SwapTotal: 4096564 kB
System Memory:
MemTotal: 2058564 kB
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:02:B3:AC:8B:56
inet addr:192.168.1.21 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:277963374 errors:3 dropped:0 overruns:0 frame:3
TX packets:414489364 errors:2 dropped:0 overruns:0 carrier:2
collisions:50797938 txqueuelen:1000
RX bytes:2392770345 (2281.9 Mb) TX bytes:2930618003 (2794.8 Mb)
Interrupt:5 Base address:0xdce0 Memory:f81ff000-f81ff038
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:144291013 errors:0 dropped:0 overruns:0 frame:0
TX packets:144291013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3935738567 (3753.4 Mb) TX bytes:3935738567 (3753.4 Mb)
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda8 14713768 3565984 10400364 26% /
/dev/sda1 101089 20169 75701 22% /boot
/dev/sda6 30233896 22883792 5814292 80% /data1
/dev/sda5 30233896 22438256 6259828 79% /data2
/dev/sda3 35278572 26180204 7306320 79% /data3
/dev/sda7 20161172 7385396 11751636 39% /home
none 1029280 0 1029280 0% /dev/shm
Disk Partitions: /sbin/fdisk -l:
Disk /dev/sda: 145.4 GB, 145450074112 bytes
255 heads, 63 sectors/track, 17683 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 523 4096575 82 Linux swap
/dev/sda3 651 5112 35841015 83 Linux
/dev/sda4 5113 17683 100976557+ f Win95 Ext'd (LBA)
/dev/sda5 5113 8936 30716248+ 83 Linux
/dev/sda6 8937 12760 30716248+ 83 Linux
/dev/sda7 12761 15310 20482843+ 83 Linux
/dev/sda8 15311 17171 14948451 83 Linux
-----------------------------
Any ideas what I should be looking at to improve the speed?
Thanks,
Nestor :-)
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list