Throttle rebake to keep from running out of memory?

I don’t know about you, but I was repeatedly going out of memory during a long rebake process. Creating a 2 GB swap improved (more posts got rebaked), but still OOM after a while. Increased swap to 4 GB, and was able to rebake all my posts.

I didn’t know anything about swap files besides this guide Create a swapfile for your Linux server, but chatGPT was knowledgeable enough to help me increase my swap without issues.

3 Likes