Hi
I am writing plugin code that read the configuration, nginx.conf, and do some
periodic continues processing.
In the configuration CBs, the process PID is not the MASTER, after NGINX start
run he MASTER pid is other process.
It seems that temporary process read the nginx.conf. and then sp
THANKS Sergey!!! Clear. Best regards.
Yan
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,295739,295742#msg-295742
___
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org
Hi,
hope you're doing well.
On Mon, Nov 14, 2022 at 07:43:28AM -0500, ymarkman wrote:
> When/WhatFor "master process" is acting (vs worker)?
Here's the quote from [1]:
The master process is responsible for the following tasks:
- reading and validating configuration
When/WhatFor "master process" is acting (vs worker)?
Is it involved in data-traffic performance?
Could it be overloaded by agressive traffic or "stays in ~idle"?
Thanks
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,2957
It's not nginx's problem。`netstat` only displayed the first filtered
pid,change `ss -ltp | grep nginx` to display listen process.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,288851,290022#msg-290022
___
nginx mailing list
nginx@nginx.org
ver's log
file:
master_process off;
daemon off;
1. When I remove the above mentioned parameters and run NGINX as a
background process, however, I believe forked operations do not get handled in
the same session as the master process of NGINX and therefore they don't see
our preloaded so
In my node, Every network namespace has own nginx process.
when i use netstat command to get which nginx process are listening in port 80?
I found that some nginx worker process are listening 80 port. Some nginx master
process are listening port 80. In my understanding ,it should be that nginx
Thanks a lot Francis.
Apparently nginx was once started as root. So automatically the ownership of
the temp folders got changed to nginx user.
This explains the sudden permission change even though I had set it
explictly.
Thanks for your help.
Cheers,
Sushma
Posted at Nginx Forum:
https://forum
Hi,
On 09/21/2016 05:51 PM, Sushma wrote:
Thanks for the details.
I have explicitly changed permissions for directories as required.
But the problem I am facing here is nginx reload fails due to permission
denied for proxy_temp folder.
I had explicitly changed permissions for this folder so that
On Wed, Sep 21, 2016 at 01:51:18AM -0400, Sushma wrote:
Hi there,
> I have explicitly changed permissions for directories as required.
> But the problem I am facing here is nginx reload fails due to permission
> denied for proxy_temp folder.
> I had explicitly changed permissions for this folder
Thanks for the details.
I have explicitly changed permissions for directories as required.
But the problem I am facing here is nginx reload fails due to permission
denied for proxy_temp folder.
I had explicitly changed permissions for this folder so that it could be
accesssed by user abc (user wit
I need this new user.
How do you start the nginx process?
Whatever that method is, do it as the user that you want to run
everything as.
> nginx: [warn] the "user" directive makes sense only if the
> master process runs with super-user privileges, ignored in
> /usr/lo
d by nginx
user. (probably bcos it was installed as nginx?).
Is there a way to mention that I need this new user.
nginx: [warn] the "user" directive makes sense only if the
master process runs with super-user privileges, ignored in
/usr/local/nginx/conf/nginx.conf:6
Wth this , it looks li
On Wed, Aug 17, 2016 at 12:03:48PM -0400, Sushma wrote:
Hi there,
> I have setup nginx master process with a user , lets say user1.
By that, do you mean "you run nginx as user1", or something else?
> In the nginx.conf, user directive is mentioned with nginx. (user nginx;)
>
I have setup nginx master process with a user , lets say user1.
In the nginx.conf, user directive is mentioned with nginx. (user nginx;)
I understand that worker processes will be spawned by user nginx when I
start nginx.
Is there a way to start worker processes also as user1 without changing
rocesses
> >
> > This is exact since the HUP signal is used to reload configuration and
> > spawn new workers with it.
> >
> > However, a little bit further on the same page, in the on-the-fly upgrade
> > section, you got:
> >
> > > Send the HUP
e page, in the on-the-fly upgrade
> section, you got:
>
> > Send the HUP signal to the old master process. The old master process will
> > start new worker processes without re-reading the configuration. After
> > that, all new processes can be shut down gracefully, by send
on, graceful shutdown of old worker processes
This is exact since the HUP signal is used to reload configuration and
spawn new workers with it.
However, a little bit further on the same page, in the on-the-fly upgrade
section, you got:
> Send the HUP signal to the old master process. The old
Hello!
On Mon, Jun 02, 2014 at 04:15:09PM +0530, Adarsh Pugalia wrote:
> I am allocating memory using malloc for some of my variables in my module.
> I know i can call an exit master process, but how do i access my variables
> in that function. I tried finding some examples, but didnt
I am allocating memory using malloc for some of my variables in my module.
I know i can call an exit master process, but how do i access my variables
in that function. I tried finding some examples, but didnt find any. Can
anyone guide me through this
Hello!
On Sun, Mar 02, 2014 at 05:40:09PM -0500, badtzhou wrote:
> We are have issue that nginx master process is at 100% CPU and it stop
> responding to any request. The CPU utilization for all the workers are low.
>
> I am also seeing multiple nginx master process running at t
We seeing lot of empty requests from nginx process trace. Is this normal or
some kind of Dos attack?
0.48 recvfrom(254, "", 1024, 0, NULL, NULL) = 0
0.33 close(254)= 0
0.54 recvfrom(600, "", 1024, 0, NULL, NULL) = 0
0.29 close(600)= 0
Hello!
On Sun, Mar 2, 2014 at 2:40 PM, badtzhou wrote:
> We are have issue that nginx master process is at 100% CPU and it stop
> responding to any request. The CPU utilization for all the workers are low.
>
If I were you, I would just take a C-land on-CPU flame graph for the
process
We are have issue that nginx master process is at 100% CPU and it stop
responding to any request. The CPU utilization for all the workers are low.
I am also seeing multiple nginx master process running at the same time when
server stop responding, all of them are at 100% CPU. For my understand
Hello!
On Thu, Oct 24, 2013 at 08:37:03AM -0400, mzabani wrote:
> It seems like the init_module callback is not executed in nginx's master
> process. At least, I've printed a call to getpid() and the pid returned was
> that of a process that wasn't running, which makes
It seems like the init_module callback is not executed in nginx's master
process. At least, I've printed a call to getpid() and the pid returned was
that of a process that wasn't running, which makes me think it is executed
in a process that forks the master process itself.
Posted
Hello!
On Mon, Oct 21, 2013 at 08:27:01PM -0400, mzabani wrote:
> Is it possible to have a module run code in nginx's master process, i.e. not
> in a worker process?
> I know init_master is just a stub for now. Are there any chances this gets
> implemented in the near fu
Is it possible to have a module run code in nginx's master process, i.e. not
in a worker process?
I know init_master is just a stub for now. Are there any chances this gets
implemented in the near future?
Thanks in advance,
Marcelo.
Posted at Nginx Forum:
http://forum.nginx.org/rea
On 02/19/13 16:26, disney2002 wrote:
I got a Serious problem,here is the nginx config:
nginx version: nginx/0.8.55
0.8.55 is very old, try to upgrade to latest stable - 1.2.7
--
Anton Yuzhaninov
___
nginx mailing list
nginx@nginx.org
http://mailma
/local/openssl-1.0.1c --with-http_gzip_static_module
--with-http_ssl_module
and here is the error message:
*** glibc detected *** nginx: master process /data/nginx/sbin/nginx -c
/data/nginx/conf/nginx.conf: free(): invalid pointer: 0x005b9980
***
=== Backtrace: =
/lib64/libc.so
30 matches
Mail list logo