Skip to content

Instantly share code, notes, and snippets.

@123ish
Created September 26, 2020 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 123ish/b59646f4249345cc11277d5c117bed49 to your computer and use it in GitHub Desktop.
Save 123ish/b59646f4249345cc11277d5c117bed49 to your computer and use it in GitHub Desktop.
.ebextensions/11_set_preload.config
# https://brandonhilkert.com/blog/reducing-sidekiq-memory-usage-with-jemalloc/
files:
"/etc/environment":
mode: "000644"
owner: root
group: root
content: |
LD_PRELOAD=/usr/lib64/libjemalloc.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment