- 论坛徽章:
- 1
|
本人接触Linux不久,不断学习中,望各位多多指教!!
硬件环境:
- DELL 2600 PCSERVER
- P4 至强 1.8 * 2
- RAM 3 GB
- SCSI 硬盘 36GB * 3 RAID 5
复制代码
软件环境:
- OS:RH Adv Server 2.1
- DataBase:Progress 9.1D
复制代码
上述服务器运行一ERP系统,数据库是Progress,Database 3GB多,用户数大概在80个左右,全部以telnet方式开终端运行ERP系统。
问题:用户数多的时间,大概70个左右,ERP系统响应时间好慢;用户在30个以下,ERP系统响应时间还可以.
个人认为导至原因:软件及硬件都有.软件优化不是本人,但硬件归本人.要增加硬件或购买新机器也要有数据跟老板说啊.要不机器买回来,问题没解决,哪.....
到底瓶径在哪里?是CPU?内存?I/O?还是OS?用什么工具监测?
平时,用户60-70也用不到3GB内存,今天星期天,上线的就只有这么多,不知是不是有内存未释放呢?
- 1:13pm up 1 day, 24 min, 18 users, load average: 0.18, 0.11, 0.04
- 160 processes: 159 sleeping, 1 running, 0 zombie, 0 stopped
- CPU0 states: 0.4% user, 0.4% system, 0.0% nice, 98.2% idle
- CPU1 states: 0.5% user, 0.0% system, 0.0% nice, 99.0% idle
- CPU2 states: 1.3% user, 0.0% system, 0.0% nice, 98.1% idle
- CPU3 states: 3.0% user, 0.3% system, 0.0% nice, 96.1% idle
- Mem: 3089904K av, 3062912K used, 26992K free, 296304K shrd, 155404K buff
- Swap: 2096440K av, 0K used, 2096440K free 2369016K cached
- PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
- 29454 ymy 15 0 5732 5732 2352 S 3.3 0.1 0:00 _progres
- 27307 llp 16 0 9284 9284 2960 S 1.7 0.3 0:10 _progres
- 1116 root 15 0 7624 7624 7336 S 0.7 0.2 0:36 _mprosrv
- 27146 ywj 15 0 5420 5420 2360 S 0.7 0.1 0:01 _progres
- 1460 root 15 0 193M 193M 192M S 0.3 6.4 44:37 _mprosrv
- 29249 cong 15 0 1120 1120 832 R 0.3 0.0 0:04 top
- 1112 root 15 0 193M 193M 192M S 0.1 6.4 27:17 _mprosrv
- 23981 root 15 0 804 804 668 S 0.1 0.0 0:00 in.telnetd
- 27099 root 15 0 804 804 668 S 0.1 0.0 0:00 in.telnetd
- 1 root 15 0 512 512 444 S 0.0 0.0 0:04 init
- 2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 3 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 4 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 5 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 6 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
复制代码
- 1:18pm up 1 day, 29 min, 18 users, load average: 0.33, 0.16, 0.06
- 161 processes: 159 sleeping, 2 running, 0 zombie, 0 stopped
- CPU0 states: 32.3% user, 1.3% system, 0.0% nice, 65.2% idle
- CPU1 states: 4.0% user, 2.3% system, 0.0% nice, 93.0% idle
- CPU2 states: 56.2% user, 5.3% system, 0.0% nice, 37.3% idle
- CPU3 states: 0.1% user, 0.1% system, 0.0% nice, 99.3% idle
- Mem: 3089904K av, 3064868K used, 25036K free, 296304K shrd, 155732K buff
- Swap: 2096440K av, 0K used, 2096440K free 2374540K cached
- PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
- 27954 lsl 25 0 9528 9528 2980 R 91.1 0.3 0:39 _progres
- 1112 root 15 0 193M 193M 192M S 6.7 6.4 27:21 _mprosrv
- 1409 root 15 0 7612 7612 7320 S 4.5 0.2 0:30 _mprosrv
- 27146 ywj 15 0 5440 5440 2360 S 0.9 0.1 0:02 _progres
- 29249 cong 15 0 1120 1120 832 R 0.3 0.0 0:05 top
- 1405 root 15 0 193M 193M 192M S 0.1 6.4 31:44 _mprosrv
- 1 root 15 0 512 512 444 S 0.0 0.0 0:04 init
- 2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 3 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 4 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 5 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 6 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
- 7 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU1
- 8 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU2
- 9 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_C
复制代码
- 1:18pm up 1 day, 29 min, 18 users, load average: 0.52, 0.22, 0.08
- 161 processes: 159 sleeping, 2 running, 0 zombie, 0 stopped
- CPU0 states: 91.2% user, 7.4% system, 0.0% nice, 0.3% idle
- CPU1 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
- CPU2 states: 0.2% user, 0.1% system, 0.0% nice, 99.2% idle
- CPU3 states: 0.0% user, 0.3% system, 0.0% nice, 99.2% idle
- Mem: 3089904K av, 3064908K used, 24996K free, 296304K shrd, 155748K buff
- Swap: 2096440K av, 0K used, 2096440K free 2374904K cached
- PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
- 27954 lsl 25 0 9528 9528 2980 R 86.8 0.3 0:57 _progres
- 1112 root 15 0 193M 193M 192M S 7.3 6.4 27:22 _mprosrv
- 1409 root 15 0 7612 7612 7320 S 4.9 0.2 0:31 _mprosrv
- 29454 ymy 15 0 8476 8476 2936 S 0.5 0.2 0:03 _progres
- 29249 cong 15 0 1120 1120 832 R 0.3 0.0 0:05 top
- 1116 root 15 0 7628 7628 7340 S 0.1 0.2 0:36 _mprosrv
- 1 root 15 0 512 512 444 S 0.0 0.0 0:04 init
- 2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 3 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 4 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 5 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 6 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
- 7 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU1
- 8 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU2
- 9 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU3
复制代码
- 1:19pm up 1 day, 30 min, 18 users, load average: 0.78, 0.32, 0.12
- 163 processes: 161 sleeping, 2 running, 0 zombie, 0 stopped
- CPU0 states: 56.0% user, 6.0% system, 0.0% nice, 37.3% idle
- CPU1 states: 6.4% user, 1.4% system, 0.0% nice, 91.0% idle
- CPU2 states: 36.1% user, 2.2% system, 0.0% nice, 61.0% idle
- CPU3 states: 0.0% user, 0.2% system, 0.0% nice, 99.3% idle
- Mem: 3089904K av, 3065220K used, 24684K free, 296304K shrd, 155796K buff
- Swap: 2096440K av, 0K used, 2096440K free 2375328K cached
- PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
- 27954 lsl 25 0 9528 9528 2980 R 87.8 0.3 1:28 _progres
- 29454 ymy 15 0 8496 8496 2956 S 8.7 0.2 0:03 _progres
- 1112 root 15 0 193M 193M 192M S 5.7 6.4 27:25 _mprosrv
- 1409 root 15 0 7612 7612 7320 S 4.5 0.2 0:32 _mprosrv
- 1460 root 15 0 193M 193M 192M S 2.5 6.4 44:39 _mprosrv
- 1116 root 15 0 7628 7628 7340 S 0.3 0.2 0:36 _mprosrv
- 29249 cong 15 0 1120 1120 832 R 0.3 0.0 0:05 top
- 1 root 15 0 512 512 444 S 0.0 0.0 0:04 init
- 2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 3 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 4 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 5 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
- 6 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
- 7 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU1
- 8 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU2
复制代码 |
|