免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: tzg

[故障求助] CICS与ORACLE连接问题! [复制链接]

deepblue 该用户已被删除
发表于 2003-12-18 13:55 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
deepblue 该用户已被删除
发表于 2003-12-18 13:56 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
发表于 2003-12-18 13:58 |显示全部楼层

CICS与ORACLE连接问题!

3、
$t1     wait      0xe60217bc blocked   137095     k   no   sys  _pthread_ksleep

$t2     wait      0xe6018fbc blocked   102269     k   no   sys  _pthread_ksleep

$t3     wait      0x32db04b4 running   153031     k   no   sys  _ptrgl

>;$t4     run                  blocked   122201     k   no   sys  _pthread_ksleep

$t5     wait      0xe60268bc blocked   157719     k   no   sys  _pthread_ksleep

$t6     wait      0xe60190bc blocked   102579     k   no   sys  _pthread_ksleep

$t7     wait      0xe6026abc blocked   158411     k   no   sys  _pthread_ksleep

$t8     wait                 running   140943     k   no   sys  lthread_loop

$t9     wait      0xe60206bc blocked   132639     k   no   sys  _pthread_ksleep

$t10    wait      0xe60272bc blocked   160331     k   no   sys  _pthread_ksleep

$t11    wait      0xe6025abc blocked   154139     k   no   sys  _pthread_ksleep

$t12    wait      0xe600dabc blocked    55909     k   no   sys  _pthread_ksleep

$t13    wait      0xe60215bc blocked   136471     k   no   sys  _pthread_ksleep

$t14    wait      0xe60123bc blocked    74597     k   no   sys  _pthread_ksleep

=== Thread 1 ===

evt._pthread_ksleep(0x2023c9e0, 0x0, 0xffffffff, 0x0, 0xffffffff) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102004
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_timedwait(??, ??, ??) at 0xd0102f80
dce_pthread_cond_timedwait(??, ??, ??) at 0xd06bcac8
bde_CondTimedWait(??, ??, ??) at 0xd15bde80
SupPR_DoCondTimedWait(??, ??, ??, ??, ??) at 0xd1c3ecd4
SupPR_CondTimedWait(??, ??, ??) at 0xd1c3e93c
ConTS_GetASWork(??, ??, ??, ??, ??, ??, ??, ??) at 0xd1eb2184
main(??, ??) at 0x10000db0

=== Thread 2 ===

evt._pthread_ksleep(0x2ff220f0, 0x0, 0x0, 0x0, 0x2023c9e0) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102004
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_timedwait(??, ??, ??) at 0xd0102f80
dce_ptdexc_cond_timedwait(??, ??, ??) at 0xd06bec54
timer_loop() at 0xd08e5714
pthread._pthread_body(??) at 0xd00fc230

=== Thread 3 ===

ptrgl._ptrgl() at 0xd159dbc4
BaseStartFunc(??) at 0xd159ab84
BaseStartFunc(??) at 0xd159ab84
pthread._pthread_body(??) at 0xd00fc230

=== Thread 4 ===

evt._pthread_ksleep(??, ??, ??, ??, ??) at 0xd0105d34
signal.sigwait(??, ??) at 0xd0109230
dce_sigwait(??) at 0xd06bf79c
libdcelibc_r.sigwait(??) at 0xd0168738
bde_WaitForSignal(??, ??, ??) at 0xd15a27b4
TasTA_SRT(??) at 0xd1e77ae4
BaseStartFunc(??) at 0xd159ab84
pthread._pthread_body(??) at 0xd00fc230
=== Thread 5 ===

evt._pthread_ksleep(0x2023c9e0, 0x0, 0xffffffff, 0x0, 0xffffffff) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_pthread_cond_wait(??, ??) at 0xd06bca54
MessageHandlingThread(??) at 0xd170bc90
BaseStartFunc(??) at 0xd159ab84
pthread._pthread_body(??) at 0xd00fc230

=== Thread 6 ===

evt._pthread_ksleep(0x202845d0, 0x0, 0x0, 0x0, 0x2023c9e0) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102004
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_timedwait(??, ??, ??) at 0xd0102f80
dce_pthread_cond_timedwait(??, ??, ??) at 0xd06bcac8
bde_ThreadSleep(??) at 0xd159cf9c
CacheThread(??) at 0xd1b3ab84
BaseStartFunc(??) at 0xd159ab84
pthread._pthread_body(??) at 0xd00fc230

=== Thread 7 ===

