Is there anyway to find out which domain an httpd process is working for?
I just checked one of my servers and I see this:
I don't see any slow downs on pages being served but I don't like seeing the server run with that high of a load. Is there a way I can find out if one site is causing this or if I am under attack?
I just checked one of my servers and I see this:
Code:
last pid: 46052; load averages: 67.09, 62.47, 52.07 up 1+00:48:10 19:03:45
289 processes: 55 running, 234 sleeping
CPU states: 62.9% user, 0.0% nice, 37.1% system, 0.0% interrupt, 0.0% idle
Mem: 793M Active, 381M Inact, 237M Wired, 54M Cache, 112M Buf, 536M Free
Swap: 4061M Total, 4061M Free
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
856 mysql 102 20 0 82276K 59680K kserel 618:23 15.09% mysqld
45527 apache 1 4 0 24616K 15932K sbwait 0:02 2.69% httpd
45542 apache 1 4 0 31128K 22240K sbwait 0:04 0.49% httpd
45565 apache 1 4 0 30836K 22116K sbwait 0:01 0.34% httpd
46026 apache 1 4 0 28308K 19440K sbwait 0:00 0.20% httpd
45443 apache 1 4 0 31064K 22416K sbwait 0:04 0.20% httpd
45788 apache 1 4 0 79108K 70304K sbwait 0:02 0.20% httpd
45556 apache 1 97 0 28476K 19804K select 0:01 0.10% httpd
45974 apache 1 96 0 24172K 15500K select 0:00 0.05% httpd
45797 apache 1 4 0 26776K 18044K sbwait 0:00 0.05% httpd
13334 root 1 8 0 21812K 12488K nanslp 0:23 0.00% httpd
770 root 1 96 0 25692K 24612K select 0:11 0.00% perl
I don't see any slow downs on pages being served but I don't like seeing the server run with that high of a load. Is there a way I can find out if one site is causing this or if I am under attack?