THIS FIELD NOTICE IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTY OF MERCHANTABILITY. YOUR USE OF THE INFORMATION ON THE FIELD NOTICE OR MATERIALS LINKED FROM THE FIELD NOTICE IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS FIELD NOTICE AT ANY TIME.
|Affected OS Type
||Affected Release Number
||Change the logwatch's log rotate configuration to prune the logs periodically|
Prime Infrastructure 3.0 might exhibit these symptoms, which would severely impact performance:
- The '/var' directory consumption could hit 90% utilization.
- The '/var/cache/logwatch' directory could consume up to 3GB space.
A Prime Infrastructure 3.x server's performance will be severely impacted if '/var' consumes 90% of its allocated space. In this situation, the space utilized by '/var/cache/logwatch' will be close to the maximum space allocated to '/var'. For example, approximately 3GB.
Complete these steps in order to determine if the server exhibits this usage:
- Log in to the Prime Infrastructure server as root.
- Enter df -kh /var and determine if the entry under the Use% column has a value that is 60% or higher.
- Enter du -sh /var/cache/logwatch and confirm that the value is well below 3GB.
Complete these steps:
- Log in as root and remove all the files under the '/var/cache/logwatch' directory with the rm -rf ./* command.
For example, enter these commands:
bash-4.1# cd /var/cache/logwatch
bash-4.1# ls -al
drwxr-xr-x. 2 root root 4096 Jan 31 04:03 .
drwxr-xr-x. 8 root root 4096 Jun 15 2017 ..
bash-4.1# rm -rf ./*
- From the shell prompt, enter the crontab -e command:
ade # crontab -e
- Add following line to the crontab file in order to help remove all the files under '/var/cache/logwatch' at 9:30 a.m. each day of the week:
30 09 * * * rm -rf /var/cache/logwatch/* >/dev/null 2>&1
If you have not already done so, upgrade the software to one of these releases:
Read the Release Notes before you upgrade to either of these releases. The fix is not yet included in Prime Infrastructure 3.3 or later.
For More Information
If you require further assistance, or if you have any further questions regarding this field notice, please contact the Cisco Systems Technical Assistance Center (TAC) by one of the following methods:
Receive Email Notification For New Field Notices
Cisco Notification Service—Set up a profile to receive email updates about reliability, safety, network security, and end-of-sale issues for the Cisco products you specify.