evt._pthread_ksleep(0x202a16d0, 0x0, 0x0, 0x0, 0x202845d0) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
rpc_server_listen(??, ??) at 0xd08d6c44
trdce_ServerListen(??, ??) at 0xd16e1c78
ClientListen(??) at 0xd1726010
BaseStartFunc(??) at 0xd159ab84
pthread._pthread_body(??) at 0xd00fc230
=== Thread 8 ===

lthread_loop() at 0xd09c9dfc
lthread(??) at 0xd09ca270
lthread(??) at 0xd09ca270
pthread._pthread_body(??) at 0xd00fc230

=== Thread 9 ===

evt._pthread_ksleep(0x203b57e0, 0x0, 0x0, 0x0, 0x20396330) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
cthread_call_executor(??) at 0xd08e7dac
pthread._pthread_body(??) at 0xd00fc230

=== Thread 10 ===

evt._pthread_ksleep(0x203d4ae0, 0x0, 0x0, 0x0, 0x203b57e0) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
cthread_call_executor(??) at 0xd08e7dac
pthread._pthread_body(??) at 0xd00fc230

=== Thread 11 ===

evt._pthread_ksleep(0x203f2b20, 0x0, 0x0, 0x0, 0x203d4ae0) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
cthread_call_executor(??) at 0xd08e7dac
pthread._pthread_body(??) at 0xd00fc230

=== Thread 12 ===

evt._pthread_ksleep(0x20412f00, 0x0, 0x0, 0x0, 0x203f2b20) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
cthread_call_executor(??) at 0xd08e7dac
pthread._pthread_body(??) at 0xd00fc230

=== Thread 13 ===

evt._pthread_ksleep(0x20432110, 0x0, 0x0, 0x0, 0x20412f00) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
cthread_call_executor(??) at 0xd08e7dac
pthread._pthread_body(??) at 0xd00fc230

=== Thread 14 ===

evt._pthread_ksleep(0x20451320, 0x0, 0x0, 0x0, 0x20432110) at 0xd0105c98
evt._pthread_event_wait(??) at 0xd0106190
evt._pthread_event_wait(??) at 0xd0106190
cond._cond_wait_local(??, ??, ??) at 0xd0102130
cond._cond_wait(??, ??, ??) at 0xd01025ac
cond.pthread_cond_wait(??, ??) at 0xd010321c
dce_ptdexc_cond_wait(??, ??) at 0xd06bebdc
cthread_call_executor(??) at 0xd08e7dac
pthread._pthread_body(??) at 0xd00fc230

论坛徽章:
0
发表于 2003-12-18 14:04 |显示全部楼层

CICS与ORACLE连接问题!

[quote]原帖由 "deepblue"]看spid的父进程是不是25782即可。[/quote 发表:


是说ORACLE SESSION的SPID吗?如何查呢?
deepblue 该用户已被删除
发表于 2003-12-18 17:29 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
deepblue 该用户已被删除
发表于 2003-12-18 17:32 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
发表于 2003-12-18 19:20 |显示全部楼层

CICS与ORACLE连接问题!

我查看了一下,我的所有ORACLE的SPID的父进程都是1
  oracle 124154      1   0 18:58:51      -  0:00 oraclesfhc (LOCAL=NO)
  oracle 124368      1   0 18:58:21      -  0:00 oraclesfhc (LOCAL=NO)

然后ps -ef|grep cicsas
    cics  20552  41664   9 18:48:01      -  0:14 cicsas cicssfhc 1441813 106 a00
00000 b0000000
根本就对不上号

另外as就是对应多个session啊。只要把as进程KILL掉,ORACLE SESSION就相应地释放了!

论坛徽章:
0
发表于 2003-12-18 19:30 |显示全部楼层

CICS与ORACLE连接问题!

更夸张的是在高峰期,一个as竟然对应了104个ORACLE SESSION。但我把这个as KILL掉后,SESSION就全都释放了。
太难懂了!
因为我们是在一个程序中分为多个函数以实现不同的功能,实际上和一个as link多个PD差不多,不知道会不会是这个受影响的。
另外我又该如何控制一个as所对应的SESSION(交易)呢?

论坛徽章:
0
发表于 2003-12-18 19:33 |显示全部楼层

CICS与ORACLE连接问题!

还有想问一下,如果手工KILL掉as的话,会不会有什么负面的影响(对CICS其他方面而言),以为CICS文档中建议是不手工KILL as

论坛徽章:
0
发表于 2003-12-19 02:29 |显示全部楼层

CICS与ORACLE连接问题!

cics我不是很懂,可惜帮不上忙!

谢谢deepblue和各位兄弟的热情,如果可以的话,请指教!

有各位的热心帮助才是CU最大的财富!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP