Adsar Logo


memcached - allow storing objects larger than 1MB



By default, memcached limits the size of a single object to 1MB.

In certain scenarios you may want this increased.

To do so (on CentOS systems), add the following line to /etc/sysconfig/memcached:

OPTIONS=" -U 0 -I 15m"

(-U 0 turns off UDP - a recent attack vector, -I and the max size is after that)



Trees for life


Want to get in touch? mail@adsar.co.uk