Apache spawned a root process

I occasionally have been checking my apache processes to see how much RAM they are using. Today I noticed that there was an apache process running under the username root. All of the other processes are using www-data (the default ubuntu). Any idea on how this could happen as I'm guessing this isn't normal.

Thanks

Drew

3 Replies

It is normal. The process running as root spawned all of the sub-processes running as www-data. It'll start and shutdown more of the processes as needed.

Running 'pstree -p' will show you that the root process is the one that started it all.

Thanks for the info.

Paranoia getting the best of me :oops:

@drewtown:

Paranoia getting the best of me :oops:
For server security, paranoia is good. Remember the old joke: just because you're paranoid, it doesn't mean they aren't out to get you.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct