ngx_pid is always zero when read configure file.

The dynamic interface will be broken when master_process turned off.