Ajout workaround pour réduire les fuites mémoire
This commit is contained in:
parent
3d9dc596fe
commit
1aac64ab64
|
@ -38,6 +38,7 @@ WorkingDirectory=%h/www
|
|||
UMask=0027
|
||||
PIDFile=%h/ruby.pid
|
||||
ExecStartPre=/bin/mkdir -m 0750 %h/run
|
||||
Environment="MALLOC_ARENA_MAX=2" # workaround pour réduire les fuites mémoire
|
||||
ExecStart=/usr/local/bin/puma --bind unix://%h/run/puma.sock?umask=0007 --pidfile %h/run/puma.pid --dir %h/www --config /etc/puma/%u.rb
|
||||
ExecReload=/bin/kill -USR2 $MAINPID
|
||||
KillMode=process
|
||||
|
|
Loading…
Reference in a new issue