Rainer Gerhards 5e18aa601c
mmexternal: fix single-instance reply handling
Make forceSingleInstance share one helper process across workers, clean up shared and per-worker child state on teardown, and bound helper replies by the existing maxMessageSize setting while removing the realloc NULL-deref path.

Add focused mmexternal regressions for shared single-instance behavior and oversized helper replies, and record the module locking model in the AI module map.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 14:27:41 +02:00
..

rsyslog AI Knowledge Base (KB)

Purpose: A compact, upload-ready knowledge base that reflects the current rsyslog docs structure and rules.

Audience: Contributors and AI assistants generating/maintaining docs.

What's here

File Purpose
structure_and_paths.md Directory layout and naming conventions
authoring_guidelines.md Required blocks, tone, section order
mermaid_rules.md Diagram syntax rules
terminology.md Canonical rsyslog vocabulary
security_triage_rubric.md Security finding proof, severity, and hardening classification rules
chunking_and_embeddings.md RAG extraction schema and chunk structure
crosslinking_and_nav.md Navigation and cross-reference patterns
drift_monitoring.md Detecting doc/code drift
module_map.yaml Module paths and locking hints
templates/ RST templates for concept, tutorial, and module pages

RAG Knowledge Base

The documentation build generates a machine-readable RAG dataset at build/rag/rsyslog_rag_db.json. This is produced by ../build_rag_db.py and contains ~12,000 structured chunks for AI retrieval pipelines.

Regenerate with: make -C doc json-formatter

See chunking_and_embeddings.md for schema details.

Current canonical terms

  • Log pipeline (internally also called message pipeline).
  • Use getting_started/beginner_tutorials/ (no learning_path/).

Last reviewed: 2025-12-23