Skip to content

Running Seastar Memcached

Raphael Carvalho edited this page Feb 25, 2015 · 19 revisions

When you build Seastar, the executable file of Seastar Memcached will be automatically generated at /PATH/TO/SEASTAR/build/release/apps/memcached/. Instructions on how to build seastar can be found here: https://github.com/cloudius-systems/seastar/wiki/Building-Seastar.

Remember that Seastar Memcached runs on top of Seastar, then depending on what you want to achieve, you will need to deal with both Seastar and Seastar Memcached settings. It's very easy though.

For seeing all the available options, use the following command:

/PATH/TO/SEASTAR/build/release/apps/memcached/memcached -h

The output of the command above differentiates Seastar from Seastar Memcached options.

For running Seastar Memcached with Seastar using 4 cpus, the server listening on the port 11212, and a per-cpu slab size of 640 megabytes, use the following command:

/PATH/TO/SEASTAR/build/release/apps/memcached/memcached -c 4 --max-slab-size 640 --port 11212
Clone this wiki locally