Tomcat挂掉 java: res_query.c:251: __libc_res_nquery: Assertion `hp != hp2' failed.

java: res_query.c:251: __libc_res_nquery: Assertion `hp != hp2’ failed. 已放弃

java: res_query.c:251: __libc_res_nquery: Assertion `hp != hp2' failed.
/opt/prod/apache-tomcat-7.0.64/bin/catalina.sh: line 389: 46080 已放弃              
 (core dumped) "/opt/java/jdk1.6.0_31/bin/java" "-Djava.util.logging.config.file=
 /opt/prod/apache-tomcat-7.0.64/conf/logging.properties" -
 Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -server -Xms1000M -Xmx10000M -Xss512k -
 XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:PermSize=64M -XX:MaxPermSize=300M -XX:+DisableExplicitGC -
 XX:MaxTenuringThreshold=31 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -
 XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -
 XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=true -Duser.timezone=GMT+08 -
 Djava.endorsed.dirs="/opt/prod/apache-tomcat-7.0.64/endorsed" -classpath "/opt/prod/apache-tomcat-
 7.0.64/bin/bootstrap.jar:/opt/prod/apache-tomcat-7.0.64/bin/tomcat-juli.jar" -Dcatalina.base="/opt/prod/apache-tomcat-7.0.64" 
 -Dcatalina.home="/opt/prod/apache-tomcat-7.0.64" -Djava.io.tmpdir="/opt/prod/apache-tomcat-7.0.64/temp" 
 org.apache.catalina.startup.Bootstrap start

/var/log/message中信息如下。

Mar 11 07:41:40 S-WEB1 abrt[67014]: Saved core dump of pid 46080 (/opt/java/jdk1.6.0_31/bin/java) to /var/spool/abrt/ccpp-2019-03-11-07:41:26-46080 (2024013824 bytes)
Mar 11 07:41:40 S-WEB1 abrtd: Directory 'ccpp-2019-03-11-07:41:26-46080' creation detected
Mar 11 07:41:41 S-WEB1 abrtd: Executable '/opt/java/jdk1.6.0_31/bin/java' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Mar 11 07:41:41 S-WEB1 abrtd: 'post-create' on '/var/spool/abrt/ccpp-2019-03-11-07:41:26-46080' exited with 1
Mar 11 07:41:41 S-WEB1 abrtd: Deleting problem directory '/var/spool/abrt/ccpp-2019-03-11-07:41:26-46080'

解决方法:升级jdk1.6到最新稳定版。(待测试)

你可能感兴趣的:(Tomcat挂掉 java: res_query.c:251: __libc_res_nquery: Assertion `hp != hp2' failed.)