Jenkins slave jobs failing on “Unexpected termination of channel”

后端 未结 10 1210
梦毁少年i
梦毁少年i 2020-12-24 10:42

I am currently seeing a set of errors across my builds.

Is this expected behaviour if you loose Jenkins (say to a box crash, or a kill -9)?

Or is there somet

10条回答
  •  無奈伤痛
    2020-12-24 11:22

    Another thing where you can see this error (which actually leads to this) is lack of memory/cpu cores for build. I spent some time testing it, and resolved this issue on our site by increasing java heap size (and as well adding more memory to machines), increasing number of cores (so one machine have at least 4G of RAM with two cores available with one build slot), and also do some tuning (if you are on linux) number of open file descriptors and processes which can be run concurrently.

提交回复
热议问题