In Linux, when I use the PS command, why do I see multiple lines for www-data?
Posted
by johnlai2004
on Server Fault
See other posts from Server Fault
or by johnlai2004
Published on 2010-03-16T16:37:05Z
Indexed on
2010/03/16
16:41 UTC
Read the original article
Hit count: 322
I have a LAMP server that uses ubuntu 9.10, apache2, mysql5 and php5.
When I login as root through the shell, I run a "ps aux" command and see something like the following
www-data 3151 0.1 4.3 220024 31032 ? S 12:22 0:00 /usr/sbin/apache2 -k start
www-data 3153 0.2 3.6 214776 26020 ? S 12:22 0:01 /usr/sbin/apache2 -k start
www-data 3162 0.3 5.1 225060 36920 ? S 12:26 0:01 /usr/sbin/apache2 -k start
www-data 3163 0.1 4.1 218872 29664 ? S 12:26 0:00 /usr/sbin/apache2 -k start
How come I see multiple lines for www-data? Does each line represent an actual user on my website?
I run into memory issues at times, so I'm trying to determine if these www-data statistics are related.
© Server Fault or respective owner