memcached Attributes
Important
AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.
Note
These attributes are available only on Linux stacks.
The memcached
attributes
- memory
-
The maximum memory to use, in MB (number). The default value is
512
.node[:memcached][:memory]
- max_connections
-
The maximum number of connections (string). The default value is
'4096'
.node[:memcached][:max_connections]
- pid_file
-
The file that contains the daemon's process ID (string). The default value is
'var/run/memcached.pid'
.node[:memcached][:pid_file]
- port
-
The port to listen on (number). The default value is
11211
.node[:memcached][:port]
- start_command
-
The start command (string). The default value is
'/etc/init.d/memcached start'
.node[:memcached][:start_command]
- stop_command
-
The stop command (string). The default value is
'/etc/init.d/memcached stop'
.node[:memcached][:stop_command]
- user
-
The user (string). The default value is
'nobody'
.node[:memcached][:user]