几乎每周我们运行jenkins的开发服务器都没有剩余磁盘空间,因为jenkins日志文件变得很大(> 100g)。 它被这些奇怪的消息完全填满了:
[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: ]
我们正在运行当前的Jenkins版本1.622。
答案 0 :(得分:19)
我遇到了同样的问题,我使用克里斯托弗的解决方案解决了这个问题。 我在Ubuntu 14.04上运行jenkins。我修改了我的/ etc / default / jenkins文件,将JAVA_ARGS修改为
JAVA_ARGS="-Djava.awt.headless=true -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1"
然后重新启动jenkins
答案 1 :(得分:18)
这是Jenkins依赖项的已知问题,跟踪为JENKINS-10160(尽管问题跟踪器在撰写本文时已关闭)。
如果您没有使用Jenkins的DNS服务发现功能(您可能不是这样),那么您可以在启动Jenkins时使用以下command line flags禁用此功能:
-Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1