简体   繁体   English

IBM Websphere Portal中的轮询portlet问题

[英]Polling portlet issue in IBM Websphere Portal

I have a problem diagosing an production issue at work. 我在诊断生产问题时遇到问题。 Basically we have an Intranet Portal site running on IBM Websphere Portal (Version 5 or 6). 基本上,我们有一个运行在IBM Websphere Portal(版本5或6)上的Intranet Portal网站。 So pages are pretty much built on composition of different portlets, ie News portlet, generic links portlets, graphic image portlets etc. We also have a Polling portlet created for internal users to vote on specific questions. 因此页面几乎是建立在不同Portlet的基础上的,例如News Portlet,通用链接Portlet,图形图像Portlet等。我们还创建了一个Polling Portlet,供内部用户对特定问题进行投票。 However, there's being an issue with this polling portlet causing an outage of the entire Portal when (I was told) multiple users voting at the same time (or configuring the portlet at the same time) that builds up the number of running threads. 但是,当(告诉我)多个用户同时投票(或同时配置portlet)以增加正在运行的线程数时,此轮询portlet会出现问题,导致整个Portal中断。 I've being trying to duplicate the problem on QA/Test environment with load testing tools (eg Fiddler) but failed to reproduce the issue. 我正在尝试使用负载测试工具(例如Fiddler)在QA /测试环境中重复该问题,但未能重现该问题。 There's limited amount of information I've being given when they approach me for finding the root cause of the problem in the code. 当他们接近我以在代码中查找问题的根本原因时,我所获得的信息很少。 Without being able to duplicate the issue there's no way I'm able to ensure I have fixed the problem. 如果无法复制问题,则无法确保已解决问题。

Could anyone advice what other ways I can go in reproducing the issue? 任何人都可以建议我重现此问题的其他方式吗? Has anyone ever come across with similar issue before? 有人遇到过类似的问题吗? How did you go about reproducing it? 您是如何进行复制的?

I'm sorry I can't provide much information apart from describing the problem to you. 很抱歉,除了向您描述问题之外,我无法提供太多信息。 Cheers 干杯

I suspect that what you were told about the Portal outage has to do with Portal Server running out of Web Threads. 我怀疑您被告知门户中断的原因与门户服务器耗尽Web线程有关。

WebSphere Portal is merely an application built on top of WebSphere Application Server. WebSphere Portal仅仅是构建在WebSphere Application Server之上的应用程序。 WebSphere Application Server provides the JavaEE runtime itself. WebSphere Application Server本身提供JavaEE运行时。 To make a long story short, WebSphere Application Server maintains thread pools for certain tasks. 简而言之,WebSphere Application Server维护某些任务的线程池

One of the thread pools is the "Web Container" thread pool. 线程池之一是“ Web容器”线程池。 If the value is set to X , then at most X Web requests can be processed at the same time; 如果该值设置为X ,那么最多可以同时处理X Web请求;否则,请参见表5。 the X+1 th request will have to wait. X+1个请求将不得不等待。

An outage can occur if the thread pool is max'd out and there's a backlog of requests waiting for a thread to be available. 如果线程池已满,并且存在等待线程可用的请求积压,则可能会发生中断。

You should check the size of the Web Container thread pool and take it from there. 您应该检查Web容器线程池的大小并从那里获取。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM