mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Apparently, the segfaults were not jemalloc's fault.
This commit is contained in:
parent
1eadfddbd2
commit
0caa35c1f9
3 changed files with 3 additions and 2 deletions
2
dist/mastodon-sidekiq.service
vendored
2
dist/mastodon-sidekiq.service
vendored
|
@ -9,7 +9,7 @@ WorkingDirectory=/home/mastodon/live
|
|||
Environment="RAILS_ENV=production"
|
||||
Environment="DB_POOL=25"
|
||||
Environment="MALLOC_ARENA_MAX=2"
|
||||
Environment="LD_PRELOAD=libmimalloc.so"
|
||||
Environment="LD_PRELOAD=libjemalloc.so"
|
||||
ExecStart=/home/mastodon/.rbenv/shims/bundle exec sidekiq -c 25
|
||||
TimeoutSec=15
|
||||
Restart=always
|
||||
|
|
1
dist/mastodon-streaming.service
vendored
1
dist/mastodon-streaming.service
vendored
|
@ -9,6 +9,7 @@ WorkingDirectory=/home/mastodon/live
|
|||
Environment="NODE_ENV=production"
|
||||
Environment="PORT=4000"
|
||||
Environment="STREAMING_CLUSTER_NUM=1"
|
||||
Environment="LD_PRELOAD=libjemalloc.so"
|
||||
ExecStart=/usr/bin/node ./streaming
|
||||
TimeoutSec=15
|
||||
Restart=always
|
||||
|
|
2
dist/mastodon-web.service
vendored
2
dist/mastodon-web.service
vendored
|
@ -8,7 +8,7 @@ User=mastodon
|
|||
WorkingDirectory=/home/mastodon/live
|
||||
Environment="RAILS_ENV=production"
|
||||
Environment="PORT=3000"
|
||||
Environment="LD_PRELOAD=libmimalloc.so"
|
||||
Environment="LD_PRELOAD=libjemalloc.so"
|
||||
ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
TimeoutSec=15
|
||||
|
|
Loading…
Reference in a new issue