技术文章 - CS393413
方法服务器频繁崩溃,在 Windchill 中创建许多 hs_err_pid 文件
已修改: 06-Mar-2025
适用于
- Windchill PDMLink 11.1 to 13.0
说明
- 方法服务器崩溃非常频繁,创建了许多hs_err_pid文件
- Windchill 正在启动,但几分钟后方法服务器进程崩溃
- 方法服务器日志可能包含:
WARNING: Unable to start async because the following classes in the processing chain do not support async [wt.httpgw.filter.WTContextBeanFilter,org.springframework.web.servlet.DispatcherServlet,wt.servlet.ServletRequestMonitorFilter,com.ptc.core.ui.validation.URLValidationFilter,wt.licenseusage.licensing.LicenseFilter,wt.servlet.RequestInterrupter,wt.servlet.CompressionFilter] java.lang.IllegalStateException: A filter or servlet of the current chain does not support asynchronous operations.
- 在Windchill/opt/ntService中创建了大量文件,例如hs_err_pidXXX.log
- hs_err_pid包含以下信息:
# A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000001c608d8b4a7, pid=6604, tid=12584 # # JRE version: OpenJDK Runtime Environment Corretto-11.0.17.8.1 (11.0.17+8) (build 11.0.17+8-LTS) # Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.17.8.1 (11.0.17+8-LTS, mixed mode, compressed oops, g1 gc, windows-amd64) # Problematic frame: # J 1841 c2 java.util.LinkedHashMap.get(Ljava/lang/Object;)Ljava/lang/Object; java.base@11.0.17 (33 bytes) @ 0x000001c608d8b4a7 [0x000001c608d8b460+0x0000000000000047]
- 另一个示例hs_err_pid文件显示当前线程中的SentinelJava64.dll :
# # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (./src/hotspot/share/runtime/safepoint.cpp:894), pid=9976, tid=4088 # fatal error: Deadlock in safepoint code. Should have called back to the VM before blocking. # # JRE version: OpenJDK Runtime Environment Corretto-11.0.10.9.1 (11.0.10+9) (build 11.0.10+9-LTS) # Java VM: OpenJDK 64-Bit Server VM Corretto-11.0.10.9.1 (11.0.10+9-LTS, mixed mode, compressed oops, g1 gc, windows-amd64) # Core dump will be written. Default location: E:\ptc\Windchill_12.1\Windchill\hs_err_pid9976.mdmp # # If you would like to submit a bug report, please visit: # https://github.com/corretto/corretto-11/issues/ # --------------- T H R E A D --------------- Current thread (0x000002266d6d9000): JavaThread "ajp-nio-127.0.0.1-8010-exec-2" daemon [_thread_in_native_trans, id=4088, stack(0x000000920e100000,0x000000920e200000)] Stack: [0x000000920e100000,0x000000920e200000] Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x5f402a] V [jvm.dll+0x77db5e] V [jvm.dll+0x77f22f] V [jvm.dll+0x77f8a7] V [jvm.dll+0x246804] V [jvm.dll+0x658e4b] V [jvm.dll+0xffdc4] V [jvm.dll+0x73b7ba] V [jvm.dll+0x137bc8] V [jvm.dll+0x3b4914] C [ SentinelJava64.dll +0x49e5]
- 方法服务器不断停止,日志文件中出现有关缓存大小 (StandardFVService$RootFolderCache) 的警告
这是文章 393413 的 PDF 版本,可能已过期。最新版本 CS393413