Skip to content

Commit

Permalink
Fixed OS freezing on low RAM (#575)
Browse files Browse the repository at this point in the history
Reserve more RAM and reduce swap use.
  • Loading branch information
freemanjp authored Jun 9, 2019
1 parent 712e65b commit 96103d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@
lang: en_GB.UTF-8

# Enable compressed RAM swap
- gantsign.zram_config
- role: gantsign.zram_config
zram_config_min_free_kbytes: 131072
zram_config_swappiness: 5

# Install common command line tools
- gantsign.command-line-tools
Expand Down
2 changes: 1 addition & 1 deletion provisioning/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@
- src: https://github.com/gantsign/ansible-role-xdesktop/archive/4.0.0.tar.gz
name: gantsign.xdesktop
- src: gantsign.zram_config
version: '2.0.0'
version: '2.1.0'

0 comments on commit 96103d5

Please sign in to comment.