Mercurial > hg > nginx-site
comparison xml/en/docs/ngx_core_module.xml @ 574:5e9ff979eac8
Documented debug_points.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 09 Jul 2012 07:00:40 +0000 |
parents | 71d775bef043 |
children | be54c443235a |
comparison
equal
deleted
inserted
replaced
573:58f5acb7a67d | 574:5e9ff979eac8 |
---|---|
109 </example> | 109 </example> |
110 <note> | 110 <note> |
111 For this directive to work, nginx needs to | 111 For this directive to work, nginx needs to |
112 be built with <literal>--with-debug</literal>. | 112 be built with <literal>--with-debug</literal>. |
113 </note> | 113 </note> |
114 </para> | |
115 | |
116 </directive> | |
117 | |
118 | |
119 <directive name="debug_points"> | |
120 <syntax><literal>abort</literal> | <literal>stop</literal></syntax> | |
121 <default/> | |
122 <context>main</context> | |
123 | |
124 <para> | |
125 This directive is used for debugging. | |
126 </para> | |
127 | |
128 <para> | |
129 When internal error is detected, e.g. the leak of sockets on | |
130 restart of working processes, enabling <literal>debug_points</literal> | |
131 leads to a core file creation (<literal>abort</literal>) | |
132 or stopping a process (<literal>stop</literal>) for further | |
133 analysis using a system debugger. | |
114 </para> | 134 </para> |
115 | 135 |
116 </directive> | 136 </directive> |
117 | 137 |
118 | 138 |