Welcome! Log In Create A New Profile

Advanced

notify master process

January 11, 2010 04:58AM
hi all

does anybody know if it is possible to execute code in the master process of a running nginx by writing an nginx module. what i want to do is to somehow notify the master process from a worker proces (e.g. by changing some state in shared memory) and then execute code with the master process' user.

actually what i want to do is to force a config reload, so i have to signal the master, but the worker does not have the permission to do so.

thanks in advance, bernd
Subject Author Posted

notify master process

dobe January 11, 2010 04:58AM

Re: notify master process

Reinis Rozitis January 11, 2010 11:04AM

Re: notify master process

dobe January 11, 2010 05:11PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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