by fragsworth · 7y ago · 0 comments
"No swap in production" probably stemmed from someone who worked on the servers, and that person discovered they were swapping too much, which would eventually lead to hard drive decay. And, maybe for budget reasons or whatever, they decided to make it a policy to disable swap, rather than increase RAM or change the underlying software that caused the servers to use too much RAM.
And now, later, on different servers with different software and different specs, the policy still exists, because nobody really paid much attention to why it was created in the first place.
Like everything swap has to be monitored and there’s no need To disable it entirely