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

SSH Slave with out of memory exception keeps failing builds

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • ssh-slaves-plugin
    • None

      Currently there is an issue with ssh slaves if an out of memory exception occurs on the slave machine, it would keep the slave in rotation and immediately fail any builds on the machine.

      Possible solutions:

      • Monitor exceptions being returned by slave. If there is something like out of memory then execute a 'kill -9".
      • Add an option for the java process to execute: `-XX:OnOutOfMemoryError="kill -9 %p"` as this will kill the instance on OOME.

            ifernandezcalvo Ivan Fernandez Calvo
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: