Re: Does Diego support memory swap?

Will Pragnell <wpragnell@...>

Hi Sam,

Sorry for the slow response - Monday and Friday were public holidays in the
UK (where the Garden team are based) so we didn't get a chance to look in
to this.

I think your understanding of that code is correct. I'm not sure why
`/proc/meminfo` is reporting those values for SwapTotal and SwapFree. I'll
try some experiments of my own and see if I can get to the bottom of it.


On 28 March 2016 at 03:41, Sam Dai <sam.dai(a)> wrote:

According to this code,
memory.limit_in_bytes and memory.memsw.limit_in_bytes are set to the same
limit value, it looks like when memory usage exceeds the limit, the kernel
of diego won't swap out any pages

Join to automatically receive all group messages.