~ubuntu-branches/ubuntu/jaunty/memcached/jaunty

« back to all changes in this revision

Viewing changes to doc/memcached.1

  • Committer: Bazaar Package Importer
  • Author(s): Jay Bonci
  • Date: 2007-05-02 11:35:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502113542-qpoxsq28fjb7s9wc
Tags: 1.2.1-1
* New upstream release (Closes: #405054)
* Fix to logfile output so logrotate will work (Closes: #417941)
* Listen in on localhost by default (Closes: #383660)
* Default configuration suggests nobody by default (Closes: #391351)
* Bumped policy version to 3.7.2.2 (No other changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
.B \-m <num>
35
35
Use <num> MB memory max to use for object storage; the default is 64 megabytes.
36
36
.TP
37
 
.B \-M
38
 
Instead of throwing items from the cache when max memory is reached, throw an 
39
 
error
40
 
.TP
41
37
.B \-c <num>
42
38
Use <num> max simultaneous connections; the default is 1024.
43
39
.TP
47
43
suggestions.
48
44
.TP
49
45
.B \-p <num> 
50
 
Listen on port <num>, the default is port 11211.
 
46
Listen on TCP port <num>, the default is port 11211.
51
47
.TP
52
 
.B \-r
53
 
Maximize core file limit
 
48
.B \-U <num> 
 
49
Listen on UDP port <num>, the default is port 11211.
54
50
.TP
55
51
.B \-M
56
52
Disable automatic removal of items from the cache when out of memory.
59
55
.B \-r
60
56
Raise the core file size limit to the maximum allowable.
61
57
.TP
 
58
.B \-f <factor>
 
59
Use <factor> as the multiplier for computing the sizes of memory chunks that
 
60
items are stored in. A lower value may result in less wasted memory depending
 
61
on the total amount of memory available and the distribution of item sizes.
 
62
The default is 1.25.
 
63
.TP
 
64
.B \-s <size>
 
65
Allocate a minimum of <size> bytes for the item key, value, and flags. The
 
66
default is 48. If you have a lot of small keys and values, you can get a
 
67
significant memory efficiency gain with a lower value. If you use a high
 
68
chunk growth factor (-f option), on the other hand, you may want to increase
 
69
the size to allow a bigger percentage of your items to fit in the most densely
 
70
packed (smallest) chunks.
 
71
.TP
62
72
.B \-h
63
73
Show the version of memcached and a summary of options.
64
74
.TP