Reduce idle service footprint and record swap recovery checks
This commit is contained in:
@@ -226,6 +226,24 @@ had not detected; the completed browser test is the acceptance check for the
|
||||
correction, not merely a successful container restart.
|
||||
|
||||
\section{4. Validation, initialization and startup operations}
|
||||
\paragraph{Post-build footprint tuning, November 21.}
|
||||
After manual build 29, the team reported nearly full swap. A current SSH
|
||||
audit found about 2 GiB swap used with roughly 472 MiB available RAM.
|
||||
Jenkins, Elasticsearch and the three Zammad Ruby services held most of the
|
||||
swapped pages; the many Elasticsearch rows were threads of one JVM.
|
||||
A 96 MiB Elasticsearch heap trial did not complete the bounded primary-shard
|
||||
recovery check and emitted GC pressure, so the 128 MiB setting was restored.
|
||||
The saved override sets \texttt{MALLOC\_ARENA\_MAX=2} for Elasticsearch,
|
||||
Rails, websocket and scheduler, and disables unused Elasticsearch ML.
|
||||
The existing Jenkins controller heap was reduced from 256 to 192 MiB with
|
||||
the 448 MiB container cap and persistent home retained. All 83 saved Jenkins
|
||||
build records had a final result before its restart. No volume was deleted,
|
||||
swap was not forcibly disabled, and no paid capacity change was made.
|
||||
Restarts released old swapped pages, which is immediate relief rather than
|
||||
proof of a lasting reduction; later warm-state measurements are required.
|
||||
These changes postdate the build-29 artifact and require a later manual build
|
||||
to appear in its PDF.
|
||||
|
||||
Run commands in the deployment directory so the same private environment and
|
||||
all scenarios are loaded:
|
||||
\begin{verbatim}
|
||||
|
||||
Reference in New Issue
Block a user