Welcome! Log In Create A New Profile

Advanced

Re: nginx dso coredump

Maxim Dounin
August 30, 2016 12:16PM
Hello!

On Tue, Aug 30, 2016 at 11:25:26PM +0800, 洪志道 wrote:

> So is it not allowed that we reload a configuration after change
> load_module directive?

Reloading configuration is allowed. What is not allowed is
loading incompatible modules with conflicting symbols defined,
and, as far as I understand, this what essentially happens in your
case.

You configuration has ngx_http_abc_module_1.so loaded with the
ngx_http_abc_module symbol defined. And you load
ngx_http_abc_module_2.so which defines the ngx_http_abc_module to
something different and incompatible.

> But it seems probably happened that others guys reload nginx, since they
> don't know
> whether load_module changes.
>
> I mean we should upgrade after change so files, but it's easy to get a
> segmentation fault
> if some other guy run a reload command at that time.

What happens is a direct result of your manual intervention to
naming and thus introducing multiple conflicting modules. And I
don't think nginx can do much to prevent this from happening, at
least without limiting of what modules can do. Most simple
solution is to avoid manually renaming modules.

--
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

洪志道 188 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 175 August 30, 2016 12:16PM

Re: nginx dso coredump

洪志道 173 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: 146
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