Using
memcached
1343
Lock down all paged memory. This reserves the memory before use, instead of allocating new slabs
of memory as new items are stored in the cache.
Note
There is a user-level limit on how much memory you can lock. Trying to
allocate more than the available memory fails. You can set the limit for the
user you started the daemon with (not for the
-u user
user) within the shell
by using
ulimit -S -l NUM_KB
•
-v
Verbose mode. Prints errors and warnings while executing the main event loop.
•
-vv
Very verbose mode. In addition to information printed by
-v
, also prints each client command and
the response.
•
-vvv
Extremely verbose mode. In addition to information printed by
-vv
, also show the internal state
transitions.
•
-h
Print the help message and exit.
•
-i
Print the
memcached
and
libevent
license.
•
-I mem
Specify the maximum size permitted for storing an object within the
memcached
instance. The size
supports a unit postfix (
k
for kilobytes,
m
for megabytes). For example, to increase the maximum
supported object size to 32MB:
shell> memcached -I 32m
The maximum object size you can specify is 128MB, the default remains at 1MB.
This option was added in 1.4.2.
•
-b
Set the backlog queue limit. The backlog queue configures how many network connections can be
waiting to be processed by
memcached
. Increasing this limit may reduce errors received by the client
that it is not able to connect to the
memcached
instance, but does not improve the performance of
the server. The default is 1024.
•
-P pidfile
Save the process ID of the
memcached
instance into
file
.
•
-f
Set the chunk size growth factor. When allocating new memory chunks, the allocated size of new
chunks is determined by multiplying the default slab size by this factor.
To see the effects of this option without extensive testing, use the
-vv
command-line option to show
the calculated slab sizes. For more information, see
Section 15.6.2.8, “
memcached
Logs”
.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...