process under nobody
I had posted a thread here that I could see the most processes used by nobody user in my whm as & somebody advised me that running apache as nobody user is not probably a good idea & I got a reply here from support that it was fixed. Today I am not able to find the old thread so posting a new thread, The server load is showing 1.94 average.
Server Information
Processor Information
Processor #1 Vendor: AuthenticAMD
Processor #1 Name: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Processor #1 speed: 2004.220 MHz
Processor #1 cache size: 512 KB
Processor #2 Vendor: AuthenticAMD
Processor #2 Name: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Processor #2 speed: 2004.220 MHz
Processor #2 cache size: 512 KB
Memory Information
Memory for crash kernel (0x0 to 0x0) notwithin permissible range
Memory: 2038488k/2063040k available (2080k kernel code, 23348k reserved, 869k data, 220k init, 1145536k highmem)
System Information
Linux server.thehostinggroup.info 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:16 EST 2007 i686 athlon i386 GNU/Linux
Physical Disks
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
Current Memory Usage
total used free shared buffers cached
Mem: 2041844 1959556 82288 0 27972 1242352
-/+ buffers/cache: 689232 1352612
Swap: 1052248 68 1052180
Total: 3094092 1959624 1134468
Current Disk Usage
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 288G 143G 130G 53% /
/dev/sda3 494M 17M 452M 4% /tmp
/dev/sda1 99M 23M 72M 24% /boot
tmpfs 997M 0 997M 0% /dev/shm
when I tried to find the user who is causing more load I could see this:
16463 nobody 0
1.2
1.0 /usr/local/apache/bin/httpd -DSSL
5477 nobody 0
0.8
1.0 /usr/local/apache/bin/httpd -DSSL
15464 nobody 0
0.5
1.1 /usr/local/apache/bin/httpd -DSSL
10813 nobody 0
0.5
1.0 /usr/local/apache/bin/httpd -DSSL
7986 nobody 0
0.5
1.1 /usr/local/apache/bin/httpd -DSSL
6257 nobody 0
0.5
1.1 /usr/local/apache/bin/httpd -DSSL
5286 nobody 0
0.4
1.0 /usr/local/apache/bin/httpd -DSSL
4426 nobody 0
0.4
1.2 /usr/local/apache/bin/httpd -DSSL
7996 nobody 0
0.4
1.1 /usr/local/apache/bin/httpd -DSSL
5557 nobody 0
0.4
1.2 /usr/local/apache/bin/httpd -DSSL
15698 nobody 0
0.3
1.0 /usr/local/apache/bin/httpd -DSSL
5080 nobody 0
0.3
1.2 /usr/local/apache/bin/httpd -DSSL
4895 nobody 0
0.3
1.2 /usr/local/apache/bin/httpd -DSSL
5469 nobody 0
0.3
1.1 /usr/local/apache/bin/httpd -DSSL
5467 nobody 0
0.3
1.1 /usr/local/apache/bin/httpd -DSSL
5478 nobody 0
0.3
1.1 /usr/local/apache/bin/httpd -DSSL
3340 nobody 0
0.2
1.2 /usr/local/apache/bin/httpd -DSSL
4330 nobody 0
0.2
1.1 /usr/local/apache/bin/httpd -DSSL
4857 nobody 0
0.2
1.2 /usr/local/apache/bin/httpd -DSSL
4899 nobody 0
0.2
1.2 /usr/local/apache/bin/httpd -DSSL
6506 nobody 0
0.2
1.0 /usr/local/apache/bin/httpd -DSSL
7522 nobody 0
0.2
1.1 /usr/local/apache/bin/httpd -DSSL
11671 nobody 0
0.2
1.1 /usr/local/apache/bin/httpd -DSSL
15722 nobody 0
0.2
1.0 /usr/local/apache/bin/httpd -DSSL
15730 nobody 0
0.2
0.0 [httpd] <defunct>
6230 nobody 0
0.1
1.1 /usr/local/apache/bin/httpd -DSSL
7867 root 19
0.1
0.4 cpanellogd - sleeping for logs
8602 nobody 0
0.1
1.1 /usr/local/apache/bin/httpd -DSSL
15466 nobody 0
0.1
0.9 /usr/local/apache/bin/httpd -DSSL
15467 nobody 0
0.1
1.0 /usr/local/apache/bin/httpd -DSSL
15731 nobody 0
0.1
0.9 /usr/local/apache/bin/httpd -DSSL
16467 nobody 0
0.1
0.9 /usr/local/apache/bin/httpd -DSSL
16547 duyhung 0
0.1
0.4 cpaneld - serving 125.235.87.42
8 root -5
0.0
0.0 [events/0]
9 root -5
0.0
0.0 [events/1]
10 root -5
0.0
0.0 [khelper]
while the most processes are shown under a nobody user how to find the user who is causing more load on the server ?
Thanks.
|