Hi!
I have a apache2, PHP and mysql server running on the same machine.
when i type 'ps aux'
I have 11x
/usr/sbin/apache2 -k start -DSSL.
Listed.
Of which root owns one and www-data owns 10.
I then type '/etc/init.d/apache2 stop'
All processes die, I then restart with: '/etc/init.d/apache2 start'
Code:
root 3974 1.6 3.2 51216 6212 ? Ss 21:37 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 3978 0.0 1.6 51216 3220 ? S 21:37 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 3979 0.0 1.6 51216 3220 ? S 21:37 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 3980 0.0 1.6 51216 3220 ? S 21:37 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 3981 0.0 1.6 51216 3220 ? S 21:37 0:00 /usr/sbin/apache2 -k start -DSSL
www-data 3982 0.0 1.6 51216 3220 ? S 21:37 0:00 /usr/sbin/apache2 -k start -DSSL
And i now have 6 processes - of which root owns 1x
My questions are:
Should this many processes be running on an idle (but used) machine.
How do i stop root from running one of them (process) - Is this normal?
How can i stop 11x processes starting when rebooted? (Eats all the memory)
Thanks
--cAm