# proxy\_temp\_file\_write\_size

<mark style="color:blue;">**proxy\_temp\_file\_write\_size**</mark>指令用于<mark style="color:blue;">**配置同时写入临时文件的数据量的总大小**</mark>，合理的设置可以避免磁盘IO负载过重导致系统性能下降的问题，其语法结构为：

```nginx
proxy_temp_file_write_size size;
```

其中，<mark style="color:blue;">**size**</mark>为设置的数据量总大小上限值，默认设置根据平台的不同，可以为8 KB或16 KB，一般与平台的内存页大小相同。
