From owner-freebsd-net@freebsd.org Tue Jan 9 09:55:17 2018 Return-Path: Delivered-To: freebsd-net@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 60189E72D05 for ; Tue, 9 Jan 2018 09:55:17 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from frv191.fwdcdn.com (frv191.fwdcdn.com [212.42.77.191]) (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 22F5B7450D for ; Tue, 9 Jan 2018 09:55:16 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from [10.10.80.11] (helo=frv197.fwdcdn.com) by frv191.fwdcdn.com with esmtp ID 1eYqEd-000P9x-MJ for freebsd-net@freebsd.org; Tue, 09 Jan 2018 11:30:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-Id:Cc:To:Subject:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/zTYoDBmMfvg04Mt/QwWlvQtdeMZUmrJIuwhXz0Um68=; b=LLX8o5r3vvsIrdMT2iZ5Mo/SiU d6JkblB9tKfGq+BVs9YXJ1O1dfX/aq96oT96pqccLqp7VYJw/yrnaXnfhGQ30p9PqeDCVDj2ldUpp rUNd4rOh4Bj5MB469Eh0hZEuhc+MD+zmNw3Vsa9ENj23Fm7/I5+9XrtwTtaKJCkWcSZM=; Received: from [10.10.10.52] (helo=frv52.fwdcdn.com) by frv197.fwdcdn.com with smtp ID 1eYqEV-0006TH-If for freebsd-net@freebsd.org; Tue, 09 Jan 2018 11:30:11 +0200 Date: Tue, 09 Jan 2018 11:30:11 +0200 From: wishmaster Subject: Re[2]: swap_pager_getswapspace(32) Error To: Eugene Grosbein Cc: freebsd-net@freebsd.org, freebsd-stable X-Mailer: mail.ukr.net 5.0 Message-Id: <1515489509.866388124.tjhm60c8@frv52.fwdcdn.com> In-Reply-To: <5A5480F4.3080404@grosbein.net> References: <1515479672.203020608.2hyrh1bv@frv52.fwdcdn.com> <5A5480F4.3080404@grosbein.net> X-Reply-Action: reply Received: from artemrts@ukr.net by frv52.fwdcdn.com; Tue, 09 Jan 2018 11:30:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 09:55:17 -0000 Hi, Eugene. --- Original message --- From: "Eugene Grosbein" Date: 9 January 2018, 10:45:13 > 09.01.2018 14:11, wishmaster wrote: > > > Jan 5 09:49:40 server kernel: swap_pager_getswapspace(32): failed > > Jan 5 09:49:40 server kernel: swap_pager_getswapspace(24): failed > > Jan 5 09:49:40 server kernel: swap_pager_getswapspace(18): failed > > [skip] > > This has nothing to do with netgraph, dummynet or ipfw. Yes, you right, I think. > > > Without netgraph/dummynet rules I see in top -HSP a lot of processes of MySQL. But innodb_buffer_pool_size is just 2GB. Server has 16GB RAM. > > > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > > > > 11570 106 20 0 570M 516M select 3 0:38 0.00% clamd{clamd} > > 11570 106 20 0 570M 516M select 1 0:00 0.00% clamd{clamd} > > 10612 88 20 0 2909M 451M uwait 3 0:07 0.01% mysqld{mysqld} > > 10612 88 20 0 2909M 451M uwait 3 0:04 0.01% mysqld{mysqld} > > ..... > > > > uname -a > > FreeBSD server 11.1-STABLE FreeBSD 11.1-STABLE #0 r325503: Tue Nov 7 13:38:44 EET 2017 wishmaster@servers:/usr/obj/usr/src/sys/MY amd64 > > Have you configured any swap partitions for the server? This problematic server has two HDD in mirror. Swap is about 32GB and located on each HDD. The second almost identical server has only one HDD. >From dmesg: avail memory = 16527147008 (15761 MB) GEOM_MIRROR: Device mirror/swap launched (2/2). # zpool status pool: my_zroot state: ONLINE scan: resilvered 2,19M in 0h0m with 0 errors on Wed May 17 13:14:09 2017 config: NAME STATE READ WRITE CKSUM my_zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada1p4 ONLINE 0 0 0 ada0p4 ONLINE 0 0 0 errors: No known data errors # swapinfo Device 1K-blocks Used Avail Capacity /dev/mirror/swap 33554428 0 33554428 0% The Capacity parameter of swapinfo is <= 2...3% even though swap_pager_getswapspace(32) is occurred. -- Vitaliy