root running httpd process?

hi

being a bit bored I just ran a check of processes and was surprised to notice that root is running a httpd process.

If I check in the VM processes screen that process has a number of sub-processes owned by apache.

I always thoguth that httpd ran as apache - not root.

Is this normal?
Should I panic?

l.

The parent Apache process runs as root, and the various children it spawns run as apache.

If you run “ps auxf”, it’ll show you a process listing that shows what the various parent processes are, so you can verify that what’s running as root is really the parent in this case.

-Eric

Hi Eric

yep - thats how it is.

I never noticed before, always thought / assumed ALL httpd processes ran as apache

thanks for confirming

l.