Jump to content

Recommended Posts

Guest postcd
Posted

Hello,

 

when i use yum to install some redhat package. It takes even more than minute to do one small 100kb app installation.

 

---> Package dstat.noarch 0:0.6.6-5.el5 set to be updated

 

and

 

Running Transaction Test

 

is example where it hangs

 

Quote:

yum install dstat

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

* base: mirror-centos.hostingswift.com

* epel: mirror.utexas.edu

* extras: mirror.wiredtree.com

* openvz-kernel-rhel5: mirror.steadfast.net

* openvz-utils: mirror.steadfast.net

* rpmforge: mirror.hmc.edu

* soluslabs: mirror.us1.soluslabs.net

* updates: dist1.800hosting.com

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package dstat.noarch 0:0.6.6-5.el5 set to be updated

--> Finished Dependency Resolution

Quote:

yum repolist

Loaded plugins: fastestmirror, security

Loading mirror speeds from cached hostfile

* base: mirror-centos.hostingswift.com

* epel: mirror.utexas.edu

* extras: mirror.wiredtree.com

* openvz-kernel-rhel5: mirror.steadfast.net

* openvz-utils: mirror.steadfast.net

* rpmforge: mirror.hmc.edu

* soluslabs: mirror.us1.soluslabs.net

* updates: dist1.800hosting.com

repo id repo name status

base CentOS-5 - Base 3,662

epel Extra Packages for Enterprise Linux 5 - x86_64 7,704

extras CentOS-5 - Extras 265

lxlabslxupdate centos-5-5 - lxlabslxupdates 0

lxlabsupdate centos-5-5 - lxlabsupdates 282

openvz-kernel-rhel5 OpenVZ RHEL5-based kernel 14

openvz-utils OpenVZ utilities 38

rpmforge RHEL 5 - RPMforge.net - dag 11,376

soluslabs Soluslab Repo 45

updates CentOS-5 - Updates 517

repolist: 23,903

iostat

Quote:

avg-cpu: %user %nice %system %iowait %steal %idle

11.83 0.17 4.13 15.73 0.00 68.14

 

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn

sda 212.78 608.78 8443.15 2117002710 29360526302

sda1 0.00 0.00 0.00 2548 54

sda2 212.78 608.78 8443.15 2116998580 29360526248

dm-0 1076.78 608.78 8443.15 2116993290 29360522600

dm-1 0.00 0.00 0.00 4552 5088

dstat

Quote:

dstat

----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--

usr sys idl wai hiq siq| read writ| recv send| in out | int csw

12 4 68 16 0 0| 609k 8443k| 0 0 | 0.4 0.7B|3104 5055

29 7 45 16 0 3| 192k 1880k| 344k 351k| 0 0 |2016 6081

22 5 60 13 0 0| 328k 2016k| 204k 210k| 0 0 |1970 5382

36 7 45 12 0 0| 144k 1584k| 196k 201k| 0 0 |1799 5125

23 5 56 16 0 0| 120k 1672k| 157k 162k| 0 0 |1705 5020

19 5 54 21 0 0| 192k 2848k| 173k 180k| 0 0 |1816 4945

24 5 53 18 0 0| 72k 7968k| 311k 317k| 0 0 |1871 4531

12 3 58 27 0 0| 72k 7200k| 143k 148k| 0 0 |1837 4028

13 3 57 27 0 0| 504k 11M| 154k 159k| 0 0 |1806 3906

22 4 50 24 0 0|1528k 1024k| 176k 181k| 0 0 |1852 4176

16 3 54 27 0 0| 0 824k| 100k 104k| 0 0 |1591 3991

10 4 56 30 0 0| 0 968k| 122k 125k| 0 0 |1563 3067

5 5 56 34 0 0| 464k 1160k| 114k 118k| 0 0 |1670 3003

28 9 43 19 0 0| 704k 664k| 117k 122k| 0 0 |1678 4043

8 2 68 21 0 0| 512k 1024k| 136k 140k| 0 0 |1746 3302

9 3 65 23 0 0| 528k 1160k| 122k 127k| 0 0 |1716 4133

11 2 65 21 0 0| 160k 2720k| 166k 171k| 0 0 |1633 3631

31 7 51 11 0 0|1008k 864k| 261k 266k| 0 0 |1847 6776

25 5 48 22 0 1| 224k 1136k| 212k 217k| 0 0 |1790 4088

17 4 47 33 0 0| 296k 1408k| 154k 159k| 0 0 |1757 4660

23 5 54 18 0 0| 0 1456k| 155k 160k| 0 0 |1814 4794

22 4 51 23 0 0| 984k 1640k| 193k 198k| 0 0 |1843 4668

17 4 50 29 0 0| 0 1472k| 208k 214k| 0 0 |1834 4439

iostat -xkd 1 /dev/sda

Quote:

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

sda 3.53 859.96 17.87 194.88 304.43 4219.66 42.53 0.22 6.83 4.67 99.29

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

sda 3.00 31.00 12.00 84.00 572.00 408.00 20.42 115.84 1137.96 10.43 100.10

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

sda 10.89 49.50 0.99 100.99 7.92 518.81 10.33 126.78 1152.83 9.72 99.11

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

sda 0.00 33.00 0.00 88.00 0.00 524.00 11.91 118.58 1178.86 11.38 100.10

Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util

sda 0.00 103.00 7.00 101.00 108.00 632.00 13.70 115.54 1437.58 9.27 100.10

also login via ssh has big timeouts before it request password and show command line. then after a few commands its fixed and works quite fast.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...