News for hackers. Stuff that matters.
Re:The Linux kernel's inability to gracefully handle low mem... by z3t4 on Tuesday August 06, 2019 @02:21AM (#20622664)
Try doing some rate limiting in order to not cause the dead lock. Should probably also disable write cache. And if it still doesn't work switch to a bare metal machine. And give it a lot of swap and up the swappiness. Swapping is a much better alternative then crashing. VPS providers doesn't like swap because it will tear their SSD disks, so the swap and swappiness is probably preset too low.
Re:The Linux kernel's inability to gracefully handle low mem... by HugThem on Tuesday August 06, 2019 @04:46AM (#20623418)
I tried sleeping 0.1s every 5s or so. It did not help. Still crashed.

I don't think swapping would even occur since neither mysql nor php grow their memory usage over time.

It's not an SSD. It's good old rusty HD.