最近,现网服务器出现僵尸的情况?请大家帮忙讨论一下。
?
tomcat版本:5.5.27
报错日志:
看 catalina_20120928 日志, 2012-9-28 15:39:37 时间点前就异常了,日志也不写了;报了
ERROR: ld.so: object '/lib/FileProtect.so' from /etc/ld.so.preload cannot be preloaded: ignored.
?
然后重启,就OK了,可是运行一段时间又出现服务僵死,页面访问不了(没响应)。
……………..
- Exec[0]: Login.getOnlineStat()
- Exec[0]: Login.doEasyLogin()
- Exec[0]: Login.doEasyLogin()
- Exec[0]: Login.doLogin()
- Exec[0]: Login.getOnlineStat()
- Exec[0]: Login.doEasyLogin()
- Exec[0]: Login.doEasyLogin()
- Exec[0]: Login.doEasyLogin()
- Exec[0]: Login.doEasyLogin()
- Exec[0]: Login.doLogin()
string:method=initPageData
toLowerCase:method=initpagedata
Normalize:method=initpagedata
2012-9-28 15:19:34 org.apache.tomcat.util.threads.ThreadPool logFull
严重 : All threads (150) are currently busy, waiting. Increase maxThreads (150) or check the servlet status
- Exec[0]: Login.doLogin()
- Exec[0]: Login.doLogin()
ERROR: ld.so: object '/lib/FileProtect.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/lib/FileProtect.so' from /etc/ld.so.preload cannot be preloaded: ignored.
2012-9-28 15:39:37 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息 : The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/jdk1.5.0_15/jre/lib/i386/server:/home/jdk1.5.0_15/jre/lib/i386:/home/jdk1.5.0_15/jre/../lib/i386
2012-9-28 15:39:37 org.apache.coyote.http11.Http11BaseProtocol init
信息 : Initializing Coyote HTTP/1.1 on http-8080
2012-9-28 15:39:37 org.apache.catalina.startup.Catalina load
信息 : Initialization processed in 889 ms
2012-9-28 15:39:37 org.apache.catalina.core.StandardService start
信息 : Starting service Catalinacatalina_20120928
2.这个现场应该是tomcat的线程,你是要看看这些线程在干什么吗?
3.如何用jstack查看具体线程在干什么?有没有文档之类。
谢谢1#提供帮助。
用法jstack pid pid为进程ID