Date: Fri, 19 Nov 2010 09:54:33 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= <kes-kes@yandex.ru> Cc: freebsd-questions@freebsd.org Subject: Re: strange behaviour on FreeBSD 7.1 Message-ID: <AANLkTinft5P=0nO7Zk6N95euprmE0PKOF4g7hNqqGTF%2B@mail.gmail.com> In-Reply-To: <683205662.20101117203818@yandex.ru> References: <683205662.20101117203818@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/11/18 λΟΞΨΛΟΧ εΧΗΕΞΙΚ <kes-kes@yandex.ru>: > Hi. > > Sometimes system goes to this situation: 0% idle and no processes take CPU time > > #top -SIHP > last pid: 62813; load averages: 4.17, 3.64, 2.16 up 28+06:44:02 20:41:41 > 155 processes: 7 running, 129 sleeping, 19 waiting > CPU: 99.3% user, 0.0% nice, 0.7% system, 0.0% interrupt, 0.0% idle > Mem: 177M Active, 27M Inact, 124M Wired, 13M Cache, 60M Buf, 148M Free > Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND > > #top > last pid: 62852; load averages: 4.10, 3.67, 2.22 up 28+06:44:36 20:42:15 > 172 processes: 4 running, 168 sleeping > CPU: 99.6% user, 0.0% nice, 0.4% system, 0.0% interrupt, 0.0% idle > Mem: 203M Active, 27M Inact, 125M Wired, 13M Cache, 60M Buf, 121M Free > Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 62817 root 36 -8 0 29696K 23276K piperd 0:00 7.62% perl5.8.8 If you look at the "last pid" between the 2 top-output snippets, you can see that approx 40 processes came and went in-between. This indiciates that you probably have some script running that's spawning a large number of short-lived processes. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinft5P=0nO7Zk6N95euprmE0PKOF4g7hNqqGTF%2B>
