3 ms·
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
by z3t4 7y ago
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.
- HugThem 7y agoI 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.