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

Jenkins crash with ClosedChannelException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core, remoting
    • None

      I've setup Jenkins on windows in our internal network to build our projects. But Jenkins regular crashes a few times a day, with one crash always happening around 5:20AM. 

      And all crashes seem begin with event like below

       [JNLP4-connect connection from 192.168.20.90/192.168.20.90:53854] Refusing headers from remote: buildbox8 is already connected to this master. Rejecting this connection.

       And proceeds to

      IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/10.10.0.28:53724 remote=192.168.20.90/192.168.20.90:59087]] / Computer.threadPoolForRemoting 693 for buildbox8 terminated
       java.nio.channels.ClosedChannelException
       {{ at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)}}
       {{ at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)}}
       {{ at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:721)}}
       ...
      

      samrocketman -JENKINS-33886- and I've also checked JENKINS-29616, -JENKINS-28492JENKINS-39232-. They all seem relevant but don't provide a workaround to my problem. The crash will break any build that's running which is very frustrating. I'm willing to help debug this on my side.

      Please find log and support bundle "About Jenkins" as attached.

        1. support_2017-05-02_05.54.07.zip
          17 kB
        2. pipeline_exception.txt
          10 kB
        3. node_error.txt
          32 kB
        4. jenkins-crash-2017-05-02.txt
          18 kB
        5. jenkins.out-20170518.zip
          229 kB
        6. dmp38.cap38.log
          910 kB
        7. dmp38.cap38
          977 kB
        8. BUG_44001_CloseConnection_On_Container.txt
          1 kB
        9. AWS_ELB.settings.png
          AWS_ELB.settings.png
          8 kB

            Unassigned Unassigned
            sandyleo26 Sam Leo
            Votes:
            19 Vote for this issue
            Watchers:
            32 Start watching this issue

              Created:
              Updated:
              Resolved: