作为奖励,因为在vm.overcommit_memory = 2的情况下的行为取决于vm.overcommit_ratio和交换空间,对于后两者的大小调整以使整个设置保持合理运行将是一个很好的经验法则吗?
解决方法
An aircraft company discovered that it was cheaper to fly its planes with less fuel on board. The planes would be lighter and use less fuel and money was saved. On rare occasions however the amount of fuel was insufficient,and the plane would crash. This problem was solved by the engineers of the company by the development of a special OOF (out-of-fuel) mechanism. In emergency cases a passenger was selected and thrown out of the plane. (When necessary,the procedure was repeated.) A large body of theory was developed and many publications were devoted to the problem of properly selecting the victim to be ejected. Should the victim be chosen at random? Or should one choose the heaviest person? Or the oldest? Should passengers pay in order not to be ejected,so that the victim would be the poorest on board? And if for example the heaviest person was chosen,should there be a special exception in case that was the pilot? Should first class passengers be exempted? Now that the OOF mechanism existed,it would be activated every now and then,and eject passengers even when there was no fuel shortage. The engineers are still studying precisely how this malfunction is caused.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。