Results 1 to 5 of 5
-
11-16-2008, 08:43 AM #1Web Hosting Master
- Join Date
- May 2003
- Posts
- 2,460
Trying to find the bottleneck, is this IO issue?
Quote:
[~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- -
r b swpd free buff cache si so bi bo in cs us sy id wa st
2 0 78964 298804 252632 1228020 0 1 124 196 2 4 19 4 76 2 0
[~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 78964 298184 252648 1228084 0 1 124 196 2 4 19 4 76 2 0
[~]# iostat
Linux 2.6.18-92.el5 (server.net) 11/16/2008
avg-cpu: %user %nice %system %iowait %steal %idle
0.34 18.53 3.59 1.84 0.00 75.70
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 25.91 496.60 777.66 567980120 889443028
dm-0 105.74 495.16 772.46 566336450 883492896
dm-1 0.83 1.43 5.20 1640448 5950128
Server has a 1.85 load. I am trying to find if its an IO issue or not.
Any Linux tools that will help me find processes using up resources besides top? - It might be mysql as all invoked processes are PHP (suexec).
__________________
^_^
-
11-16-2008, 11:53 AM #2Web Hosting Evangelist
- Join Date
- Jan 2003
- Posts
- 512
Besides top you can use the ps command, free command for memory
__________________I perform System Administration
-
11-16-2008, 12:21 PM #3thedude76 Guest
Also try iostat -xcnd 5
__________________UK web hosting
Last edited by thedude76 : 11-16-2008 at 11:25 AM.
-
11-16-2008, 03:53 PM #4Newbie
- Join Date
- Aug 2008
- Posts
- 14
Don't look at the first record with the vmstat and iostat, let them settle. ~120 IOPS should be nothing for modern disks, but maybe it spikes in your case. Internet traffic is always fractal.
-
11-17-2008, 01:40 AM #5WHT Addict
- Join Date
- May 2008
- Posts
- 117
hostbox
>> tools that will help me find processes using up resources
>> besides top?
dstat is a good tool, small mem foot-print and very elaborate.
Is the I/O wait state on top steady? Does it go down and then spike upwards?
__________________
--
73s Ragu/VU2RGU
A LowLie SysAd