Candlepin log files are not rotated and filling up the file system in Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • Parent filesystem /var/log is filled up with candlepin.log file.

    [root@test ]# ls -lrth /var/log/candlepin/*
    
    total 19316752
    -rw-r--r--. 1 tomcat tomcat        4081 Apr 11 13:51 audit.log
    -rw-r--r--. 1 tomcat tomcat       60916 Apr 11 13:38 audit.log.1.gz
    -rw-r--r--. 1 tomcat tomcat         203 Apr  8 16:37 audit.log.2.gz
    -rw-r--r--. 1 tomcat tomcat         412 Apr  8 16:34 audit.log.3.gz
    -rw-r--r--. 1 tomcat tomcat         279 Apr  8 16:21 audit.log.4.gz
    -rw-r--r--. 1 tomcat tomcat          20 Apr  8 16:13 audit.log.5.gz
    -rw-r--r--. 1 tomcat tomcat 10832789413 Apr 11 13:51 candlepin.log    << Check the size here.
    -rw-r--r--. 1 tomcat tomcat  8946950489 Apr 11 13:39 error.log
    
  • Candlepin log files are not rotated as it keeps writing to the same file.

Environment

  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content