If you have installed
libevent
•
--enable-64bit
To build a 64-bit version of
RAM allocation), use --enable-64bit.
•
--enable-threads
To enable multi-threading support in memcached, which improves the response times on servers
with a heavy load, use --enable-threads. You must have support for the POSIX threads
within your operating system to enable thread support. For more information on the threading
support, see
•
--enable-dtrace
memcached
a
memcached
DTrace".
4. Run
make
shell> make
5. Run
make install
shell> make install
15.6.2. Using
memcached
To start using memcached, start the
sets up the server, allocates the memory and starts listening for connections from clients.
To start the server, run
shell> memcached
By default,
memcached
• Memory allocation of 64MB
• Listens for connections on all network interfaces, using port 11211
• Supports a maximum of 1024 simultaneous connections
Typically, you would specify the full combination of options that you want when starting memcached,
and normally provide a startup script to handle the initialization of memcached. For example, the
following line starts
11211 on the IP address 192.168.0.110, running as a background daemon:
shell> memcached -d -m 1024 -p 11211 -l 192.168.0.110
To ensure that
libevent
option to specify the location of the installed library.
memcached
Section 15.6.2.7,
"memcached
includes a range of DTrace threads that can be used to monitor and benchmark
instance. For more information, see
to build memcached:
to install memcached:
memcached
Note
You do not need to be a privileged user (root) to run
listen on one of the privileged TCP/IP ports (below 1024). You must, however,
use a user that has not had their memory limits restricted using
similar.
as a nonprivileged (that is, non-root) user:
memcached
uses the following settings:
with a maximum of 1024MB RAM for the cache, listening on port
memcached
is started up on boot, check the init script and configuration parameters.
memcached
Using
memcached
and
cannot find the library, use the
configure
(which enables you to use a single instance with a large
Thread
Support".
Section 15.6.2.5, "Using
service on one or more servers. Running
1340
--with-
and
memcached
memcached
except to
memcached
setrlimit
or
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers