translation in initscripts

View: New views
2 Messages — Rating Filter:   Alert me  

translation in initscripts

by Dimitrios :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In initscripts ,What means master here (master of what) ?
996 Staring new master %s:
src://etc/rc.d/init.d/nginx:86,


Dimitri

Re: translation in initscripts

by ilyas-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Dimitri,

I used nginx and I know that, if you start nginx server it starts one master(main) process for nginx itself and many worker process. worker process can be configured in nginx configuration file.

Here is the example of real box:

[eric@mail ~]$ ps aux|grep nginx
mail   10093  0.0  0.0   4620   724 ?        Ss   Oct28   0:00 nginx: master process /opt/nginx/sbin/nginx -c /opt/nginx/conf/nginx.conf
mail   10094  0.0  0.0   6660  3608 ?        S    Oct28   0:39 nginx: worker process                      
mail   10095  0.0  0.0   6584  3544 ?        S    Oct28   0:43 nginx: worker process                      
mail   10096  0.0  0.0   6564  3520 ?        S    Oct28   0:30 nginx: worker process                      
mail   10097  0.0  0.0   6628  3576 ?        S    Oct28   0:45 nginx: worker process                      
mail   25199  0.0  0.0   1972   528 pts/0    S+   08:47   0:00 grep nginx



Ilyas

--- On Tue, 11/3/09, Dimitrios Glentadakis <dglent@...> wrote:

> From: Dimitrios Glentadakis <dglent@...>
> Subject: [i18n] translation in initscripts
> To: "cooker-i18n" <cooker-i18n@...>
> Date: Tuesday, November 3, 2009, 2:49 AM
> In initscripts ,What means master
> here (master of what) ?
> 996 Staring new master %s:
> src://etc/rc.d/init.d/nginx:86,
>
>
> Dimitri
>