fix(k01): force glibc pthread rseq for mongo to bypass tcmalloc crash on kernel 6.19+
build-and-push-harbor / docker-build-push (push) Waiting to run
build-and-push-harbor / docker-build-push (push) Waiting to run
This commit is contained in:
@@ -30,7 +30,7 @@ spec:
|
||||
- name: mongod
|
||||
env:
|
||||
- name: GLIBC_TUNABLES
|
||||
value: glibc.cpu.hwcaps=-SHSTK
|
||||
value: glibc.pthread.rseq=1
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
@@ -38,6 +38,9 @@ spec:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
- name: mongodb-agent
|
||||
env:
|
||||
- name: GLIBC_TUNABLES
|
||||
value: glibc.pthread.rseq=1
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
|
||||
Reference in New Issue
Block a user