Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th February 2013, 16:53
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default problems with self-compiled nginx

my nginx.conf contains: worker_processes 8;

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

Code:
|-nginx-+-5*[nginx---5*[{nginx}]]
     |       |-nginx---4*[{nginx}]
     |       |-nginx---6*[{nginx}]
     |       `-2*[nginx---{nginx}]

With the stock Debian nginx-full this always looked like this:
Code:
-nginx---9*[nginx---{nginx}
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?
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2013, 16:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,190
Thanks: 829
Thanked 5,418 Times in 4,260 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th February 2013, 17:34
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

I think I did it right, except for this one there are no problems, ISPCFG3 is happy. I followed this tutorial: http://www.howtoforge.com/building-n...debian-squeeze

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

Bookmarks

Tags
nginx, processes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nginx + php-fpm = various problems for SOME sites inc 500 or 404 or no input file talkingnews Installation/Configuration 3 11th December 2011 18:02
A Working Nginx Catchall with ISPConfig 3. renders Tips/Tricks/Mods 4 15th April 2011 21:53
E: Sub-process /usr/bin/dpkg returned an error code (1) ergti Installation/Configuration 1 16th August 2009 12:36
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Empty Recycle Bin jon335 General 40 6th May 2006 11:56


All times are GMT +2. The time now is 16:15.


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