-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 1.554, Ubuntu 12.04.4 LTS 64 bits, 16 GB memory, JDK: OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~0.12.04.1), OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode), installed using package supplied by jenkins-ci.org
(I picked a component that seemed relevant, but the majority of them really are not descriptive at all, yet it is required I select one.)
Currently running 1.554 Jenkins we notice on a daily occurence that the server just start to hang. The web UI becomes unresponsive and the output in top shows a process to this effect:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5964 jenkins 20 0 8414m 4.9g 14m S 358 31.1 2590:29 java
I created a thread dump with jstack -F, it's attached to this issue.
The only recourse I have is to forcibly kill -9 the PID and restart Jenkins. 1.551 and I think 1.552 did not have this problem. I am not sure if 1.553 already exhibited this problem or if it only started with 1.554.
The jobs that is it building are mostly Java projects with a POM file structure using Maven and Mercurial plugins to build. Artifacts get uploaded to a Nexus repository. Diskspace has more than enough space free (10s of GB at the minimum).
Normal Jenkins process on this machine:
30082 jenkins 20 0 6719m 1.3g 22m S 0 8.5 4:48.78 java
Memory (16 GB):
Mem: 16435924k total, 15182196k used, 1253728k free, 1466652k buffers
We recently updated to 1.555 and we're also suffering from severe memory leaking. Within a day it has burned through 4G of heap.
Analyzing a heap dump with MAT gives me this info: