You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Green <ja...@stealthnet.co.uk> on 2002/05/29 13:06:41 UTC
Process management
Hi all,
Just looked on our FreeBSD 4.5 server which has mysql, php4 and apche 1.3.23
on it.
I'm a little concerned that mysqld has been running nearly 70 hours at 100%
cpu usage. This seems more likely to be a hung process or something?
top:
last pid: 37988; load averages: 1.04, 1.03, 1.01
up 40+19:18:02 10:54:37
37 processes: 2 running, 35 sleeping
CPU states: 1.7% user, 0.0% nice, 49.2% system, 0.0% interrupt, 49.0%
idle
Mem: 36M Active, 319M Inact, 93M Wired, 100K Cache, 112M Buf, 556M Free
Swap: 2033M Total, 2033M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
127 mysql 58 0 30356K 9164K CPU1 1 69.3H 99.02% 99.02% mysqld
56534 www 2 0 10392K 7416K sbwait 1 10:46 0.15% 0.15% httpd
56529 www 18 0 10368K 7312K lockf 0 10:52 0.00% 0.00% httpd
56528 www 2 0 11812K 8784K select 0 10:51 0.00% 0.00% httpd
56527 www 18 0 10400K 7412K lockf 0 10:50 0.00% 0.00% httpd
56530 www 18 0 10412K 7352K lockf 0 10:50 0.00% 0.00% httpd
56532 www 2 0 10400K 7340K sbwait 1 10:48 0.00% 0.00% httpd
56531 www 18 0 10384K 7340K lockf 0 10:45 0.00% 0.00% httpd
56533 www 2 0 10384K 7408K sbwait 1 10:42 0.00% 0.00% httpd
56535 www 2 0 10396K 7340K sbwait 1 10:42 0.00% 0.00% httpd
56526 www 18 0 10348K 7292K lockf 1 10:35 0.00% 0.00% httpd
109 root 2 0 9748K 6492K select 1 6:36 0.00% 0.00% httpd
Notice how several httpds have also been running for some time too. The
server is a dual PIII 1Ghz with a gb of ram.
Is this normal or an indication that something may need to be restarted? I
know one of the hosted websites does use the database quite a lot and is
still functioning well, so clearly things are still working.
Advice appreciated.
--
James Green
Developer
Stealthnet.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org