Canapin
(Coin-coin le Canapin)
1월 7, 2026, 11:33오후
13
여러분은 모르겠지만, 저는 긴 리베이크(rebake) 과정에서 반복적으로 메모리 부족(OOM) 오류가 발생했습니다. 스왑 공간을 2GB로 생성하니 상황이 개선되었습니다(더 많은 게시글이 리베이크되었지만), 그래도 한참이 지나면 OOM 오류가 다시 발생했습니다. 스왑을 4GB로 늘렸더니 모든 게시글의 리베이크를 성공적으로 완료할 수 있었습니다.
I increased the swap size from 2 to 4 GB, and the rebake worked.
So, I guess it was about memory, though I am a bit surprised by how much it asks (8 GB RAM + 4 GB swap), especially since older rebakes didn’t have any issues with no swap and the same amount of RAM.
What should I do if I want to monitor RAM usage and check for any issues? What metric should matter to estimate the memory requirements? Page views per day (5000-8000 + bot spikes once or twice a month)? Database size (23 GB)? …
이 가이드(Create a swapfile for your Linux server ) 외에는 스왑 파일에 대해 아는 것이 없었지만, ChatGPT가 충분히 지식을 갖추고 있어 문제없이 스왑 공간을 늘리는 데 도움을 주었습니다.