

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

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

**Importante**  
Il AWS OpsWorks Stacks servizio ha raggiunto la fine del ciclo di vita il 26 maggio 2024 ed è stato disabilitato sia per i clienti nuovi che per quelli esistenti. Consigliamo vivamente ai clienti di migrare i propri carichi di lavoro verso altre soluzioni il prima possibile. Se hai domande sulla migrazione, contatta il Supporto AWS Team su [AWS re:post](https://repost.aws/) o tramite Premium [AWS Support](https://aws.amazon.com/support).

**Nota**  
Questi attributi sono disponibili solo per gli stack Linux.

Gli [attributi `memcached`](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/memcached/attributes/default.rb) specificano la configurazione del server [Memcached](http://memcached.org/). Per ulteriori informazioni su come sostituire gli attributi predefiniti per specificare valori personalizzati, consulta [Sostituzione degli attributi](workingcookbook-attributes.md).


****  

|  |  |  | 
| --- |--- |--- |
| [memory ](#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) | 
| [user ](#attributes-recipes-mem-user) |  |  | 

**memory **  <a name="attributes-recipes-mem-memory"></a>
Quantità massima di memoria da utilizzare, in MB (numero). Il valore predefinito è `512`.  

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

**max\$1connections **  <a name="attributes-recipes-mem-max"></a>
Numero massimo di connessioni (stringa). Il valore predefinito è `'4096'`.  

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

**pid\$1file **  <a name="attributes-recipes-mem-pid"></a>
File contenente l'ID processo del daemon (stringa). Il valore predefinito è `'var/run/memcached.pid'`.  

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

**port **  <a name="attributes-recipes-mem-port"></a>
Porta su cui rimanere in ascolto (numero). Il valore predefinito è `11211`.  

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

**start\$1command **  <a name="attributes-recipes-mem-start"></a>
Comando di avvio (stringa). Il valore predefinito è `'/etc/init.d/memcached start'`.  

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

**stop\$1command **  <a name="attributes-recipes-mem-stop"></a>
Comando di arresto (stringa). Il valore predefinito è `'/etc/init.d/memcached stop'`.  

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

**user **  <a name="attributes-recipes-mem-user"></a>
Utente (stringa). Il valore predefinito è `'nobody'`.  

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