Commit b507329
authored
[POA-2944] Add agent cpu and memory limits when running on ec2 (#94)
Adds CPU and Memory limits to the postman insights service file.
Summary:
- Agent process CPU time will be prioritized lower than other services.
- Agent process will be restricted to 85% of a single CPU core.
- Agent process will be throttled by the OS if it exceeds 750MB of
memory.
- Agent process will be OOM Killed if it exceeds 1GB of memory.
- Agent process will be restarted on failure.1 parent 446d064 commit b507329
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
0 commit comments