Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6042

log files from EC2 instances accumulate

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ec2-plugin
    • Labels:
      None

      Description

      Each instance gets its own hudson/slave-i-xxxxxxxxxx.log, and they are never deleted.

      Run 1000 instances over a few weeks... have to delete 1000 log files.

      I suggest:

      • start writing them in a dir called ec2-slave-logs/
      • auto-delete them when we stop a slave
      • also delete everything in that dir at startup

        Issue Links

          Activity

          Hide
          recampbell recampbell added a comment -

          This is a dupe of JENKINS-5738

          Show
          recampbell recampbell added a comment - This is a dupe of JENKINS-5738
          Hide
          evernat evernat added a comment -

          @recampbell: Why is this a duplicate of Jenkins 5738? The duplicate of JENKINS-5738 was another one perhaps (JENKINS-6782).
          In any case a workaround to this issue is certainly to have a clean-up job scheduled in Jenkins with a shell command deleting old slave-i-xxxxxxxxxx.log files.

          Show
          evernat evernat added a comment - @recampbell: Why is this a duplicate of Jenkins 5738? The duplicate of JENKINS-5738 was another one perhaps ( JENKINS-6782 ). In any case a workaround to this issue is certainly to have a clean-up job scheduled in Jenkins with a shell command deleting old slave-i-xxxxxxxxxx.log files.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              lifeless lifeless
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: