mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 21:53:02 +01:00
feat: Change oom killer adjust to prevent killing, change swappiness to 10
This commit is contained in:
parent
2d1876e69e
commit
53c384b471
@ -1,4 +1,4 @@
|
|||||||
version: '3.3'
|
version: '2.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
uam_1:
|
uam_1:
|
||||||
@ -10,6 +10,8 @@ services:
|
|||||||
ulimits:
|
ulimits:
|
||||||
rtprio: 95
|
rtprio: 95
|
||||||
memlock: -1
|
memlock: -1
|
||||||
|
oom_score_adj: -700
|
||||||
|
mem_swappiness: 10
|
||||||
volumes:
|
volumes:
|
||||||
- "./entrypoint.sh:/opt/entrypoint.sh"
|
- "./entrypoint.sh:/opt/entrypoint.sh"
|
||||||
- "/opt/uam_data/uam_1:/root/.uam"
|
- "/opt/uam_data/uam_1:/root/.uam"
|
||||||
@ -30,6 +32,8 @@ services:
|
|||||||
ulimits:
|
ulimits:
|
||||||
rtprio: 95
|
rtprio: 95
|
||||||
memlock: -1
|
memlock: -1
|
||||||
|
oom_score_adj: -700
|
||||||
|
mem_swappiness: 10
|
||||||
volumes:
|
volumes:
|
||||||
- "./entrypoint.sh:/opt/entrypoint.sh"
|
- "./entrypoint.sh:/opt/entrypoint.sh"
|
||||||
- "/opt/uam_data/uam_2:/root/.uam"
|
- "/opt/uam_data/uam_2:/root/.uam"
|
||||||
@ -50,6 +54,8 @@ services:
|
|||||||
ulimits:
|
ulimits:
|
||||||
rtprio: 95
|
rtprio: 95
|
||||||
memlock: -1
|
memlock: -1
|
||||||
|
oom_score_adj: -700
|
||||||
|
mem_swappiness: 10
|
||||||
volumes:
|
volumes:
|
||||||
- "./entrypoint.sh:/opt/entrypoint.sh"
|
- "./entrypoint.sh:/opt/entrypoint.sh"
|
||||||
- "/opt/uam_data/uam_3:/root/.uam"
|
- "/opt/uam_data/uam_3:/root/.uam"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3.3'
|
version: '2.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
uam:
|
uam:
|
||||||
@ -10,6 +10,8 @@ services:
|
|||||||
ulimits:
|
ulimits:
|
||||||
rtprio: 95
|
rtprio: 95
|
||||||
memlock: -1
|
memlock: -1
|
||||||
|
oom_score_adj: -700
|
||||||
|
mem_swappiness: 10
|
||||||
volumes:
|
volumes:
|
||||||
- "./entrypoint.sh:/opt/entrypoint.sh"
|
- "./entrypoint.sh:/opt/entrypoint.sh"
|
||||||
- "/opt/uam_data:/root/.uam"
|
- "/opt/uam_data:/root/.uam"
|
||||||
|
Loading…
Reference in New Issue
Block a user