Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394535
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
631 B
Subscribers
None
README.md
View Options
#
puppet
-
memcached
Manage
memcached
via
Puppet
##
How
to
use
###
Use
roughly
90
%
of
memory
```
ruby
class
{
'
memcached
'
:
}
```
###
Set
a
fixed
memory
limit
in
MB
```
ruby
class
{
'
memcached
'
:
max_memory
=>
2048
}
```
###
Use
12
%
of
available
memory
```
ruby
class
{
'
memcached
'
:
max_memory
=>
'
12
%
'
}
```
###
Other
class
parameters
*
$
logfile
=
'
/
var
/
log
/
memcached
.
log
'
*
$
listen_ip
=
'
0.0
.
0.0
'
*
$
tcp_port
=
11211
*
$
udp_port
=
11211
*
$
user
=
''
(
OS
specific
setting
,
see
params
.
pp
)
*
$
max_connections
=
8192
*
$
lock_memory
=
false
(
WARNING
:
good
if
used
intelligently
,
google
for
-
k
key
)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 4, 7:26 PM (5 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3347034
Attached To
rSPMEMC Memcached Puppet Module
Event Timeline
Log In to Comment