You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A workaround was proposed in ultrajson/ultrajson#254 (comment). I've had good results when testing it in the keystone-init container by building the .so as part of the container build process, and we should apply it elsewhere - at least to the agent, which likely needs it most.
Basic steps to implement:
add stack-fix.c to container
build with gcc -shared -fPIC /stack-fix.c -o /stack-fix.so
run python with LD_PRELOAD=/stack-fix.so python ...
The text was updated successfully, but these errors were encountered:
musl's default stack size is very small (80 KiB) which can cause frequent stack overflows (probably why the agent-collector crashes). See also: https://github.com/voidlinux/void-packages/issues/4147
A workaround was proposed in ultrajson/ultrajson#254 (comment). I've had good results when testing it in the keystone-init container by building the
.so
as part of the container build process, and we should apply it elsewhere - at least to the agent, which likely needs it most.Basic steps to implement:
stack-fix.c
to containergcc -shared -fPIC /stack-fix.c -o /stack-fix.so
LD_PRELOAD=/stack-fix.so python ...
The text was updated successfully, but these errors were encountered: