Apache in Nginx server

Jim Ohlstein jim at ohlste.in
Sat Jun 11 17:06:48 MSD 2011


On 6/11/11 9:04 AM, etrader wrote:
> I removed Apache by "yum remove httpd" before installing Nginx. But
> php-fpm processes are associated with Apache (instead of Nginx) as (as
> seen by top command)
> 
> 
>  1590 root      21   0 13624 2096  340 S  0.0  0.4   0:00.00 nginx
>  1592 nginx     15   0 13840 2984  992 S  0.0  0.6   0:00.40 nginx
>  3591 apache    16   0 21348 6172 3600 S  0.0  1.2   0:36.20 php-fpm
>  7200 apache    15   0 21604 6320 3620 S  0.0  1.2   0:35.27 php-fpm
>  9980 apache    16   0 21596 6124 3556 S  0.0  1.2   0:13.14 php-fpm
> 11382 apache    15   0 21540 6160 3536 S  0.0  1.2   0:04.33 php-fpm
> 11477 apache    15   0 21700 6224 3524 S  0.0  1.2   0:04.67 php-fpm
> 11484 apache    18   0 21584 6188 3508 S  0.0  1.2   0:04.80 php-fpm
> 
> 
> Is it normal? why Apache is still alive in my server?

It appears that php-fpm is running under the "apache" user. As long as
all is working ok, there is nothing to worry about.

-- 
Jim Ohlstein



More information about the nginx mailing list