Mercurial > hg > nginx-site
comparison xml/en/docs/faq/daemon_master_process_off.xml @ 198:ec4626d04879
- Bulk commit following discussion in devrep
author | Andrey Alexeev <andrew@nginx.com> |
---|---|
date | Wed, 23 Nov 2011 16:31:50 +0000 |
parents | aafe530e7d6f |
children | 19c060caf965 |
comparison
equal
deleted
inserted
replaced
197:241c9db1f3f4 | 198:ec4626d04879 |
---|---|
1 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | 1 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
2 | 2 |
3 <article name="Can I run nginx with daemon off or | 3 <article name="Can I run nginx with daemon off or |
4 master_process off settings | 4 master_process off settings |
5 in a production environment?" | 5 in a production environment?" |
6 link="/en/docs/faq/daemon_master_process_off.html" | 6 link="/en/docs/faq/daemon_master_process_off.html" |
8 | 8 |
9 <section> | 9 <section> |
10 | 10 |
11 <para> | 11 <para> |
12 <initial>Q:</initial> | 12 <initial>Q:</initial> |
13 Can I run nginx with daemon off or master_process off settings | 13 Can I run nginx with "daemon off" or "master_process off" settings |
14 in a production environment? | 14 in a production environment? |
15 </para> | 15 </para> |
16 | 16 |
17 <para> | 17 <para> |
18 | 18 |
19 </para> | 19 </para> |
20 | 20 |
21 <para> | 21 <para> |
22 <initial>A:</initial> | 22 <initial>A:</initial> |
23 First of all, both "daemon on|off" and "master_process on|off" directives were | 23 First of all, both "daemon on|off" and "master_process on|off" directives were |
24 intended to be used for nginx code develpment. | 24 intended to be used primarily for nginx code develpment. |
25 </para> | 25 </para> |
26 | 26 |
27 <para> | 27 <para> |
28 While many people use daemon off in production it wasn't really meant for | 28 While many people use "daemon off" in production it wasn't really meant for |
29 that. Since version 1.0.9 it is now quite safe to run nginx in production | 29 that. Since version 1.0.9 it is now quite safe to run nginx in production |
30 with daemon off, though. Bear in mind that non-stop upgrade is not an | 30 with "daemon off", though. Bear in mind that non-stop upgrade is not an |
31 option with daemon off. | 31 option with "daemon off". |
32 </para> | 32 </para> |
33 | 33 |
34 <para> | 34 <para> |
35 In a development environment, using master_process off, nginx can run in | 35 In a development environment, using "master_process off", nginx can run in |
36 the foreground without the master process and can be terminated simply | 36 the foreground without the master process and can be terminated simply |
37 with ^C (SIGINT). This is somewhat similar to running Apache with | 37 with ^C (SIGINT). This is somewhat similar to running Apache with |
38 an 'X' commandline option. However you should never run nginx in production | 38 an 'X' commandline option. However you should NEVER run nginx in production |
39 with master_process off. | 39 with "master_process off". |
40 </para> | 40 </para> |
41 | 41 |
42 </section> | 42 </section> |
43 | 43 |
44 </article> | 44 </article> |