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

When the network is broken,then jenkins will query dns info in loop.The log file will grow up very fast.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Windows XP Pro|SunJDK1.6.0_21|Tomcat 7.0.14|Jenkins1.418
      Debian 6|OpenJDK1.6.0_18|Tomcat7.0.14|Jenkins1.413
      Server 2008 R2 x64|Sun JDK 1.6.0_25 Jenkins 1.411 and Jenkins 1.413

      The network in my company is often broken.When it was broken,the log file of jenkins would grow up very fast until there is no disk space for it.
      Here is the log in my Windows.

      	question:      [DNSQuestion@9657493 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@29482661 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@16787101 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@12328574 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@7738582 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@776128 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@25267887 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@8281222 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@32275542 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      	question:      [DNSQuestion@32262868 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
      

          [JENKINS-10160] When the network is broken,then jenkins will query dns info in loop.The log file will grow up very fast.

          Helly Guo created issue -

          Joseph Lawson added a comment -

          We are experiencing this on two Server 2008 R2 x64 environments as well. There are virtual machines and it causes the CPU to spike to 100% while Jenkins continuous to pour out the error messages. There are Jenkins users running as services, no slave action.

          A few more example logs:

          question: [DNSQuestion@1903851106 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
          0: 1e00013002fda8e3 0000000000000000 0000000000000000 000000000000 ...0.... ........ ........ ......

          Jul 26, 2011 10:32:16 AM javax.jmdns.impl.DNSIncoming$MessageInputStream readName
          SEVERE: bad domain name: possible circular name detected. Bad offset: 0xffffffff at 0x1c
          Jul 26, 2011 10:32:16 AM javax.jmdns.impl.constants.DNSRecordType typeForIndex
          SEVERE: Could not find record type for index: -1
          Jul 26, 2011 10:32:16 AM javax.jmdns.impl.DNSIncoming readAnswer
          SEVERE: Could not find record type. domain:
          dns[query,192.168.1.254:55048, length=30, id=0x1e00, flags=0x130, questions=765
          questions:
          [DNSQuestion@2095076333 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
          [DNSQuestion@1806052519 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]

          Joseph Lawson added a comment - We are experiencing this on two Server 2008 R2 x64 environments as well. There are virtual machines and it causes the CPU to spike to 100% while Jenkins continuous to pour out the error messages. There are Jenkins users running as services, no slave action. A few more example logs: question: [DNSQuestion@1903851106 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 0: 1e00013002fda8e3 0000000000000000 0000000000000000 000000000000 ...0.... ........ ........ ...... Jul 26, 2011 10:32:16 AM javax.jmdns.impl.DNSIncoming$MessageInputStream readName SEVERE: bad domain name: possible circular name detected. Bad offset: 0xffffffff at 0x1c Jul 26, 2011 10:32:16 AM javax.jmdns.impl.constants.DNSRecordType typeForIndex SEVERE: Could not find record type for index: -1 Jul 26, 2011 10:32:16 AM javax.jmdns.impl.DNSIncoming readAnswer SEVERE: Could not find record type. domain: dns[query,192.168.1.254:55048, length=30, id=0x1e00, flags=0x130, questions=765 questions: [DNSQuestion@2095076333 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] [DNSQuestion@1806052519 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
          Joseph Lawson made changes -
          Environment Original: Windows XP Pro|SunJDK1.6.0_21|Tomcat 7.0.14|Jenkins1.418
          Debian 6|OpenJDK1.6.0_18|Tomcat7.0.14|Jenkins1.413
          New: Windows XP Pro|SunJDK1.6.0_21|Tomcat 7.0.14|Jenkins1.418
          Debian 6|OpenJDK1.6.0_18|Tomcat7.0.14|Jenkins1.413
          Server 2008 R2 x64|Sun JDK 1.6.0_25 Jenkins 1.411 and Jenkins 1.413

          Joseph Lawson added a comment -

          I am testing to see if setting -Dhudson.DNSMultiCast.disabled=true in the jenkins.xml helps bypasses the issue for now.

          Joseph Lawson added a comment - I am testing to see if setting -Dhudson.DNSMultiCast.disabled=true in the jenkins.xml helps bypasses the issue for now.

          Rob Petti added a comment -

          I've been able to reproduce this in Centos 5.6 x64 as well. -Dhudson.DNSMultiCast.disabled=true seems to make it go away...

          Rob Petti added a comment - I've been able to reproduce this in Centos 5.6 x64 as well. -Dhudson.DNSMultiCast.disabled=true seems to make it go away...

          Rob Petti added a comment -

          Scratch that. It's back again.

          Rob Petti added a comment - Scratch that. It's back again.

          Joseph Lawson added a comment -

          Is anyone running on a virtual machine? I wonder if a vMotion or similar operation is causing the blip in the network adapter which triggers this issue. We are running ESXi 4

          Joseph Lawson added a comment - Is anyone running on a virtual machine? I wonder if a vMotion or similar operation is causing the blip in the network adapter which triggers this issue. We are running ESXi 4
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-10159 [ JENKINS-10159 ]
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10158 [ JENKINS-10158 ]

          If anyone sees this, can you please get the thread dump so that we can better understand what's going on?

          Kohsuke Kawaguchi added a comment - If anyone sees this, can you please get the thread dump so that we can better understand what's going on?

            Unassigned Unassigned
            hellyguo Helly Guo
            Votes:
            32 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated:
              Resolved: