WebSphere Application Server 6.1 FixPack 21 上的应用程序启动时间较长
我发现在从 WAS FixPack15 迁移到 FixPack 21 后,我的应用程序启动时间增长了很长时间。应用程序启动时间是指日志语句之间的时间间隔:
WSVR0200I: 正在启动应用程序
AND
WSVR0221I: 应用程序已启动
此时间间隔是在 FP 15 上不到 10 秒,但在 FP 21 上则为 2 分钟。除了新的修复包之外,没有任何变化。 但是,如果我退回 WAS 实例,然后启动应用程序,则启动时间很短(10 秒)。 但有时,当我不弹回我的 WAS 实例时,我的应用程序在 FP 21 上启动需要 2 分钟,而过去在 FP 15 上启动需要 10 秒。
我想知道你们中是否有人对如何解决此问题有任何指示。
我的操作系统是 Red Hat Enterprise Linux Server 5.1 版 (Tikanga)
I'm seeing that my application startup times have grown long after I've migrated from WAS FixPack15 to FixPack 21. By application startup time, I mean the interval between the log statements :
WSVR0200I: Starting application
AND
WSVR0221I: Application started
This interval was less than 10 sec on FP 15, but it is 2 min on FP 21. Nothing has changed, except for the new fix pack.
However, if I bounce my WAS instance, and then start the application, the start up time was short (10 sec). But on occasions when I don't bounce my WAS instance, my application startup on FP 21 takes 2 min where it used to take 10 sec on FP 15.
I was wondering if any of you have any pointers about how to troubleshoot this issue.
My OS is Red Hat Enterprise Linux Server release 5.1 (Tikanga)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我要做的一件事是通过将日志与较快版本和较慢版本进行比较来计时。 这可以让您将较差的性能缩小到单个组件而不是整个组件。
我过去使用过 21,并没有注意到它变慢,但这表明我在 AIX 和 Windows 上使用它,所以这可能是操作系统问题。
如果您缩小了性能不佳的功能的范围,请将其发布在这里,然后我会再看一下。
问候,
迈克尔。
One thing that I would do is time it by comparing the logs against the faster version and the slower version. This may allow you to narrow the poor performance down to an individual component rather than the entire thing.
I have used 21 in the past and didn't notice it being slower, but that said I was using it on AIX and Windows so it may be an operating system issue.
If you narrow down the poorly performing function post it here and then I will look at it a bit more.
Regards,
Michael.
我从 FP13 转到 FP21,并没有发现我的应用程序有任何放缓,但那是在 Windows 上。
你确定这是你唯一改变的吗?
您的应用程序中是否使用了任何 WebSphere API/代码?
您实际上应用了所有修复包吗? 下载页面是一个真实的视力表,但您必须更新 WebSphere和 Java SDK。 如果您使用 IHS,则还必须更新 IHS、插件和 SDK。
最后,你说它只是在重新启动应用程序时慢,但在重新启动整个服务器时却慢。 我想知道您的应用程序是否存在 JVM 堆问题。 您运行的堆有多大? 重新启动时是否遇到 GC 问题?
I went from FP13 to FP21 and didn't see any slowdown on my apps, but that was on Windows.
Are you sure that's the only thing you have changed?
Are you using any WebSphere APIs / code in your app?
Did you actually apply all of the fixpacks? The download page is a real eyechart, but you have to update WebSphere and the Java SDK. If you are using IHS, you have to update IHS, the plugins and the SDK there too.
Finally, you say it's only slow when restarting the app, but not when restarting the whole server. I am wondering if there's JVM heap issues with your app. How big of a heap are you running with? Are you seeing GC issues when restarting it?
一些想法:
A few ideas: