mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-10-31 22:40:01 +00:00
[docs] Rework the swap section
This commit is contained in:
parent
74402580ef
commit
41f6f33c55
1 changed files with 4 additions and 1 deletions
|
@ -87,7 +87,10 @@ The BSD family of distributions don't document memory requirements as much, but
|
||||||
|
|
||||||
### Swap
|
### Swap
|
||||||
|
|
||||||
Do not turn off swap. If you want to run without swap, ensure you understand the memory allocation patterns of the different workloads on your system and how the memory management subsystem of your kernel will behave under various conditions like memory pressure.
|
!!! warning
|
||||||
|
Do not turn off swap.
|
||||||
|
|
||||||
|
In order to safely run without swap, you'll need to tune the kernel, system and your workloads accordingly. This requires a good understanding of your kernel's memory management system as well as the memory usage patterns of the workloads you're running.
|
||||||
|
|
||||||
On a small system that only runs GoToSocial with SQLite, 1GB of swap will do just fine. Follow your distribution's recommendations for swap size.
|
On a small system that only runs GoToSocial with SQLite, 1GB of swap will do just fine. Follow your distribution's recommendations for swap size.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue