Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i prevent that the jenkins log gets spammed with strange messages [duplicate]

Tags:

jenkins

Nearly every week our development server running jenkins has no disk space left because the jenkins log file gets huge (>100g). It gets completely filled by these strange messages:

[DNSQuestion@1218458593 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1577918927 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1610023624 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1936465154 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@983177141 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@229530224 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1789454415 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@2034199573 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@326302520 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1827692284 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1094138301 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1139456586 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1204101684 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@699171726 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1362017751 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@1191212370 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]
    [DNSQuestion@691682052 type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ]

We are running the current Jenkins version 1.622.

like image 509
samy Avatar asked Jul 31 '15 07:07

samy


2 Answers

This is a known issue with a Jenkins dependency, tracked as JENKINS-10160 (though the issue tracker is down at the time of writing).

If you're not using the DNS service discovery features of Jenkins (which you probably aren't), then you can disable this feature with the following command line flags when starting Jenkins:

-Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1
like image 85
Christopher Orr Avatar answered Nov 14 '22 18:11

Christopher Orr


I had the same problem and I used Christopher's solution which fixed the issue. I am running jenkins on Ubuntu 14.04. I modified my /etc/default/jenkins file modifying JAVA_ARGS to

JAVA_ARGS="-Djava.awt.headless=true -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1"

and then restarted jenkins

like image 45
Dimos Karagiannis Avatar answered Nov 14 '22 18:11

Dimos Karagiannis