Coldfusion 服务器 (apache httpd) 频繁重新启动
我们在 Solaris 机器上将 Apache httpd 服务器设置为 ColdFusion 服务器。由于对已部署的 ColdFusion 应用程序进行了一些代码更改,我们的 ColdFusion 服务器(httpd 服务而不是实际的机器)经常重新启动。
关于从哪里开始寻找有什么想法吗? ...或者要转向哪些日志? ...或者常见的罪魁祸首?
We have Apache httpd server set up as our ColdFusion server on a Solaris box. And due to some code changes to the deployed ColdFusion application, our ColdFusion server (the httpd service and not the actual machine) is restarting frequently.
Any ideas on where to start looking? ...or which logs to turn to? ...or common culprits?
我首先查看 JVM 日志,了解垃圾收集器被调用的频率。
它肯定与您刚刚部署的新代码段的内存泄漏有关,因此查看 JVM 日志将为您提供一个很好的线索。
另外,我建议使用诸如 FusionReactor 之类的工具,因为这会给你一个很棒的视图到底哪个页面正在执行操作,以及每个请求使用了多少内存。
希望有帮助
I would start by looking at the JVM logs, to see how often the garbage collector is being called.
It will most definitely have something to do with memory leaking on the new piece of code you've just deployed, so looking at the JVM logs, will give you a good clue.
Also, I'd suggest using a tool such as FusionReactor, as this will give you a great view of exactly which of your pages is doing, and how much memory each request uses.
Hope it helps