AX users were hung in system

Sometimes, users were hung in AX system and you'll find a user have more than one SPID.

Let's check step by step. For example, we have two users(A and B), A has two spid(A1,A2) and B has two spid(B1,B2)

Execute sp_who in AX database.

A1 has a block spid B2

B1 has block spid A2

So you'll find A is waiting for B and B is waiting for A. It lead two users or more were hung in system.

Execute sp_lock in AX database

SPID      ObjID            Status

A1        1111111        Grant

A1        1111115        Grant

A1        1111116        Grant

A2        1111112        Grant

B1        1111113        Grant

B2        1111114        waiting

So you'll find B2 is waiting someting for object:111114 and B2 is the root cause of users hung.

Please kill B2 in AX database execute kill B2.

select * from sysobjects where id = '1111114' and you'll find the object name and for your further study.

 

 

posted on 2009-04-30 10:49 Jacky Xu 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/JackyXu1981/archive/2009/04/30/1446827.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值