Welcome! Log In Create A New Profile

Advanced

Re: Upstream module usage to process data

Maxim Dounin
May 31, 2017 09:22AM
Hello!

On Wed, May 31, 2017 at 09:00:42AM -0400, isolomka wrote:

> So I have my own module which is working with thread pool enabled.
> ngx_http_upstream_init is called from my thread_event_handler, flag r->aio
> is enabled.
> In fact, upstream is not initialized at all.
>
> When i set aio flag to false and call to ngx_http_upstream_init, i'm getting
> a core dump in ngx_epoll_process_events.

You certainly should not try to call upstream before your module's
thread operation is complete.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Upstream module usage to process data

isolomka May 29, 2017 06:04AM

Re: Upstream module usage to process data

Maxim Dounin May 29, 2017 07:58AM

Re: Upstream module usage to process data

isolomka May 30, 2017 03:45AM

Re: Upstream module usage to process data

Maxim Dounin May 30, 2017 03:00PM

Re: Upstream module usage to process data

isolomka May 31, 2017 08:22AM

Re: Upstream module usage to process data

Maxim Dounin May 31, 2017 08:54AM

Re: Upstream module usage to process data

isolomka May 31, 2017 09:00AM

Re: Upstream module usage to process data

Maxim Dounin May 31, 2017 09:22AM

Re: Upstream module usage to process data

isolomka May 31, 2017 09:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
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