本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
memcached 屬性
重要
AWS OpsWorks Stacks 此服務已於 2024 年 5 月 26 日終止,並已針對新客戶和現有客戶停用。我們強烈建議客戶盡快將其工作負載遷移至其他解決方案。如果您對遷移有任何疑問,請透過 AWS re:Post
注意
這些屬性僅適用於 Linux 堆疊。
memcached 屬性
- memory
-
可使用的記憶體上限,以 MB 為單位 (數值)。預設值為
512。node[:memcached][:memory] - max_connections
-
連線數目上限 (字串)。預設值為
'4096'。node[:memcached][:max_connections] - pid_file
-
包含協助程式之處理序 ID 的檔案 (字串)。預設值為
'var/run/memcached.pid'。node[:memcached][:pid_file] - port
-
要接聽的連接埠 (數值)。預設值為
11211。node[:memcached][:port] - start_command
-
啟動命令 (字串)。預設值為
'/etc/init.d/memcached start'。node[:memcached][:start_command] - stop_command
-
停止命令 (字串)。預設值為
'/etc/init.d/memcached stop'。node[:memcached][:stop_command] - 使用者
-
使用者 (字串)。預設值為
'nobody'。node[:memcached][:user]