MyException - 我的异常网
当前位置:我的异常网» J2EE » java.lang.OutOfMemoryError: GC overhead limit ex

java.lang.OutOfMemoryError: GC overhead limit exceeded

www.MyException.Cn  网友分享于:2013-11-10  浏览:12349次
Linux 下 resin 发生异常,求大神指点
这个日志是在/opt/resin4/log 下面的jvm-default.log中的
发生异常后,运行在resin容器中的程序就会死掉。。。。。找不到解决办法了。。

刚开发会出现如下的日志信息:
[11-08-15 00:59:43.760] {main} 
[11-08-15 00:59:43.761] {main} Linux 2.6.9-11.ELsmp i386
[11-08-15 00:59:43.762] {main} Java(TM) SE Runtime Environment 1.6.0_24-b07, GB18030, zh
[11-08-15 00:59:43.762] {main} Java HotSpot(TM) Server VM 19.1-b02, 32, mixed mode, Sun Microsystems Inc.
[11-08-15 00:59:43.763] {main} 
[11-08-15 00:59:43.763] {main} user.name = root
[11-08-15 00:59:43.849] {main} 
[11-08-15 00:59:43.869] {main} server listening to localhost.localdomain:6800
[11-08-15 00:59:43.922] {main} 
[11-08-15 00:59:44.521] {main} 
[11-08-15 00:59:44.521] {main} resin.home = /opt/resin4/
[11-08-15 00:59:44.521] {main} resin.root = /opt/resin4/
[11-08-15 00:59:44.522] {main} resin.conf = /opt/resin4/conf/resin.xml
[11-08-15 00:59:44.522] {main} 
[11-08-15 00:59:44.522] {main} server = 127.0.0.1:6800 (app-tier:default)
[11-08-15 00:59:44.522] {main} stage = production
[11-08-15 00:59:51.774] {main} Server[id=default,cluster=app-tier] active
[11-08-15 00:59:51.774] {main} 
[11-08-15 00:59:51.775] {main} http listening to *:xx
[11-08-15 00:59:53.617] {main} https listening to *:xxxx
[11-08-15 00:59:54.008] {main} 
[11-08-15 00:59:54.009] {main} Resin[id=default] started in 13185ms
[11-08-15 08:39:54.467] {http://*:82-7} com.caucho.server.dispatch.BadRequestException: com.caucho.vfs.SocketTimeoutException: client timeout
[11-08-15 08:39:54.468] {http://*:82-7} com.caucho.vfs.SocketTimeoutException: client timeout
[11-08-15 09:16:19.253] {http://*:82-1} com.caucho.server.dispatch.BadRequestException: com.caucho.vfs.SocketTimeoutException: client timeout
[11-08-15 09:16:19.253] {http://*:82-1} com.caucho.vfs.SocketTimeoutException: client timeout

然后就会报下面的异常:
[11-08-14 07:19:47.149] {main} 
[11-08-14 07:19:47.150] {main} Linux 2.6.9-11.ELsmp i386
[11-08-14 07:19:47.150] {main} Java(TM) SE Runtime Environment 1.6.0_24-b07, GB18030, zh
[11-08-14 07:19:47.151] {main} Java HotSpot(TM) Server VM 19.1-b02, 32, mixed mode, Sun Microsystems Inc.
[11-08-14 07:19:47.151] {main} 
[11-08-14 07:19:47.151] {main} user.name = root
[11-08-14 07:19:47.262] {main} 
[11-08-14 07:19:47.282] {main} server listening to localhost.localdomain:6800
[11-08-14 07:19:47.309] {main} 
[11-08-14 07:19:48.102] {main} 
[11-08-14 07:19:48.103] {main} resin.home = /opt/resin4/
[11-08-14 07:19:48.103] {main} resin.root = /opt/resin4/
[11-08-14 07:19:48.104] {main} resin.conf = /opt/resin4/conf/resin.xml
[11-08-14 07:19:48.104] {main} 
[11-08-14 07:19:48.105] {main} server = 127.0.0.1:6800 (app-tier:default)
[11-08-14 07:19:48.105] {main} stage = production
[11-08-14 07:19:55.952] {main} Server[id=default,cluster=app-tier] active
[11-08-14 07:19:55.954] {main} 
[11-08-14 07:19:55.955] {main} http listening to *:xx
[11-08-14 07:19:58.154] {main} https listening to *:xxx3
[11-08-14 07:19:58.214] {main} 
[11-08-14 07:19:58.215] {main} Resin[id=default] started in 14028ms
java.lang.OutOfMemoryError: GC overhead limit exceeded
[11-08-14 07:21:49.169] {http://*:82-1} java.lang.OutOfMemoryError: GC overhead limit exceeded
[11-08-14 07:21:52.034] {http://*:82-1} java.lang.RuntimeException: java.lang.OutOfMemoryError: GC overhead limit exceeded
  at com.caucho.server.host.DomainName.fromAscii(DomainName.java:109)
  at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:310)
  at com.caucho.server.cluster.Server.buildInvocation(Server.java:911)
  at com.caucho.server.dispatch.InvocationServer.buildInvocation(InvocationServer.java:247)

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有