Portal Home > Knowledgebase > Articles Database > no user at TOP - all are nobody
no user at TOP - all are nobody
Posted by rs2host, 08-06-2008, 09:31 AM |
when I run top command I should see who user are running and I see only my root and no body
2840 mysql 15 0 181m 78m 4568 S 22 1.0 1102:41 mysqld
4078 nobody 16 0 37128 17m 3300 S 5 0.2 0:00.99 httpd
4032 nobody 15 0 37600 18m 3364 S 5 0.2 0:00.35 httpd
3541 nobody 17 0 38200 18m 3300 S 4 0.2 0:00.73 httpd
3598 nobody 16 0 41744 21m 3288 S 4 0.3 0:01.26 httpd
3738 nobody 15 0 39820 19m 3276 S 3 0.2 0:00.63 httpd
4052 nobody 15 0 38436 18m 3376 S 2 0.2 0:01.63 httpd
3428 nobody 15 0 37040 17m 3388 S 2 0.2 0:00.60 httpd
3806 nobody 17 0 38404 18m 3316 S 2 0.2 0:00.70 httpd
4036 nobody 15 0 38408 18m 3300 S 1 0.2 0:00.52 httpd
4072 nobody 15 0 44216 24m 3424 S 1 0.3 0:01.03 httpd
3402 nobody 15 0 38296 18m 3320 S 0 0.2 0:01.05 httpd
3437 nobody 15 0 41632 22m 3616 S 0 0.3 0:01.25 httpd
3505 nobody 15 0 37412 17m 3428 S 0 0.2 0:00.89 httpd
3523 nobody 15 0 41432 21m 3252 S 0 0.3 0:00.30 httpd
3542 nobody 15 0 42720 22m 3388 S 0 0.3 0:00.88 httpd
3581 nobody 15 0 37464 17m 3272 S 0 0.2 0:00.40 httpd
3602 nobody 15 0 38472 18m 3420 S 0 0.2 0:00.31 httpd
3643 nobody 15 0 37788 18m 3308 S 0 0.2 0:00.50 httpd
3644 nobody 15 0 35120 15m 3000 S 0 0.2 0:00.03 httpd
3645 nobody 15 0 41816 21m 3276 S 0 0.3 0:00.52 httpd
3647 nobody 15 0 42908 23m 3408 S 0 0.3 0:01.20 httpd
3723 nobody 15 0 36260 16m 3408 S 0 0.2 0:00.85 httpd
3805 nobody 15 0 37512 17m 3272 S 0 0.2 0:00.44 httpd
4046 nobody 15 0 39596 19m 3284 S 0 0.2 0:01.41 httpd
4567 root 15 0 2452 1224 796 R 0 0.0 0:01.04 top
7826 root 15 0 0 0 0 S 0 0.0 0:06.21 pdflush
10001 root 15 0 12920 8528 1292 S 0 0.1 0:18.65 lfd
1 root 16 0 2060 636 544 S 0 0.0 0:12.09 init
2 root RT 0 0 0 0 S 0 0.0 0:01.15 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.14 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.63 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.09 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root RT 0 0 0 0 S 0 0.0 0:01.29 migration/2
9 root 34 19 0 0 0 S 0 0.0 0:00.18 ksoftirqd/2
----------------------
and I can't know who are runing in my server
|
Posted by webcertain, 08-06-2008, 10:16 AM |
nobody is apache, since you've not configured it to run per-user, it runs under the default account 'nobody'
|
Posted by rs2host, 08-06-2008, 10:33 AM |
thank u , but how can i repair this issue
|
Posted by YYamagishi, 08-06-2008, 11:03 AM |
Are you using any control panels such as cPanel?
If not, most likely, edit /etc/apache2/httpd.conf:
|
Posted by rs2host, 08-06-2008, 11:14 AM |
i use WHM/Cpaenl
what can i should do
|
Posted by Laila, 08-06-2008, 12:38 PM |
Looks like KeepAlive is On and set for long time. Change it in your httpd.conf.
|
Posted by stephanhughson, 08-06-2008, 04:06 PM |
Why are we telling this user to change anything? drpepo, there doesn't seem to be anything wrong with your server based on the information we have here and changing things when you are not 100% informed is a bad move, don't listen to people who tell you to change things without details of how it will actually affect you. Furthermore, changing things on a cPanel server manually for no reason can break the way it works, it isn't designed to work that way. If you want complete control over the configuration files and want to customise them, don't use a control panel.
cPanel is designed to manage the Apache configuration itself and can customise Apache to how you want it to behave through the options in WHM. If you want scripts etc running as a user for example, there is a way within WHM, it's called suexec - http://www.cpanel.net/docs/whm/Enabl...ble_SuExec.htm
If you want to monitor what is happening on your server, the Apache server status page is a good place to start. It's in WHM under "Server Status" and shows all IP addresses accessing the server, which pages they are accessing and more in real time. Like this: http://httpd.apache.org/server-status
|
Posted by YYamagishi, 08-06-2008, 08:55 PM |
That's why I asked him if he has control panel or not...
|
Posted by zacharooni, 08-06-2008, 09:01 PM |
Most of the programs you will find on your server will either run as root or noobody, perhaps there are no users running anything!
And, apache is designed to run as the 'nobody' user (uid 99), so you'll have to enable suPHP or phpsuexec to see the '/usr/bin/php /home/user/script.php' lines. This appears (from our perspective), to be working normally? Are you expecting to see other processes from other users?
|
Posted by rs2host, 08-09-2008, 10:11 AM |
no i can't see processes line from other users ex. /home/user/script.php
and I use dso + PHP 5 + Apache suEXEC ON
|
Posted by tracerouteme, 08-09-2008, 02:43 PM |
You can get which process/script from WHM -> Server Status -> Apache Status and WHM -> System Health -> Show current running process.
Or Run the command /scripts/simpleps from the shell.
|
Add to Favourites Print this Article
Also Read
Good SSL? (Views: 545)