WebSphere App Server native_stderr.log 正在快速更新并且大小变得太大
我正在 WebSphere Portal Server 6.1 和 WAS 7 中运行应用程序。在 native_stderr.log 中,我收到以下错误消息:
<JNI GetStringCritical: buffer=0x000000004D810988>
<JNI ReleaseStringCritical: buffer=000000004D810988>
这些消息快速填满日志,并且日志的大小快速增加并增长到 1 GB约5分钟。
这似乎与我们部署的应用程序无关,因为即使应用程序未使用,日志也会不断生成。
谁能帮我解决这个问题。提前致谢。
I am running an application in WebSphere Portal Server 6.1 and WAS 7. In the native_stderr.log , I am getting the following error message :
<JNI GetStringCritical: buffer=0x000000004D810988>
<JNI ReleaseStringCritical: buffer=000000004D810988>
These messages fill up the log rapidly and the size of the log increases rapidly and grows up to 1 GB in about 5 minutes.
This does not seem to be related to our deployed application since even when the application is not in use the logs keep getting generated.
Can anyone please help me on this issue. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这些消息来自 -verbose:jni。将其关闭以删除消息。从管理控制台:
服务器 > (服务器类型)> WebSphere应用程序服务器>服务器1> (Java和进程管理)>流程定义> (附加属性)> Java虚拟机
有一个选项“Verbose JNI”。或者,您可以在“通用 JVM 参数”参数中手动指定 -verbose:jni。
The messages are from -verbose:jni. Turn that off to remove the messages. From the admin console:
Servers > (Server Types) > WebSphere application servers > server1 > (Java and Process Management) > Process Definition > (Additional Properties) > Java Virtual Machine
There is an option "Verbose JNI". Alternatively, you have -verbose:jni specified manually in the "Generic JVM Arguments" argument.
除此之外,您还必须提供其他信息以供人们提供帮助。
您的应用程序中的 JNI 内容是什么?
请注意此处的调用 - GetStringCritical() 可能会阻塞 JVM 上的 GC。
尝试关闭应用程序的 JNI 组件并查看服务器的行为
Manglu
You got to provide additional info besides this for folks to help.
What is the JNI Stuff that you have in your application?
Notice the call here - GetStringCritical() would likely be blocking GC on the JVM.
Try and turn off the JNI component of the application and see how your servers behave
Manglu
您还可以在配置文件中关闭此功能:(
您必须将此路径修改为您自己的设置)
查找标签,您将看到它在那里:
等
You can also turn this off in the config files:
(You will have to modify this path to your own setup)
Look for the tag, you will see it has there:
etc