Skip to content

Commit 2e176e5

Browse files
gbhat618kmartens27
andauthored
Document /health thread dump timeout system property (#8537)
* Document /health thread dump timeout system property * use 2.536 version * update the supported duration formats --------- Co-authored-by: Kevin Martens <[email protected]>
1 parent cb0ddee commit 2e176e5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/doc/book/managing/system-properties.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,6 +1601,17 @@ properties:
16011601
To make Jenkins load time 8x faster (assuming sufficient IO), increase it to 8x.
16021602
For example, 24 CPU Jenkins controller host use this: `-Djenkins.InitReactorRunner.concurrency=192`
16031603

1604+
- name: jenkins.health.HealthCheckAction.thresholdTimeout
1605+
tags:
1606+
- tuning
1607+
def: |
1608+
`PT10S` (10 seconds)
1609+
since: 2.536
1610+
description: |
1611+
Log a thread dump when a `/health` check exceeds this timeout to help diagnose stuck requests.
1612+
Useful for debugging Kubernetes liveness probe failures caused by stuck health checks.
1613+
The value can be specified in ISO-8601 duration format (e.g., `PT20S`) or simple format with 1-character suffix (e.g., `20s`).
1614+
16041615
- name: jenkins.install.runSetupWizard
16051616
tags:
16061617
- feature

0 commit comments

Comments
 (0)