2016-02-23 117 views
0

我從詹金斯運行SonarQube掃描儀時,得到下面的輸出:如何增加Docker Sonarqube磁盤空間以避免此警告?

2016.02.23 11:01:00 INFO es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark exceeded on one or more nodes, rerouting shards 
2016.02.23 11:01:30 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 
2016.02.23 11:02:00 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 
2016.02.23 11:02:00 INFO es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark exceeded on one or more nodes, rerouting shards 
2016.02.23 11:02:30 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 

正如標題所說,此外如果該警告是關鍵的,或者如果泊塢窗將擴大本身(如我在我的研究中已經閱讀)?但是,我還沒有找到明確的答案或其他同行對我有特定問題或類似問題。

泊塢窗信息:

2016.02.23 11:01:00 INFO es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark exceeded on one or more nodes, rerouting shards 
2016.02.23 11:01:30 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 
2016.02.23 11:02:00 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 
2016.02.23 11:02:00 INFO es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark exceeded on one or more nodes, rerouting shards 
2016.02.23 11:02:30 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 

泊塢版本:

2016.02.23 11:01:00 INFO es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark exceeded on one or more nodes, rerouting shards 
2016.02.23 11:01:30 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 
2016.02.23 11:02:00 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 
2016.02.23 11:02:00 INFO es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark exceeded on one or more nodes, rerouting shards 
2016.02.23 11:02:30 WARN es[o.e.c.r.a.decider] [sonar-1456222793208] high disk watermark [90%] exceeded on [VKGYodBwSRylFJ46lQT_xw][sonar-1456222793208] free: 436.6mb[2.3%], shards will be relocated away from this node 

我使用SonarQube 5.3版。

+0

這看起來像一個ElasticSearch日誌條目中找到。 – Behe

回答

0

每個容器的大小是有限的,取決於您的碼頭的版本通常爲10G。
您可以在啓動docker守護進程時更改此設置。該選項取決於您的存儲驅動程序 - 在這裏是爲devicemapper一個例子:

docker daemon --storage-opt dm.basesize=50G 

更多信息可以在documentation