

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# unicorn 속성
<a name="attributes-recipes-unicorn"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

**참고**  
이러한 속성은 Linux 스택에서만 사용할 수 있습니다.

[`unicorn` 속성](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.10/unicorn/attributes/default.rb)은 [Unicorn](http://unicorn.bogomips.org/) 구성을 지정합니다. 자세한 정보는 [Unicorn::Configurator](http://unicorn.bogomips.org/Unicorn/Configurator.html)를 참조하세요. 내장 속성을 재정의해 사용자 지정 값을 지정하는 방법에 대한 자세한 정보는 [속성 재정의](workingcookbook-attributes.md) 단원을 참조하세요.


****  

|  |  |  | 
| --- |--- |--- |
| [accept\$1filter](#attributes-recipes-unicorn-accept) | [backlog](#attributes-recipes-unicorn-backlog) | [delay](#attributes-recipes-unicorn-delay) | 
| [tcp\$1nodelay](#attributes-recipes-unicorn-nodelay) | [tcp\$1nopush](#attributes-recipes-unicorn-nopush) | [preload\$1app](#attributes-recipes-unicorn-preload) | 
| [제한 시간](#attributes-recipes-unicorn-timeout) | [tries](#attributes-recipes-unicorn-tries) | [버전](#attributes-recipes-unicorn-version) | 
| [worker\$1processes](#attributes-recipes-unicorn-worker) |  |  | 

**accept\$1filter**  <a name="attributes-recipes-unicorn-accept"></a>
accept 필터, `'httpready'` 또는 `'dataready'`(문자열). 기본값은 `'httpready'`입니다.  

```
node[:unicorn][:accept_filter]
```

**backlog**  <a name="attributes-recipes-unicorn-backlog"></a>
대기열이 보관할 수 있는 요청의 최대 수(숫자). 기본값은 `1024`입니다.  

```
node[:unicorn][:backlog]
```

**delay**  <a name="attributes-recipes-unicorn-delay"></a>
소켓 바인딩을 재시도하기 위해 기다릴 시간(초)(숫자). 기본값은 `0.5`입니다.  

```
node[:unicorn][:delay]
```

**preload\$1app**  <a name="attributes-recipes-unicorn-preload"></a>
worker 프로세스 포킹 전에 앱을 사전 로드할지 여부(부울). 기본값은 `true`입니다.  

```
node[:unicorn][:preload_app]
```

**tcp\$1nodelay**  <a name="attributes-recipes-unicorn-nodelay"></a>
TCP 소켓에 대한 Nagle의 알고리즘을 비활성화할지 여부(부울). 기본값은 `true`입니다.  

```
node[:unicorn][:tcp_nodelay]
```

**tcp\$1nopush**  <a name="attributes-recipes-unicorn-nopush"></a>
TCP\$1CORK를 활성화할지 여부(부울). 기본값은 `false`입니다.  

```
node[:unicorn][:tcp_nopush]
```

**제한 시간**  <a name="attributes-recipes-unicorn-timeout"></a>
각 요청마다 worker 사용이 허용되는 최대 시간(초)(숫자). 제한 시간 값을 초과하는 worker는 종료됩니다. 기본값은 `60`입니다.  

```
node[:unicorn][:timeout]
```

**tries**  <a name="attributes-recipes-unicorn-tries"></a>
소켓에 대한 바인딩을 재시도할 최대 횟수(숫자). 기본값은 `5`입니다.  

```
node[:unicorn][:tries]
```

**버전**  <a name="attributes-recipes-unicorn-version"></a>
Unicorn 버전(문자열). 기본값은 `'4.7.0'`입니다.  

```
node[:unicorn][:version]
```

**worker\$1processes**  <a name="attributes-recipes-unicorn-worker"></a>
worker 프로세스의 수(숫자). 기본값은 존재하는 경우, `max_pool_size`이고 그렇지 않은 경우에는 `4`입니다.  

```
node[:unicorn][:worker_processes]
```