Propósito do processo Apache no ubuntu precise64 Apache 2.2.22

1

Usando o worker MPM, StartServers 3 e ThreadsPerChild 25, vemos o seguinte.

vagrant@precise64:$ sudo apachectl -v
Server version: Apache/2.2.22 (Ubuntu)
Server built:   Feb 13 2012 01:51:56

vagrant@precise64:$ ps -aef | grep apache2
root      6147     1  0 01:41 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  6148  6147  0 01:41 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  6149  6147  0 01:41 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  6150  6147  0 01:41 ?        00:00:00 /usr/sbin/apache2 -k start
www-data  6151  6147  0 01:41 ?        00:00:00 /usr/sbin/apache2 -k start

vagrant@precise64:$ ps -aefL | grep apache2 | grep -v grep | awk '{print $2;}' | sort -
n | uniq -c
      1 6147
      1 6148
     27 6149
     27 6150
     27 6151

É claro que o pid 6147 é o processo principal, 6149, 6150, 6151 são processos filhos. Alguém pode explicar propósito de pid 6148? Não escuta em nenhuma porta.

Obrigado Sameer

    
por Sameer Naik 07.05.2017 / 03:48

1 resposta

0

Talvez seja isto: citar o link :

In addition to the set of active child processes, there may be additional child processes which are terminating, but where at least one server thread is still handling an existing client connection. Up to MaxRequestWorkers terminating processes may be present, though the actual number can be expected to be much smaller.

    
por 07.05.2017 / 09:26

Tags