企业绩效管理网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1288|回复: 3

Parameter to set Maximum Lock Time?

[复制链接]

66

主题

378

帖子

540

积分

高级会员

Rank: 4

积分
540
QQ
发表于 2014-6-24 03:51:24 | 显示全部楼层 |阅读模式
Every once and awhile a user will generate a view or subset that generates and inordinate amount of locking.

Is there a parameter or process that sets a maximum user generated lock?

Typically if the lock is over 100 seconds the lock is indefinite. It would be great to set that as a maximum and if exceeded would disconnect the user or cancel the thread.

I have heard ReceiveProgressResponseTimeoutSecsmight might work, has anyone had success with that parameter?

Thanks!
回复

使用道具 举报

96

主题

400

帖子

617

积分

高级会员

Rank: 4

积分
617
QQ
发表于 2014-6-24 06:34:03 | 显示全部楼层
As far as an automated method of killing a user, we have created a windows service using the  C/C++ API that will consume TM1TOP and kill locking processes after a threshold is met. We did it as a windows service because the the processes starts a TM1TOP instance and there are times that locks will prevent TM1TOP from opening, this way it is always logged in.

Looking at your signature you say you are using 9.1 and 10.1. Which system is having the locks occur? If this is the 10.1 instance then you may want to track down the cause of the locks. With parallel interaction and the other improvements locking should not be a frequent thing.
回复 支持 反对

使用道具 举报

81

主题

389

帖子

575

积分

高级会员

Rank: 4

积分
575
QQ
发表于 2014-6-24 07:24:23 | 显示全部楼层
George I wanted to thank you for replying.

Our new system is in 10.1 and each lock is unique so it it is hard to plan around.

So from my understanding the only way to stop a transaction is to do it through custom code.
回复 支持 反对

使用道具 举报

79

主题

390

帖子

562

积分

高级会员

Rank: 4

积分
562
QQ
发表于 2014-6-24 07:57:12 | 显示全部楼层
There used to be an issue with the client and servers losing track of each other which.  This usually showed up as the hung user with an "ObjectDuplicate()" status in TM1Top.



Are you talking about broken threads that never recover or threads that you'd  like to kill becuase a user asked for too much?

If its broken threads then the cfg might help. Let us know as I think the specific Object Duplicate bug doesn't exists anymore so if the same kind of thing is happening again it would be good to know.

Cheers

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|企业绩效管理网 ( 京ICP备14007298号   

GMT+8, 2023-5-31 04:50 , Processed in 0.068418 second(s), 38 queries .

Powered by Discuz! X3.1 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表