在Windows2003Server+ IIS6上,我的32位CF8.01 (累积热补丁2)大约每1或2个月就会冻结一次,原因不明。
任务管理器使用~600 The报告JRun (远离~1.2gb限制)。CPU接近0%。
我检查了/log,最近更新的日志没有什么特别有趣的事情发生。
一旦我重新开始服务,一切都好起来了..
你会做些什么来调查出了什么问题?
我在网上搜索,有人说这是一种叫做JRun死锁的东西。我怎么知道我是不是吃了那种药?我怎样才能防止这样的问题?
谢谢!
更新:我查看了JRun日志,它有很多如下条目:
无法从远程服务器初始化,JRun服务器可能会关闭。返回连接超时的错误页 jrISAPI无法为127.0.0.1:xxxxx初始化代理 jrISAPI无法从远程服务器初始化,JRun服务器可能出现故障。
怎么回事!?
谢谢。
发布于 2009-05-07 19:47:33
您可能不想升级JVM。这取决于您的应用程序。使用cf 8.01的默认JRE是Java1.6,但是我们发现,对于对象重的应用程序,1.5的操作效率要高得多。垃圾收集机制效率更高。
我们让Mike与我们一起工作,为我们的系统重置活动线程的数量,更改jrun内存分配,并测试各种JVM,看看哪个更适合我们。
最新的JVM应该更好地处理对象重的应用程序,但是在我们的测试中,我们仍然发现1.5垃圾收集更适合我们的应用程序。
为了使您的环境适合您的应用程序,服务器调优是一门艺术,也是一种尝试和错误。
(线程太长,不能发表评论)
发布于 2009-05-06 22:14:43
您安装了热修复吗?
JRun engineering has fixed the JRun deadlock issue with the hot fix provided below. Follow the instructions to install the hot fix :
1. Download the hot fix JAR file (3K).
2. Copy the JAR file into the servers\lib directory (or "servers/lib" on Unix and Linux).
3. This hot fix is compatible with JRun4 Updater 6 (build 106363) and greater. You can verify your build number by one of the following options:
* Open the JRun Management Console. Select Settings, then Version, to display the build number.
* Run the following command at the command prompt:
On Windows 2000, NT and Win9x:
cd "{jrun-base-dir}\bin"
jrun -info
On Unix and Linux:
cd $JRUN_HOME/bin
jrun -info发布于 2009-05-06 23:48:44
伙计,先把jvm升级到最新版本。我知道我一直都这么说,但我怎么强调也不过分。更新jvm可以修复错误和稳定性的世界。我在这里概述了如何做到这一点,并提供了cf 8标准最新版本的链接。
https://stackoverflow.com/questions/831998
复制相似问题