Grokking Operating Systems and Networking for Backend Engineers
Vote

0% completed

​

What "Memory Used" Really Means

A Checkout server has 7,932 MB of RAM. Someone reads a 1 GB log file with cat, and the free memory reported by free drops from 6,913 MB to 5,921 MB. Nothing leaked, and no process grew.

A few minutes later the same server runs Checkout with one parent process and three workers. ps reports about 208 MB of resident memory for each of the four processes, which adds up to 836 MB. The machine's used memory, however, grew by only 182 MB.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content