| 1 |
title: Log Failed Process Memory Allocation Due to Overcommit Limits |
| 2 |
name: overcommit.stp |
| 3 |
version: 1.0 |
| 4 |
author: anonymous |
| 5 |
keywords: memory limits |
| 6 |
subsystem: memory |
| 7 |
status: proposed |
| 8 |
exit: user-controlled |
| 9 |
output: trace |
| 10 |
scope: system-wide |
| 11 |
description: The overcommit.stp script prints a line each time the kernel refuses a memory allocation request from a process because of /proc/sys/vm/overcommit* limits. |
| 12 |
test_check: stap -p4 overcommit.stp |
| 13 |
test_installcheck: stap overcommit.stp -T 1 |
| 14 |
test_check_bpf: stap --bpf -p4 overcommit.stp |
| 15 |
test_installcheck_bpf: stap --bpf overcommit.stp -T 1 |