Erin 💽 on Nostr: Hey so if you write a big file into disk fast, Linux will buffer it into the page ...
Hey so if you write a big file into disk fast, Linux will buffer it into the page cache
This is all fine and normal and great and expected behaviour
What is not great is that Kubernetes will then count this page cache usage against your process and kill it for going beyond its configured memory limits
Published at
2023-03-06 13:47:24Event JSON
{
"id": "ac7dc914142361e4a61623f1ac9c4d8c76bdb272c53897e90a0b255f63b6af71",
"pubkey": "cadc0ca06b5fbbd3b118d99c709418e914dfc5fdc320860ea817fca701ceacd8",
"created_at": 1678110444,
"kind": 1,
"tags": [],
"content": "Hey so if you write a big file into disk fast, Linux will buffer it into the page cache\n\nThis is all fine and normal and great and expected behaviour\n\nWhat is not great is that Kubernetes will then count this page cache usage against your process and kill it for going beyond its configured memory limits",
"sig": "50bdf9a984a968c608e797c8210571c869d9c23cebf72df085cdafc8c90e85b80313b3a77b67de8c48107fec140216c4f1fe679c57c14a5d115dd88ab20d5ab1"
}