Oracle 5.0 Reference Manual page 1362

Table of Contents

Advertisement

shell> memcached -p 18080
-U port
Specify the UDP port to use for connections. Default is 11211, 0 switches UDP off.
shell> memcached -U 18080
-s socket
Specify a Unix socket to listen on.
If you are running
memcached
interface and use a local UNIX socket using the
shell> memcached -s /tmp/memcached
Using a UNIX socket automatically disables network support, and saves network ports (allowing
more ports to be used by your web server or other process).
-a mask
Specify the access mask to be used for the Unix socket, in octal. Default is 0700.
-c connections
Specify the maximum number of simultaneous connections to the
1024.
shell> memcached -c 2048
Use this option, either to reduce the number of connections (to prevent overloading
service) or to increase the number to make more effective use of the server running
server.
-t threads
Specify the number of threads to use when processing incoming requests.
By default,
memcached
performance of storing and retrieving data in the cache, using a locking system to prevent different
threads overwriting or updating the same values. To increase or decrease the number of threads,
use the
option:
-t
shell> memcached -t 8
-d
Run
as a daemon (background) process:
memcached
shell> memcached -d
-r
Maximize the size of the core file limit. In the event of a failure, this attempts to dump the entire
memory space to disk as a core file, up to any limits imposed by setrlimit.
-M
Return an error to the client when the memory has been exhausted. This replaces the normal
behavior of removing older items from the cache to make way for new items.
-k
Using
memcached
on the same server as the clients, you can disable the network
is configured to use 4 concurrent threads. The threading improves the
1342
option:
-s
memcached
service. The default is
memcached
memcached

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents