LMS 2.6 Common Service increase recommended size limit

Answered Question
Nov 20th, 2007
User Badges:

Hi


I am running LMS 2.6 and every time I checking Log File Status (Common Service > Home > Log File Status) my logs such as: dmgtd.log, daemons.log, psu.log, and license.log always showing in red font and is way over the recommended size limit. I wonder should I or how can I increase the recommended size Limit (currently set as 30000 bytes as Less than 1% of utilization on all log) The only exception is stdout.log which is 4450787 over 5242880. I ran logBackup.pl several times, but right after I ran it, the logs mentioned above still showing over than recommended size. Any suggestion and opinion are great appreciated.


Thanks,


JL


Correct Answer by Joe Clarke about 9 years 6 months ago

Recommended size is just that, a recommendation. Going above this does not cause anything to fail unless disk space becomes exhausted. If you do want to increase those recommendations, you can modify NMSROOT/conf/logstat.conf.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Tue, 11/20/2007 - 12:51
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Don't use logBackup.pl. Instead, configure logrot.pl to maintain your log files. Logrot is designed to run while dmgtd is running, and will allow you to truncate and archive log files. Logrot is documented in the LMS online help, and you can access its configuration menu by running:


/opt/CSCOpx/bin/logrot.pl -c


Once you have logrot configured the way you like, you can schedule it to run periodically using cron.

jayshihlin Tue, 11/20/2007 - 13:58
User Badges:

Thank you for the reply. I will setup a schedule logrot.pl to truncate the log. Just a side question. Is 30000 recommend size limit is fine? It shows that its utilized less than 1%. If I can increase the recommended size limit is that better or I should leave it as 30000 bytes See attachment. Again, thanks for your respond.


JL



Attachment: 
Correct Answer
Joe Clarke Tue, 11/20/2007 - 15:11
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Recommended size is just that, a recommendation. Going above this does not cause anything to fail unless disk space becomes exhausted. If you do want to increase those recommendations, you can modify NMSROOT/conf/logstat.conf.

Actions

This Discussion