nginx dso coredump

洪志道 hongzhidao at gmail.com
Thu Sep 1 00:20:31 UTC 2016


Thanks

2016-09-01 0:50 GMT+08:00 Maxim Dounin <mdounin at mdounin.ru>:

> 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/
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160901/625eb103/attachment.html>


More information about the nginx-devel mailing list