Skip to main content

mmap-vma-diagnosis

Sterne3
Forks2
Aktualisiert26. Mai 2026 um 03:56

内存映射与虚拟地址空间故障诊断技能。覆盖 mmap 返回 ENOMEM(vm.max_map_count 耗尽, 常见于 Elasticsearch)、SIGBUS on truncated file(文件映射后文件被截断)、mlock 超限 (RLIMIT_MEMLOCK)、共享内存映射 permission denied、进程地址空间碎片化等场景。 当用户提到 mmap 失败、ENOMEM、SIGBUS、mlock 失败、共享内存映射失败、地址空间耗尽、 vm.max_map_count、Cannot allocate memory for shared memory、Bus error (core dumped)、 mmap: Operation not permitted 等问题时,必须使用此 skill。

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
42 Dateien
SKILL.md
readonly