LoveUnix » 中间件技术 » cics as 导致cpu 几乎用满,谁能帮忙?
让LU留住您的每

一天 让LU博客留住您的每一天
2005-2-3 12:43 flyger
环境: aix5.2 + cics +sybase12<br /><br />启动后发现sybase 和cicsas 会将系统cpu用满,隔一段时间(最多一天)15个cicsas 均起来,cics client 连接失败,但看状态似乎没问题,重起cics后又好。下了cics后系统的资源也随着释放正常。同样的环境还有两台,但均没有这种状况。这台机器的交易量并不大,奇怪为什么出现这个问题,怎么查?先谢了。<br />下面贴个重启不久的topas:<br />Topas Monitor for host:    YUXI_A4              EVENTS/QUEUES    FILE/TTY<br />Thu Feb  3 12:27:00 2005   Interval:  2         Cswitch    2583  Readch        0<br />                                                Syscall    7376  Writech     342<br />Kernel    9.5   |###                         |  Reads        14  Rawin         0<br />User     90.5   |##########################  |  Writes        0  Ttyout      342<br />Wait      0.0   |                            |  Forks         0  Igets         0<br />Idle      0.0   |                            |  Execs         0  Namei         7<br />                                                Runqueue    3.0  Dirblk        0<br />Network  KBPS   I-Pack  O-Pack   KB-In  KB-Out  Waitqueue   0.0<br />lo0    2377.9   4838.0  4838.0  2377.9  2377.9<br />en0       0.4      1.0     1.0     0.0     0.7  PAGING           MEMORY<br />en1       0.0      0.0     0.0     0.0     0.0  Faults        0  Real,MB    1535<br />                                                Steals        0  % Comp     63.1<br />Disk    Busy%     KBPS     TPS KB-Read KB-Writ  PgspIn        0  % Noncomp  34.1<br />hdisk2    0.0      0.0     0.0     0.0     0.0  PgspOut       0  % Client    0.5<br />hdisk1    0.0      0.0     0.0     0.0     0.0  PageIn        0<br />hdisk3    0.0      0.0     0.0     0.0     0.0  PageOut       0  PAGING SPACE<br />hdisk0    0.0      0.0     0.0     0.0     0.0  Sios          0  Size,MB    4096<br />hdisk6    0.0      0.0     0.0     0.0     0.0                   % Used      2.4<br />hdisk5    0.0      0.0     0.0     0.0     0.0  NFS (calls/sec)  % Free     97.5<br />                                                ServerV2       0<br />Name            PID  CPU%  PgSp Owner           ClientV2       0   Press:<br />dataserve    258194  72.1   4.4 sybase          ServerV3       0   &quot;h&quot; for help<br />cicsas       442454  27.5   3.3 cics            ClientV3       0   &quot;q&quot; to quit<br />topas        520360   0.5   1.8 root   <br />IBM.CSMAg    295060   0.0   2.4 root   <br />gil           69666   0.0   0.1 root   <br />syncd        139392   0.0   0.6 root  <br />i4llmd       262286   0.0   1.2 root  <br />rpc.lockd    233694   0.0   0.2 root  <br />getty        393416   0.0   0.5 root  <br />lrud          45078   0.0   0.1 root  <br />rmcd         200848   0.0   2.2 root  <br />backupser    184404   0.0   6.0 sybase<br />aixmibd      176258   0.0   0.7 root  <br />xmgc          61470   0.0   0.1 root  <br />netm          65568   0.0   0.1 root  <br />xmfreed       49176   0.0   0.1 root  <br />init              1   0.0   0.8 root<br />dced         377030   0.0   2.1 root<br />cics         524342   0.0   2.2 cics<br />cron         196810   0.0   0.6 root<br />inetd        192652   0.0   0.5 root  <br />sendmail      82136   0.0   1.0 root  <br />dtlogin      143470   0.0   0.6 root  <br />errdemon     147672   0.0   0.8 root<br />aioserver    151660   0.0   0.1 root

2005-2-5 09:36 flyger
找到原因了,用showProcInfo 发现一个交易一直未退出,检查程序发现有死循环。

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.