1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-27 22:38:35 +09:00
whippy-edition/dist
Akihiko Odaki 8af7f3b063
Preload libjemalloc.so for long-running Ruby (#16462)
Always mark jemalloc needed if jemalloc is enabled by akihikodaki · Pull Request #4627 · ruby/ruby
https://github.com/ruby/ruby/pull/4627
> Symbols exported by jemalloc is referred by the shared library but not
> by the executables when building Ruby as a shared library with
> jemalloc. It causes shared libraries such as the GNU C++ library
> occasionally rely on the memory allocator provided by the standard C
> library. Worse, the resolved symbols can later be replaced with
> jemalloc, and jemalloc may see pointers from the standard C library,
> which results in various failures.
> e.g. https://github.com/tootsuite/mastodon/issues/15751

As a workaround, do not rely on jemalloc enablement of Ruby, and
preload libjemalloc.so instead.
2021-07-05 19:16:35 +02:00
..
mastodon-sidekiq.service Preload libjemalloc.so for long-running Ruby (#16462) 2021-07-05 19:16:35 +02:00
mastodon-streaming.service templates/systemd/mastodon: update sandbox mode (#16103) 2021-04-24 13:41:03 +02:00
mastodon-web.service Preload libjemalloc.so for long-running Ruby (#16462) 2021-07-05 19:16:35 +02:00
nginx.conf Set X-Forwarded-Proto to request scheme (#15310) (#15498) 2021-01-05 22:25:07 +01:00