事务(进程 ID 98)与另一个进程被死锁在 锁 资源上
金蝶云社区-逐浪
逐浪
2人赞赏了该文章 5,512次浏览 未经作者许可,禁止转载编辑于2015年07月08日 17:48:08

金蝶K3Cloud5.0 打过6-19补丁 联系QQ:1744881734



发生时间: 2015-07-08 05:39:48
错误编号: ExecuteBatch
错误信息: 事务(进程 ID 98)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。
Sql语句: update t_cre_track set FORPRICE=217.0000000000 where FORENTRYID=164856

===================================================
调用堆栈:

Server stack trace:
at Kingdee.BOS.App.Data.Sql.SqlDatabase.ExecuteBatch(List`1 sqlArray, Int32 batchSize, Int32 commandTimeout)
at Kingdee.BOS.App.Data.DBUtils.ExecuteBatch(Context ctx, List`1 sqlArray, Int32 batchSize)
at Kingdee.K3.SCM.App.Credit.Core.AppBusinessService.TrackCredit.CreditTrackBillData.UpdatePrice(List`1 lsttr)
at Kingdee.K3.SCM.App.Credit.Core.AppBusinessService.TrackCredit.CreditTrackBillData.OperationRowList(Boolean saveModel)
at Kingdee.K3.SCM.App.Credit.Core.AppBusinessService.UpdateCreditLinkData.DoActionBatch(AppBusinessServiceArgs e)
at Kingdee.BOS.App.Core.AbstractOprerationService.ExecuteFormBusinessService(IAppFormBusinessService iBusiness, ExtendedDataEntity[] dataEntities, FormBusinessService service)
at Kingdee.BOS.App.Core.AbstractOprerationService.InvokeFormBusiness(DynamicObject[] objs, Int32 iActionPoint)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)

被死锁的情况时不时有发生,有时莫名其妙又好了。
请问:
1)一般是什么情况下才会出现它?
2)出现问题后,要怎么去跟踪和处理?