JVM在内存分配/ Stack Guard页面释放方面崩溃

时间:2016-06-21 10:15:49

标签: java unix jvm

我们最近遇到了一个关于Java应用程序的JVM崩溃。

崩溃日志:

Java HotSpot(TM) 64-Bit Server VM warning: Attempt to protect stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f7d74f56000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)
Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: Attempt to deallocate stack guard pages failed.
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f7d7131a000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)

JDK使用:1.7.0_71-64 操作系统详细信息:2.6.32-220.17.1.el6.x86_64 #1 SMP Thu Apr 26 13:37:13 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

在寻找相同的两种可能性时发现:

  1. 交换Unix盒子本身消耗的空间。 - >检查不是问题,因为盒子上有足够的内存。
  2. 达到pmap限制​​ - >我们没有关于流程崩溃时状态的统计数据。
  3. 还有观察到该进程在VIRT虚拟内存下消耗了大量内存。这与任何事情都有关系吗?

    如果有人可以分享任何有关此错误的过往经验,那将会很棒。或者看到过类似的东西。

0 个答案:

没有答案