interplane.Get Omega
Read in your language

spark-supervisor

Process supervisor and health monitor for sovereign daemons

Brought by drakestapleton

branch main Branches Tags History

spark-supervisor / om / contract.om

64 lines · 1856 bytes Raw Blame History
1text vreload "reload"
2text cgEnv "AIEN_SUPERVISE_CGROUP"
3text cgManager "/manager"
4text cgControl "/cgroup.subtree_control"
5text cgControllers "+cpu +memory +pids"
6text cgProcs "/cgroup.procs"
7text cgMemory "/memory.max"
8text cgSwap "/memory.swap.max"
9text cgPids "/pids.max"
10text cgWeight "/cpu.weight"
11text cgOomGroup "/memory.oom.group"
12text cgEvents "/memory.events"
13text cgKill "/cgroup.kill"
14text cgOomKey "oom_kill"
15text cgOne "1"
16text cgReady "1"
17text cgZero "0"
18text cgSvc "/svc-"
19text cgJob "/job-"
20text cgLimitFailure "LIMIT_NOT_APPLIED errno="
21text cgOomMarker "LIMIT_OOM_KILLED\n"
22global cgRoot uchar 4096
23global cgLeaf uchar 4096
24global cgData long 8
25global cgMem ulong 48
26global cgTasks ulong 48
27global cgCpu ulong 48
28global cgWhy long 48
29global cgOom ulong 48
30text lrCommand "run-limited"
31text lrMemory "--memory"
32text lrPids "--pids"
33text lrDash "--"
34text lrSocket "/limited.sock"
35text lrFd "/fd/"
36text lrUsage "usage: aien-supervise run-limited --memory BYTES [--pids N] -- /absolute/CMD ARG...\n"
37text lrMagic "ALR1"
38global lrState long 8
39global lrWorkers long *
40global lrWorkerCount ulong 1
41text sxAfter "after"
42text sxHealth "health-http"
43text sxMemory "memory-max"
44text sxTasks "tasks-max"
45text sxCpu "cpu-weight"
46text sxNever "never"
47text sxHealthField " healthy="
48text sxReason " reason="
49text sxLimit "LIMIT_NOT_APPLIED errno="
50text sxDependency "DEPENDENCY_MISSING_OR_CYCLE"
51text sxOomStatus "LIMIT_OOM_KILLED"
52text sxTrigger " change-trigger=MISSING_IMPLEMENTATION"
53text sxHttpPrefix "GET "
54text sxHttpTail " HTTP/1.0\nHost: localhost\nConnection: close\n\n"
55global sxDepNames uchar 73728
56global sxDepLens ulong 2304
57global sxDepCount ulong 48
58global sxPort ulong 48
59global sxHealthPath uchar 196608
60global sxHealthLen ulong 48
61global sxHealthy ulong 48
62global sxReasonCode ulong 48
63global sxNice long 48
64global sxStopped ulong 1