Hi, and thanks for your replies.
I have tried procinfo and top ( looking for prcesses in the D-state),
but I can't find any info about where the bottleneck is.
It thus seems that this is not an I/O problem after all.
One sympthom of the presence of a bottleneck on my server,
is that it almost invariably takes 7 seconds before top displays its first page.
Could it be that the kernel must be tuned to use
4GB of memory efficiently (as in RedHat Advanced Server)
I guess this thread should be moved to another newsgroup (?)
I set follwup to comp.os.linux.misc
Below you see some "screenshots" from procinfo and top.
- Morten
> Hi,
> I am a fairly devote Linux-user , but I have some things even in the
> server-realm is possible in winndows but not in Linux. I have at least
> not found out how I can perform one particular piece of monitoring of
> my Linux servers that is very easy to do on NT 5 / w2k servers:
> Using the w2k "task manager" and choosing to display columns for I/O
> read and I/O write counted in bytes I can see exactly which process is
> causing a I/O bottleneck. I have seen quite a few times that I/O is the
> bottleneck on certain Linux servers, but I am not able to pinpoint the
> culprit.
> I have tried sar ( comes with sysstat) and looking at the
> /proc/$PID/status info, but to no avail.
> I am sorry but Redmond/M$ scores a point here.
> ( As far as I know I need the glance tool at an extra cost in HP-UX to
> be able to see this )
> Regards,
> Morten
#1 SMP Tue Feb 26 06:25:36 EST 2002 2 CPU
Memory: Total Used Free Shared Buffers Cached
Mem: 0 0 0 0 0 4
Swap: 0 0 0
Bootup: Tue Sep 10 22:26:18 2002 Load average: 0.18 0.22 0.21 2/274 4691
user : 0:00:00.64 31.7% page in : 0 disk 1: 0r 0w
nice : 0:00:00.00 0.0% page out: 0 disk 2: 0r 0w
system: 0:00:00.11 5.4% swap in : 0 disk 3: 0r 0w
idle : 0:00:01.27 62.8% swap out: 0
uptime: 19d 16:36:01.09 context : 68926
irq 0: 101 timer irq 14: 0 ide0
irq 1: 0 keyboard irq 22: 1700 eth0
irq 2: 0 cascade [4] irq 24: 0 sym53c8xx
irq 6: 0 irq 25: 0 sym53c8xx
irq 8: 0 rtc irq 33: 0 0 none u
irq 12: 0 PS/2 Mouse
===============================
#### procinfo (totals )
#1 SMP Tue Feb 26 06:25:36 EST 2002 2 CPU
Memory: Total Used Free Shared Buffers Cached
Mem: 4040612 3508896 531716 64 757688 1867616
Swap: 2097128 0 2097128
Bootup: Tue Sep 10 22:26:19 2002 Load average: 0.02 0.09 0.14 1/272 4999
user : 1d 9:54:05.39 3.6% page in : 11956985 disk 1: 1r 0w
nice : 0:01:08.92 0.0% page out: 15519310 disk 2: 914081r 2043672w
system: 23:04:46.96 2.4% swap in : 1 disk 3: 3066r 0w
idle : 37d 1:46:56.75 94.0% swap out: 0
uptime: 19d 17:23:28.98 context :1507659201
irq 0: 170420901 timer irq 14: 28 ide0
irq 1: 83 keyboard irq 22: 383546902 eth0
irq 2: 0 cascade [4] irq 24: 2945991 sym53c8xx
irq 6: 4 irq 25: 30 sym53c8xx
irq 8: 1 rtc irq 33: 0 0 none u
irq 12: 42 PS/2 Mouse
===============================
top -b -n 1 | head -20
2:59pm up 19 days, 16:33, 5 users, load average: 0,24, 0,28, 0,23
271 processes: 270 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 5,0% user, 43,2% system, 0,0% nice, 51,1% idle
CPU1 states: 4,1% user, 29,1% system, 0,0% nice, 66,0% idle
Mem: 4040612K av, 3501620K used, 538992K free, 64K shrd, 756868K buff
Swap: 2097128K av, 0K used, 2097128K free 1862208K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
4649 root 14 0 1252 1248 820 R 72,5 0,0 0:05 top
1405 k4590k 9 0 704M 704M 40000 S 2,0 17,8 34:41 java
2217 k4590k 9 0 704M 704M 40000 S 1,7 17,8 0:44 java
1762 k4590k 9 0 704M 704M 40000 S 1,2 17,8 0:40 java
2110 k4590k 9 0 704M 704M 40000 S 1,2 17,8 0:49 java
1653 k4590k 9 0 704M 704M 40000 S 0,5 17,8 0:50 java
2191 k4590k 9 0 704M 704M 40000 S 0,5 17,8 0:47 java
1407 k4590k 9 0 704M 704M 40000 S 0,2 17,8 0:01 java
1411 k4590k 9 0 704M 704M 40000 S 0,2 17,8 2:33 java
1484 apache 9 0 7104 7104 6148 S 0,2 0,1 0:01 httpd
Well I actually tried to genrate I/O to see if it would apear with a "D"
in top and it worked : ( the dd process )
[1] 28496
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
28496 root 16 0 104 40 24 D 6,1 0,0 0:03 dd
- Morten