HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   problems with self-compiled nginx (

Ovidiu 12th February 2013 17:53

problems with self-compiled nginx
my nginx.conf contains: worker_processes 8;

And yet, if I do a: pstree I see:


    |      |-nginx---4*[{nginx}]
    |      |-nginx---6*[{nginx}]
    |      `-2*[nginx---{nginx}]

With the stock Debian nginx-full this always looked like this:

Its weird, I always had 10 nginx processes: the 8 workers, the 1 master process and now that I used fastcgi_cache 1 nginx: cache manager process - that is 10 in total but now after compiling my own, I have 20 or a similar high number, it seems to fluctuate.
I thought ISPCFG3 was watching nginx and restarting it but since I did an apt-get remove nginx nginx-full nginx-common it should only find the manually compiled one and NOT start it again :(

Any idea?

till 12th February 2013 17:59

ISPConfig is not searching for a installed nginx, ispconfig is expecting a nginx at the path were it is normally installed by the native packages of the linux distribution. So if you want to compile your own nginx, ensure that is instaleld in the ame path and uses the same init script name then the nginx of the Linux distribution.

Ovidiu 12th February 2013 18:34

I think I did it right, except for this one there are no problems, ISPCFG3 is happy. I followed this tutorial:

Am I right to expect the number of nginx processes to be 1 master process + number of worker processes + 1 cache manager?

All times are GMT +2. The time now is 13:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.