Hi, On Thu, Jun 12, 2025 at 03:26:36AM +0000, xuser wrote: > Yes, i know but linux keeps locking up as soon as the cache has used most of > the memory
It sounds like you have some process using too much memory, or you have faulty hardware. It should not behave like that unless there is something eating all the memory, in which case you would see the buffer cache shrink as things are evicted to give to the hungry process(es). Here's your options anyway, but I wouldn't use any of them until I knew what was going wrong. https://www.baeldung.com/linux/restrict-size-buffer-cache Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting