Files
blog/content/posts/commits/2026-04-26-commit-22c7c97.md
Betty b97a2ebdfe
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit 22c7c97 in bojemoi
2026-04-26 19:17:27 +02:00

48 lines
1.2 KiB
Markdown

---
title: "[bojemoi] fix(msf-teamserver): réduit pression mémoire Ruby + replicas paramétrables"
date: 2026-04-26T19:17:26+02:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 22c7c97 par Betty dans bojemoi"
author: "Betty"
---
## Commit `22c7c97`
| | |
|---|---|
| **Repository** | bojemoi |
| **Branch** | `main` |
| **Author** | Betty |
| **Hash** | `22c7c979dadd100d2ac8e0b774c7348f8605fc31` |
### Description
msf-teamserver:
- Ruby GC tuning (HEAP_GROWTH_FACTOR=1.1, FREE_SLOTS_MIN_RATIO=0.20,
MALLOC_LIMIT=16M/64M) → moins d'accumulation d'objets entre appels RPC
- pool PostgreSQL 75 → 20 (connexions DB inutilement élevées)
Résultat : 3GiB/3GiB (100%) → ~2.2GiB/3GiB (74%) au démarrage
stack: replicas ak47/bm12/uzi paramétrables via ${AK47_REPLICAS:-5},
${BM12_REPLICAS:-15}, ${UZI_REPLICAS:-3} — passer 1 en mode debug
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
### Files Changed
```
M borodino/start_msf_server.sh
M stack/40-service-borodino.yml
```
### Diff Summary
```
borodino/start_msf_server.sh | 2 +-
stack/40-service-borodino.yml | 12 +++++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
```