<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
&gt; I am a new pie to everything here, so please just ignore anything what i&#39;ve<br>
&gt; done improperly.<br>
&gt;<br>
&gt; Serveral days ago, when I was debugging my module, I crash the nginx process<br>
&gt; by change. I am playing with source code 0.8.36. then I tried the same thing<br>
&gt; under 0.8.44, crash happened again.<br>
&gt;<br>
&gt; nginx.conf:<br>
&gt;<br>
&gt;     daemon off;<br>
&gt;     master_process off;<br>
&gt;<br>
&gt; I started nginx in my terminal, and issued the configuration reloading<br>
&gt; command twice in another terminal. About 30 seconds later, the process just<br>
&gt; end up with &quot;Segmentation fault&quot;.<br>
&gt;<br>
&gt; I digged the code, found what caused this problem was:<br>
&gt;<br>
&gt; in ngx_clean_old_cycles, the ngx_cycle_t::connections in the second old<br>
&gt; cycle in ngx_old_cycles was not initialized properly, which should be done<br>
&gt; in ngx_event_process_init, which was only called once in<br>
&gt; ngx_single_process_cycle. So, the following __cycle__s created after<br>
&gt; reconfiguring was not initialized by ngx_event_process_init.<br>
&gt;<br>
&gt; I don&#39;t know if I describe the &quot;problem&quot; right, or this behavior should be<br>
&gt; considered as a BUG.<br>
<br>
&quot;master_process off&quot; mode is intended only for development and reloading<br>
may not work reliably in this mode. If you to test reloading, you should<br>
run &quot;master_process on&quot;.<br>
<br>
<br>
</blockquote></div>Thanks for you quick replying..  </blockquote><div></div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">But, with all due respect, the question is, what we need this mode for, if some feature may break during the custom module development.<br>
</blockquote><div> </div>