[fix][alpine] thread stack size#23361
[fix][alpine] thread stack size#23361yuweisung wants to merge 1 commit intoapache:masterfrom yuweisung:fix-23348
Conversation
|
@yuweisung Please add the following content to your PR description and select a checkbox: |
|
|
||
| ARG PULSAR_IMAGE | ||
| FROM busybox as pulsar-all | ||
| ENV PTHREAD_STACK_MIN 2097152 |
There was a problem hiding this comment.
This is a multi-stage image. The ENV is only effective in the final image if it's defined in the last stage.
Please share more details of the error message so that it would be possible to find this PR by searching with the error message. It would be great to have a way to reproduce. Please also share more context for reviewers so that a reviewer could read from some reference what this is about. |
|
This would become obsolete with #23366 |
|
Closing this since I'd assume that the problem is addressed by #23762 |
Fixes 23348
Main Issue: #23348
Motivation
Alpine pthread stack size is too small. In some cases, the pod will be oomkilled due to "cannot create native thread".
Modifications
Add ENV in dockerfile
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: