Ajout section Problèmes de fuite mémoire
This commit is contained in:
parent
1aac64ab64
commit
5c061878e8
21
HowtoPuma.md
21
HowtoPuma.md
|
@ -110,4 +110,23 @@ Activer/désactiver l'application au démarrage :
|
|||
|
||||
~~~
|
||||
systemctl --user enable/disable puma
|
||||
~~~
|
||||
~~~
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Problèmes de fuite mémoire
|
||||
|
||||
Comme workaround, il faut ajouter dans l'unité `systemd` de Puma :
|
||||
|
||||
~~~
|
||||
Environment="MALLOC_ARENA_MAX=2"
|
||||
~~~
|
||||
|
||||
Puis relancer :
|
||||
|
||||
~~~
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user restart puma
|
||||
~~~
|
||||
|
||||
|
|
Loading…
Reference in a new issue