联系:QQ(5163721)
标题:HOW TO GENERATE SYSTEMSTATE ON THE CELLSRV TO IDENTIFY MEMORY LEAKS
作者:Lunar©版权所有[文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.]
1. Executing command kill -12 on the cellsrv pid.
Identify the pid of cellsrv process -> ps -ef |grep ‘cellsrv 100’
kill -12
Example:
# ps -ef |grep 'cellsrv 100' root 15182 30943 0 16:34 pts/0 00:00:00 grep cellsrv 100 root 25280 25278 0 Aug08 ? 00:18:38 /opt/oracle/cell11.2.2.2.0_LINUX.X64_101206.2/cellsrv/bin/cellsrv 100 5000 9 5042 #kill -12 25280
2. On the storage cell, obtain the statedump by running command from cellcli:
cellcli>alter cell events = "immediate cellsrv.cellsrv_statedump(0,0)"
3. Provide to the Service Request the trace file generated on the storage cell, located under:
#cd $ADR_BASE/diag/asm/cell/<hostname>/trace
The statedump is generated on the thread 0 of cellsrv. The file will have name like svtrc_
Collect all the the files svtrc_