WebSphere : server OutOfMemory,重启

WAS server 出现 Caused by: java.lang.OutOfMemoryError  时,

会生成文件
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/heapdump......0001.phd
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/javacore.....0003.txt
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/Snap....0009.trc


----
需要重启服务器

ps -ef | grep server1 --查询server进程ID

在 nodeagent运行时,使用 kill 结束server进程,nodeagent 又会自动启动
需要先停止 nodeagent, kill server, 启动  nodeagent, 启动 server 

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopNode.sh
kill -9  server1ID
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startNode.sh
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1
来自:http://blog.chinaunix.net/uid-9793706-id-371280.html

你可能感兴趣的:(OutOfMemory)