nginx dso coredump

Maxim Dounin mdounin at mdounin.ru
Wed Aug 31 16:50:39 UTC 2016


Hello!

On Wed, Aug 31, 2016 at 01:19:14AM +0800, 洪志道 wrote:

> Hi.
> 
> It’s do really a funny experience. Now I use in the following way.
> 
> [ngx_http_hello_module]
> 
> 
> 1. development:
> 
> ngx_http_hello_module.c  => ngx_http_hello_module.so
> 
> 
> 2. production
> 
> mv modules/ngx_http_hello_module.so  modules/ngx_http_hello_module.so.2
> 
> upload ngx_http_hello_module.so  to modules directory, and keep the same
> name
> 
> -- configuration --
> 
> load_module  module/ngx_http_hello_module.so;  # It always use the same
> name.
> 
> I can use lsof to check the so file used by nginx.pid or nginx.pid.oldbin.
> 
> 
> Is it the right way? Thanks again.

This should be fine, yes.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list