mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
These values differed between the primary and secondary database hosts, for unclear reasons. The differences date back to their introduction in387f63deaa. As the comment in the replica confguration notes, settings of `vm.dirty_ratio = 10` and `vm.dirty_background_ratio = 5` matched the kernel defaults for "newer" kernels; however, kernel 2.6.30 bumped those to 20 and 10, respectively[1], as a fix for underlying logic now being more correct. Remove these overrides; they should at very least be consistent across roles, and the previous values look to be an attempt to tune for a very much older version of the Linux kernel, which was using an different, buggier, algorithm under the hood. [1]1b5e62b42b