Welcome! Log In Create A New Profile

Advanced

Re: nginx dso coredump

Maxim Dounin
August 31, 2016 12:52PM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx dso coredump

洪志道 419 August 30, 2016 06:34AM

Re: nginx dso coredump

洪志道 189 August 30, 2016 06:56AM

Re: nginx dso coredump

Maxim Dounin 183 August 30, 2016 07:24AM

Re: nginx dso coredump

洪志道 189 August 30, 2016 08:48AM

Re: nginx dso coredump

Maxim Dounin 170 August 30, 2016 10:52AM

Re: nginx dso coredump

洪志道 189 August 30, 2016 11:26AM

Re: nginx dso coredump

Maxim Dounin 176 August 30, 2016 12:16PM

Re: nginx dso coredump

洪志道 174 August 30, 2016 01:20PM

Re: nginx dso coredump

Maxim Dounin 170 August 31, 2016 12:52PM

Re: nginx dso coredump

洪志道 183 August 31, 2016 08:22PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 132
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready