[root@*****]# ls -lrt
total 7224540
-rw-r--r-- 1 oraprod oinstall 52844096 Jul 13 2015 ocssd.l10
-rw-r--r-- 1 oraprod oinstall 52814888 Jul 18 2015 ocssd.l09
-rw-r--r-- 1 oraprod oinstall 52823660 Jul 24 2015 ocssd.l08
-rw-r--r-- 1 oraprod oinstall 52847386 Jul 31 2015 ocssd.l07
-rw-r--r-- 1 oraprod oinstall 52806644 Aug 4 2015 ocssd.l06
-rw-r--r-- 1 oraprod oinstall 52873953 Aug 13 2015 ocssd.l05
-rw-r--r-- 1 oraprod oinstall 52875116 Aug 22 2015 ocssd.l04
-rw-r--r-- 1 oraprod oinstall 52840542 Aug 29 2015 ocssd.l03
-rw-r--r-- 1 oraprod oinstall 52502638 Sep 3 2015 ocssd.l02
-rw-r--r-- 1 oraprod oinstall 5477256392 Apr 20 19:03 ocssd.l01
-rw-r--r-- 1 oraprod oinstall 1438132149 Jun 3 00:17 ocssd.log
使用 crsctl get css logfilesize 命令来看设定的css log size 是多少。
[oraprod@**** ~]$ crsctl get css logfilesize
CRS-4676: Successful get logfilesiz e 52428800 for Cluster Synchronization Services.
发现是默认值50m 没有做任何修改。
在support.oracle.com 中查询原因,发现 “ It is caused by unpublished Bug 18700935 - CLOUD:ACLDX0085 OCSSD LOG IS NOT ROTATED"
解决方案也很清楚:
SOLUTION
The CSSD thread that encountered the LFI-00142 error needs to be restarted to ensure log rotation works again.
Manually deleting the logfile will not resolve the log rotation problem.
1). Shutdown CRS on the node reporting the problem.
# crsctl stop crs
2). Once CRS is down, proceed to manually delete the 'ocssd.l10' file, or copy the logfile to another location if you need to keep a backup.
# rm $GRID_HOME/log/<hostname>/cssd/ocssd.l10
3). Startup Clusterware again
# crsctl start crs
Please note this does not resolve the log rotation problem but only allows you to free up some space.
4). Bug 18700935 has been fixed in 11.2.0.4.5 PSU for Unix/Linux platform and 11.2.0.4.12 Bundle for Windows platform. Please apply the patch if required.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/34596/viewspace-2113200/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/34596/viewspace-2113200/