內存緩存屬性 - AWS OpsWorks

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

內存緩存屬性

重要

所以此 AWS OpsWorks Stacks 服務於 2024 年 5 月 26 日終止使用壽命,並已針對新客戶和現有客戶停用。我們強烈建議客戶盡快將其工作負載移轉至其他解決方案。如果您對移轉有任何疑問,請聯絡 AWS Support 團隊上 AWS Re: 郵寄或透過 AWS 高級 Support

注意

這些屬性僅適用於 Linux 堆疊。

memcached 屬性指定 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]