Memory Monitoring and Limiting with LXC

A tutorial about Memory Monitoring and Limiting with LXC (Linux Containers) and the importance of building a metrics infrastructure.
For a long time we didn’t limit the amount of memory that you can use during your build on Codeship. There was the possibility of a bad build eating up all of our memory.
A few weeks ago that bad build happened, using up so much memory that it decreased performance and eventually killed the test server. Even though we measure the memory usage of the whole test server, we didn’t have the data to figure out exactly which build caused the trouble.

read more

Source: Open Source