免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: knetfox
打印 上一主题 下一主题

请高手帮助解决! [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-01-11 20:12 |只看该作者

回复 1楼 knetfox 的帖子

我的環境這陣子也常發生這個狀況

>onstat -g ses 6011

IBM Informix Dynamic Server Version 9.40.FC2     -- On-Line -- Up 7 days 04:50:3
4 -- 620592 Kbytes

session                                      #RSAM    total      used       dyna
mic
id       user     tty      pid      hostname threads  memory     memory     expl
ain
6011     dp000    6        1151144  SINGFOR  1        114688     104240     off

tid      name     rstcb            flags    curstk   status
7146     sqlexec  70000003033c268  Y--P---  2784     cond wait(sm_read)

Memory pools    count 1
name         class addr              totalsize  freesize   #allocfrag #freefrag
6011         V     70000003134c040  114688     10448      246        10

name           free       used           name           free       used
overhead       0          3248           scb            0          144
opentable      0          7832           filetable      0          1720
ru             0          280            log            0          4232
temprec        0          2424           keys           0          176
ralloc         0          39288          gentcb         0          4512
ostcb          0          3448           sqscb          0          21344
sql            0          72             rdahead        0          224
hashfiletab    0          552            osenv          0          3016
buft_buffer    0          528            sqtcb          0          4400
fragman        0          5368           sapi           0          72
udr            0          1280

sqscb info
scb              sqscb            optofc   pdqpriority sqlstats optcompind  dire
ctives
700000030e0c028  700000031620028  0        0           0        2           1


Sess  SQL            Current            Iso Lock       SQL  ISAM F.E.
Id    Stmt type      Database           Lvl Mode       ERR  ERR  Vers Explain

6011  -              paflmi             CR  Wait       0    0    9.03 Off
-------------------------------------------------------------------------------------
不過可以明確的知道是....那是我在跑的程式.....

但是....問題是我的程式卻已經不會動了,也沒有報錯......就是一直停在那邊....

如果把程式強制中斷後再重新執行,卻不見得會再出錯.....可見並非程式或資料的問題....

反應給informix 的代理商也還得不到回應.....真是令人頭大

论坛徽章:
0
12 [报告]
发表于 2006-01-12 12:07 |只看该作者

回复 1楼 knetfox 的帖子

it looks like a staled session, sleeping in a "condition wait"  (SM_READ, shared memory reading ).  Sessions may wait on conditions; and there is no acturate waiting time, only the expecting event can invoke the "sleeping on condition wait" session.  Normally, it should not wait a long for shared memory reading, since the 'latch' or semaphore on a share memory resource, say mutex, hash table etc,  should be done in very short time.  Internally it may wait on a semaphore.  I guess, it may be either an Informix bug or a OS patch need to be installed.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP