[ https://issues.apache.org/jira/browse/FLINK-34976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832742#comment-17832742 ]
Yun Tang commented on FLINK-34976: ---------------------------------- I don't think the running Flink process would drop the {{LD_PRELOAD}} environment, please use `pmap` to check whether {{jemalloc.so}} is used by your process. > LD_PRELOAD environment may not be effective after su to flink user > ------------------------------------------------------------------ > > Key: FLINK-34976 > URL: https://issues.apache.org/jira/browse/FLINK-34976 > Project: Flink > Issue Type: New Feature > Components: flink-docker > Affects Versions: 1.19.0 > Reporter: xiaogang zhou > Priority: Major > > I am not sure if LD_PRELOAD still takes effect after drop_privs_cmd. Should > we create a .bashrc file in home directory of flink, and export LD_PRELOAD > for flink user? > > [https://github.com/apache/flink-docker/blob/627987997ca7ec86bcc3d80b26df58aa595b91af/1.17/scala_2.12-java11-ubuntu/docker-entrypoint.sh#L92] > -- This message was sent by Atlassian Jira (v8.20.10#820010)