From owner-freebsd-questions@freebsd.org Wed Sep 21 10:19:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CE08BE3D16 for ; Wed, 21 Sep 2016 10:19:27 +0000 (UTC) (envelope-from staale@kristoffersen.ws) Received: from mail-ext01.uio.no (mail-ext01.uio.no [IPv6:2001:700:100:10::41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1F1A1DB for ; Wed, 21 Sep 2016 10:19:26 +0000 (UTC) (envelope-from staale@kristoffersen.ws) Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out01.uio.no with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1bmece-0001JX-La; Wed, 21 Sep 2016 12:19:24 +0200 Received: from putsch.kolbu.ws ([158.36.191.193]) by mail-mx1.uio.no with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1bmece-0001I5-67; Wed, 21 Sep 2016 12:19:24 +0200 Received: from chiller by putsch.kolbu.ws with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bmecd-0004DH-GN; Wed, 21 Sep 2016 12:19:23 +0200 Date: Wed, 21 Sep 2016 12:19:23 +0200 From: =?utf-8?B?U3TDpWxl?= Kristoffersen To: Michael Schuster Cc: freeBSD Mailing List Subject: Re: Server gets a high load, but no CPU use, and then later stops respond on the network Message-ID: <20160921101923.GC13386@putsch.kolbu.ws> References: <20160913232351.GA36091@putsch.kolbu.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 0AF1248F850E7D7033CE909D435449A955F5FA39 X-UiO-SPAM-Test: remote_host: 158.36.191.193 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 3 total 34667 max/h 377 blacklist 0 greylist 0 ratelimit 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 10:19:27 -0000 On 2016-09-21 at 09:35, Michael Schuster wrote: > Hi, > > While I'm not very familiar with FreeBSD internals, I'd like to point out > two things that I think may be relevant: > > 1) note that '[idle]' seems to be the only thread/process doing significant > work - at a guess, I'd say that's the kernel doing work that cannot be > ascribed to anything else ... housekeeping? (someone who knows FreeBSD > better will have to answer that) Hi, I would think those other houskeeping tasks would show up as other kernel threads, but I might be wrong. > 2) look at 'sr' (using a fixed-width font probably helps). In Solaris > (which is where I come from ... a long time ago ;-)) this is "scan rate", > ie the number of pages (per second) the paging mechanism is looking at - > (again on Solaris) this would mean that your system is under some kind of > fairly constant memory pressure - where from I cannot even guess, and given > the "avm" and "fre" columns, this does look very strange ... but that's > what I'd continue my investigation with. That also had my attention, but the number is much lower than it is when the system is working fine, so I didn't look any harder at it. Can anyone else chime in on what is normal? -- Ståle Kristoffersen