XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • periodicbackup-plugin
    • None
    • Jenkins - windows

      After upgrading jenkins to 2.426.3 backup fails with the following error log:

      2024-02-08 19:45:10.383+0000 [id=203]    INFO    o.j.p.periodicbackup.ZipStorage#backupAddFile: Number of files in archive C:\jenkinsbackup\backup_2024_02_09_08_42_47_642_1.zip exceeded 65534 or total size of files for this archive exceeded 3906249 kB
      2024-02-08 19:45:10.385+0000 [id=203]    INFO    o.c.p.a.zip.AbstractZipArchiver#createArchiveMain: Building zip: C:\jenkinsbackup\backup_2024_02_09_08_42_47_642_1.zip
      2024-02-08 19:45:22.993+0000 [id=77]    WARNING    j.u.ErrorLoggingScheduledThreadPoolExecutor#afterExecute: failure in task not wrapped in SafeTimerTask
      java.lang.OutOfMemoryError: Java heap space
      2024-02-08 19:45:23.014+0000 [id=203]    SEVERE    h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (PeriodicBackup thread/203) died unexpectedly due to an uncaught exception. This may leave your server corrupted and usually indicates a software bug.
      java.lang.OutOfMemoryError: Java heap space

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 1"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 2"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 8"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 5"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 4"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 3"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "JNA Cleaner"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 6"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 7"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 9"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "jenkins.util.Timer 10"
      2024-02-08 19:49:48.768+0000 [id=91]    SEVERE    h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (Trilead_TransportManager_receiveThread_192.168.14.78:22_0/91) died unexpectedly due to an uncaught exception. This may leave your server corrupted and usually indicates a software bug.
      java.lang.OutOfMemoryError: Java heap space
      2024-02-08 19:49:48.768+0000 [id=120]    SEVERE    hudson.remoting.PingThread#lambda$new$0: Uncaught exception in PingThread Thread[#120,Ping thread for channel hudson.remoting.Channel@1204bc53:LinuxAgent,5,main]
      java.lang.OutOfMemoryError: Java heap space
      2024-02-08 19:49:48.799+0000 [id=120]    INFO    hudson.slaves.ChannelPinger$1#onDead: Ping failed. Terminating the channel LinuxAgent.
      java.lang.OutOfMemoryError: Java heap space

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Computer.threadPoolForRemoting 9"

      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Computer.threadPoolForRemoting 8"
      2024-02-08 19:51:53.524+0000 [id=36]    WARNING    o.e.j.u.t.QueuedThreadPool$Runner#doRunJob: Job failed
      java.lang.OutOfMemoryError: Java heap space

       

      When backup runs, Jenkins becomes unresponsive for a long period and must be restarted. A corrupted zip file is generated in the temporary folder

            Unassigned Unassigned
            michaelgormack Michael
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: