2004年5月21日

如何调高COM+中STA对象线程池的大小(zz)

摘要: 微软的设计使然,STA线程模型组件在COM+中,每个CPU支持最多10个实例。 首先,这一切定义描述在 http://support.microsoft.com/default.aspx?scid=kb;EN-US;282490 中, 节选如下: Thread Pool in COM+ In COM+, each server application maintains two sep... 阅读全文

posted @ 2004-05-21 01:54 Snowwolf 阅读(1254) 评论(0) 推荐(0) 编辑

Realease COM object in .net manage code(zz)

摘要: Recently, My client application have some issues, we found application will hang or perf down after longtime running. They call tons of COM objects in .net code. We suspect of .net clr doesn't release... 阅读全文

posted @ 2004-05-21 01:47 Snowwolf 阅读(998) 评论(0) 推荐(0) 编辑

Q: "为什么如果我们把这两个组件安装在同一个COM+组件包中问题就不会出现"(zz)

摘要: A: 问题的根源在于COM+ 如何assign一个worker thread 来用于clients 的CreateObject 请求。在COM+ 1.0 (Win2000)下,如果机器是单CPU, STA thread pool 的起始大小为 8, 上限为10。通常情况下每个STA worker thread 会接受5个CreateObject 请求,然后COM+ runtime才决定create... 阅读全文

posted @ 2004-05-21 01:34 Snowwolf 阅读(897) 评论(0) 推荐(0) 编辑

导航