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 =EB=CF=CE=D8=CB=CF=D7 =E5=D7=C7=C5=CE=C9=CA <kes-kes@yandex.ru>: > Hi. > > Sometimes system goes to this situation: 0% idle and no processes take CP= U time > > #top -SIHP > last pid: 62813; =9Aload averages: =9A4.17, =9A3.64, =9A2.16 =9A up 28+06= :44:02 =9A20:41:41 > 155 processes: 7 running, 129 sleeping, 19 waiting > CPU: 99.3% user, =9A0.0% nice, =9A0.7% system, =9A0.0% interrupt, =9A0.0%= idle > Mem: 177M Active, 27M Inact, 124M Wired, 13M Cache, 60M Buf, 148M Free > Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse > > =9APID USERNAME =9A PRI NICE =9A SIZE =9A =9ARES STATE =9A =9ATIME =9A WC= PU COMMAND > > #top > last pid: 62852; =9Aload averages: =9A4.10, =9A3.67, =9A2.22 =9A up 28+06= :44:36 =9A20:42:15 > 172 processes: 4 running, 168 sleeping > CPU: 99.6% user, =9A0.0% nice, =9A0.4% system, =9A0.0% interrupt, =9A0.0%= idle > Mem: 203M Active, 27M Inact, 125M Wired, 13M Cache, 60M Buf, 121M Free > Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse > > =9APID USERNAME =9A =9ATHR PRI NICE =9A SIZE =9A =9ARES STATE =9A =9ATIME= =9A WCPU COMMAND > 62817 root =9A =9A =9A =9A 36 =9A-8 =9A =9A0 29696K 23276K piperd =9A 0:0= 0 =9A7.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. --=20 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>