projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1fe0bcd
)
jemalloc wired properly
author
Sam Saffron
<sam.saffron@gmail.com>
Fri, 15 Nov 2013 05:01:37 +0000
(21:01 -0800)
committer
Sam Saffron
<sam.saffron@gmail.com>
Fri, 15 Nov 2013 05:01:37 +0000
(21:01 -0800)
standalone.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/standalone.template.yml
b/standalone.template.yml
index 6c771a945722d2b4c01bb9f6e287d21f6c7cc46f..d939cafec01c7d039b25a924708599eb0cd20e0d 100644
(file)
--- a/
standalone.template.yml
+++ b/
standalone.template.yml
@@
-14,8
+14,6
@@
env:
UNICORN_WORKERS: 3
# slightly less aggressive than "recommendation" but works fine with oobgc
RUBY_GC_MALLOC_LIMIT: 25000000
UNICORN_WORKERS: 3
# slightly less aggressive than "recommendation" but works fine with oobgc
RUBY_GC_MALLOC_LIMIT: 25000000
- # way more efficient allocator
- LD_PRELOAD: /usr/lib/libjemalloc.so.1
params:
# SSH key is required for remote access into the container
params:
# SSH key is required for remote access into the container
@@
-46,7
+44,7
@@
run:
sv start redis || exit 1
sv start postgres || exit 1
cd $home
sv start redis || exit 1
sv start postgres || exit 1
cd $home
- exec sudo -E -u discourse bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb
+ exec sudo -E -u discourse
LD_PRELOAD=/usr/lib/libjemalloc.so.1
bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb
- file:
path: /etc/service/sidekiq/run
- file:
path: /etc/service/sidekiq/run
@@
-58,7
+56,7
@@
run:
sv start redis || exit 1
sv start postgres || exit 1
cd $home
sv start redis || exit 1
sv start postgres || exit 1
cd $home
- exec sudo -E -u discourse bundle exec sidekiq
+ exec sudo -E -u discourse
LD_PRELOAD=/usr/lib/libjemalloc.so.1
bundle exec sidekiq
- file:
path: /etc/service/sshd/run
- file:
path: /etc/service/sshd/run