Meza/Setup on a low-memory system
Appearance
< Meza
RAM = 2GB or less?
[edit]If you run into memory errors during play execution, you can set the forks
option in Ansible to 1
by either editing the system-wide config in /etc/ansible/ansible.cfg
, or the Meza-specific config at /opt/meza/config/core/ansible.cfg
.
It's also worth mentioning that if your server doesn't have any swap file, then you should add one [1].
For more discussion on performance tuning Meza, see Issue #867 and https://discourse.equality-tech.com/t/how-do-i-optimize-apache/115
Some functions may not work with the default amount of memory allocated.
// SVG thumbnailing requires more memory
// Maximum amount of virtual memory available to shell processes in KB.
$wgMaxShellMemory = 1024*300; // 307200K is 300M
- ↑ https://wiki.freephile.org/wiki/Swap describes how to quickly check your system; and create a swap file as desired