bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 43 forks source link

Bitnami on Azure increase Swap file size #1450

Closed SOKBattery closed 6 months ago

SOKBattery commented 6 months ago

Describe your issue as much as you can

I am running a stack on Azure with 1GB Ram and the default swap file size. I am getting out of memory errors on occasion when the backup runs. I used the run the server with 2GB RAM and even then I still experienced the occasional out of memory errors. I would like to increase the swapfile size, but cannot find any documentation of how to do this in the bitnami image. Can someone point me in the right direction

jotamartos commented 6 months ago

You can follow any online guide to modify the swap file or create a new one if needed

https://serverfault.com/questions/218122/how-do-i-increase-swap-memory-in-debian

Please note that if you increase the size of the current swap file (you can take a look at the /etc/fstab file to see where the swap file is), you will not need to create a new one.

github-actions[bot] commented 6 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 6 months ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.