Chinaunix

标题: aix环境下informix经常宕机 [打印本页]

作者: laike    时间: 2010-02-01 10:54
标题: aix环境下informix经常宕机
以下是宕机日志,请各位高手帮忙看看,谢谢,这是我的生产系统,几乎2天就宕一次,重新启动就好了,帮忙看看那里配置有问题,多谢
15:29:21  Maximum server connections 74
15:34:21  Fuzzy Checkpoint Completed:  duration was 0 seconds, 472 buffers not flushed,
timestamp: 0xe2cd05e4.
15:34:21  Checkpoint loguniq 11616, logpos 0xc00358, timestamp: 0xe2cd05e4

15:34:21  Maximum server connections 74
15:36:28  Dynamically allocated new virtual shared memory segment (size 4189952KB)
15:36:35  Requested shared memory segment size rounded from 4193444KB to 4193456KB
15:36:35  Dynamically allocated new virtual shared memory segment (size 4193456KB)
15:36:43  Assert Failed: No Exception Handler
15:36:43  IBM Informix Dynamic Server Version 9.40.FC6   
15:36:43   Who: Session(94, nmgamis@20.1.47.45, -1, 7000001a4f32d3
                Thread(160, sqlexec, 7000001a4f092f0, 4)
                File: mtex.c Line: 431
15:36:43   Results: Exception Caught. Type: MT_EX_OS, Context: mem
15:36:43   Action: Please notify IBM Informix Technical Support.
15:36:43  stack trace for pid 352386 written to /tmp/af.488330b
15:36:43   See Also: /tmp/af.488330b, shmem.488330b.0
15:37:27  Error writing '/tmp/shmem.488330b.0' errno = 28
15:37:27  mtex.c, line 431, thread 160, proc id 352386, No Exception Handler.
15:37:27  Fatal error in ADM VP at mt.c:12358
15:37:27  Unexpected virtual processor termination, pid = 352386, exit = 0x100

15:37:27  PANIC: Attempting to bring system down
作者: laike    时间: 2010-02-01 10:56
补充一下机器配置
我的机器是aix5.3,informix9.40
8cpu,32G内存
作者: liaosnet    时间: 2010-02-01 11:55
把/tmp/af.488330b 打包帖上来~~或者发给IBM
作者: laike    时间: 2010-02-01 14:47
fujian

af.488330b.rar

214.46 KB, 下载次数: 34


作者: liaosnet    时间: 2010-02-01 15:52
回复 4# laike
估计是如此变态的语句导致了内存问题(可能是个BUG)

  1. ===========------------- - - - - - -
  2. /informix/bin/onstat -g ses 94:

  3. IBM Informix Dynamic Server Version 9.40.FC6     -- On-Line -- Up 22:54:08 -- 15868240 Kbytes

  4. session                                      #RSAM    total      used       dynamic
  5. id       user     tty      pid      hostname threads  memory     memory     explain
  6. 94       nmgamis  -        -1       20.1.47. 1        -3276800   -3427960   off

  7. tid      name     rstcb            flags    curstk   status
  8. 160      sqlexec  7000001a4f092f0  --BP---  -1752189440 running

  9. Memory pools    count 1
  10. name         class addr              totalsize  freesize   #allocfrag #freefrag
  11. 94           V     7000001a7ae5040  -3276800   151160     3237       43        

  12. name           free       used           name           free       used      
  13. overhead       0          3248           scb            0          144      
  14. opentable      0          564096         filetable      0          6016      
  15. ru             0          600            log            0          4232      
  16. temprec        0          16248          keys           0          16064     
  17. ralloc         0          8585620336     gentcb         0          1600      
  18. ostcb          0          3456           sort           0          112      
  19. sqscb          0          95528          sql            0          72        
  20. rdahead        0          1120           hashfiletab    0          552      
  21. osenv          0          2472           sqtcb          0          22656     
  22. fragman        0          147592         udr            0          488      

  23. sqscb info
  24. scb              sqscb            optofc   pdqpriority sqlstats optcompind  directives
  25. 7000001a7ac00b0  7000001a7ae6028  0        0           0        2           1         

  26. Sess  SQL            Current            Iso Lock       SQL  ISAM F.E.
  27. Id    Stmt type      Database           Lvl Mode       ERR  ERR  Vers Explain   
  28. 94                   csmp               CR  Not Wait   0    0    9.03 Off        

  29. Current SQL statement :
  30.   insert into t_optlog (did,objno,btnid,memo,optid,optdate)   values
  31.     (?,?,?,?,?,?);insert into t_optlog (did,objno,btnid,memo,optid,optdate)  
  32.     values (?,?,?,?,?,?);insert into t_optlog
  33.     (did,objno,btnid,memo,optid,optdate)   values (?,?,?,?,?,?);insert into
  34.     t_optlog (did,objno,btnid,memo,optid,optdate)   values
  35.     (?,?,?,?,?,?);insert into t_optlog (did,objno,btnid,memo,optid,optdate)  
  36.     values (?,?,?,?,?,?);insert into t_optlog
  37.     (did,objno,btnid,memo,optid,optdate)   values (?,?,?,?,?,?);insert into
  38.     t_optlog (did,objno,btnid,memo,optid,optdate)   values
  39.     (?,?,?,?,?,?);insert into t_optlog (did,objno,btnid,memo,optid,optdate)  
  40.     values (?,?,?,?,?,?);insert into t_optlog
  41.     (did,objno,btnid,memo,optid,optdate)   values (?,?,?,?,?,?);insert into
  42.     t_optlog (did,objno,btnid,memo,optid,optdate)   values
  43.     (?,?,?,?,?,?);insert into t_optlog (did,objno,btnid,memo,optid,optdate)  
  44.     values (?,?,?,?,?,?);insert into t_optlog
  45.     (did,objno,btnid,memo,optid,optdate)   values (?,?,?,?,?,?);insert into
  46.     t_optlog (did,objno,btnid,memo,optid,optdate)   values
  47.     (?,?,?,?,?,?);insert into t_optlog (did,objno,btnid,memo,optid,optdate)  
  48.     values (?,?,?,?,?,?);insert into t_optlog
  49.     (did,objno,btnid,memo,optid,optdate)   values (?,?,?,?,?,?);insert into
  50.     t_optlog (did,objno,btnid,memo,optid,optdate)   values
  51.     (?,?,?,?,?,?);insert into t_optlog (did,objno,btnid,memo,optid,optdate)  
  52.     values (?,?,?,?,?,?);--------------------省略64K字节~
复制代码

作者: liaosnet    时间: 2010-02-01 15:59
15:36:28  Dynamically allocated new virtual shared memory segment (size 4189952KB)
15:36:35  Requested shared memory segment size rounded from 4193444KB to 4193456KB
15:36:35  Dynamically allocated new virtual shared memory segment (size 4193456KB)

在短短7秒的时间内,要向系统申请两次共8G的内存...




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2