Kevin Meredith
Kevin Meredith

Reputation: 41909

Memcached `stats` Command

I started memcached as a daemon with 512MB of memory.

memcached -d -m 512

Then, I telnet'd to the box, and ran the stats command.

Why does the limit_maxbytes field equal 536870912? I would've expected 512,000,000.

STAT limit_maxbytes 536870912

Upvotes: 0

Views: 421

Answers (1)

mikewied
mikewied

Reputation: 5333

This is because -m 512 means 512MB and that is 512*1024*1024.

Upvotes: 2

Related Questions