RedHat Enterprise Linux 上的 CF 9 出现奇怪的 JVM 崩溃问题

发布于 2024-09-10 08:15:26 字数 564 浏览 3 评论 0原文

我们目前在 RedHat Enterprise Linux 服务器上运行 ColdFusion 9,并发现在某些情况下,JVM 崩溃,导致 CF 服务器完全无用,需要重新启动整个服务器。

在 JVM 完成其死亡螺旋之前,CF 应用程序返回的唯一错误是 java.lang.IndexOutOfBoundsException,并且它不会在堆栈跟踪中提供太多附加信息。还有其他人遇到过类似的问题吗?

根据 House of Fusion(大约 2003 年)上的一些非常古老的线程,这是一个由于缓存问题而偶尔出现的问题。但据推测,该问题已在后续 CF 版本中得到修复。

不管怎样,我提前为这个问题的模糊性表示歉意,但是我们在崩溃之前返回的错误并不是特别有帮助。

我们无法在 Windows、Mac 或 Ubuntu 上重现此问题。每当在任何这些环境中抛出 java.lang.IndexOutOfBoundsException 错误时,JVM 都会很好地恢复。任何帮助将不胜感激。

编辑:今天早上严重脑抽筋,我们运行的是 Enterprise Redhat,而不是 Enterprise Tomcat。

We're currently running ColdFusion 9 on a RedHat Enterprise Linux server and have found that, under certain circumstances, the JVM is crashing causing the CF server to be completely useless and requiring a full server restart.

The only error that's being returned by the CF app just prior to the JVM completing its death spiral is a java.lang.IndexOutOfBoundsException and it doesn't give too much additional information in the stacktrace. Has anyone else encountered a similar problem to this?

Based on some really old threads on House of Fusion (circa 2003) this was a problem that occasionally surfaced due to a caching problem. But, supposedly, that has been fixed in subsequent CF versions.

Anyway, I apologize in advance for the vagueness of this question but the errors we're getting back just before it crashes aren't particularly helpful.

We have not been able to replicate this problem on Windows, Mac or Ubuntu. Whenever the java.lang.IndexOutOfBoundsException error is thrown in any of those environments the JVM recovers just fine. Any help would be greatly appreciated.

Edit: Suffered a serious brain cramp this morning, we're running Enterprise Redhat not Enterprise Tomcat.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

高速公鹿 2024-09-17 08:15:26

当 ColdFusion 迭代结构时,存在已知的内存问题。您是否转储或深度复制任何大型结构?

例如,以下内容之前曾使我的服务器陷入困境:

<cfdump var="#mybigStruct#" />

无论结构与否,为了调试这些东西,我发现服务器在使用经过尝试且真实的日志语句时陷入困境,在服务器“最后一口气”上磨练以隔离导致崩溃的代码行。

There are known memory issues when ColdFusion iterates over structs. Are you dumping or deep copying any large structures?

For example, the following has tanked my servers before:

<cfdump var="#mybigStruct#" />

Structs or not, to debug this stuff I found where the server was tanking using tried and true log statements, honing on the servers "last breath" to isolate the line of code causing the crash.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文