

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# memcached 属性
<a name="attributes-recipes-mem"></a>

**重要**  
この AWS OpsWorks Stacks サービスは 2024 年 5 月 26 日にサポート終了となり、新規および既存のお客様の両方で無効になっています。できるだけ早くワークロードを他のソリューションに移行することを強くお勧めします。移行についてご質問がある場合は、[AWS re:Post](https://repost.aws/) または[AWS プレミアムサポート](https://aws.amazon.com/support)を通じて AWS サポート チームにお問い合わせください。

**注記**  
これらの属性は Linux スタックにのみ使用できます。

[`memcached` 属性](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/memcached/attributes/default.rb)は [Memcached](http://memcached.org/) サーバー設定を指定します。組み込み属性を上書きしてカスタム値を指定する方法の詳細については、「[属性の上書き](workingcookbook-attributes.md)」を参照してください。


****  

|  |  |  | 
| --- |--- |--- |
| [メモリ ](#attributes-recipes-mem-memory) | [max\$1connections ](#attributes-recipes-mem-max) | [pid\$1file ](#attributes-recipes-mem-pid) | 
| [port ](#attributes-recipes-mem-port) | [start\$1command ](#attributes-recipes-mem-start) | [stop\$1command ](#attributes-recipes-mem-stop) | 
| [ユーザー ](#attributes-recipes-mem-user) |  |  | 

**メモリ **  <a name="attributes-recipes-mem-memory"></a>
使用する最大メモリ (MB 単位) (数値)。デフォルト値は `512` です。  

```
node[:memcached][:memory]
```

**max\$1connections **  <a name="attributes-recipes-mem-max"></a>
接続の最大数 (文字列)。デフォルト値は `'4096'` です。  

```
node[:memcached][:max_connections]
```

**pid\$1file **  <a name="attributes-recipes-mem-pid"></a>
デーモンのプロセス ID を含むファイル (文字列)。デフォルト値は `'var/run/memcached.pid'` です。  

```
node[:memcached][:pid_file]
```

**port **  <a name="attributes-recipes-mem-port"></a>
リッスンするポート (数値)。デフォルト値は `11211` です。  

```
node[:memcached][:port]
```

**start\$1command **  <a name="attributes-recipes-mem-start"></a>
開始コマンド (文字列)。デフォルト値は `'/etc/init.d/memcached start'` です。  

```
node[:memcached][:start_command]
```

**stop\$1command **  <a name="attributes-recipes-mem-stop"></a>
停止コマンド (文字列)。デフォルト値は `'/etc/init.d/memcached stop'` です。  

```
node[:memcached][:stop_command]
```

**ユーザー **  <a name="attributes-recipes-mem-user"></a>
ユーザー (文字列)。デフォルト値は `'nobody'` です。  

```
node[:memcached][:user]
```