From owner-freebsd-questions@freebsd.org Wed Mar 29 02:45:35 2017 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 44FCFD22034 for ; Wed, 29 Mar 2017 02:45:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay10.qsc.de (mailrelay10.qsc.de [212.99.163.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD3131030 for ; Wed, 29 Mar 2017 02:45:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay10.qsc.de; Wed, 29 Mar 2017 04:45:31 +0200 Received: from r56.edvax.de (port-92-195-127-117.dynamic.qsc.de [92.195.127.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 0BF603CC71; Wed, 29 Mar 2017 04:45:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v2T2jTuk002087; Wed, 29 Mar 2017 04:45:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 29 Mar 2017 04:45:28 +0200 From: Polytropon To: Janos Dohanics Cc: FreeBSD Questions Subject: Re: Unresponsive system Message-Id: <20170329044528.63cec581.freebsd@edvax.de> In-Reply-To: <20170328160634.611573c82e88e1ca12d25891@3dresearch.com> References: <20170328160634.611573c82e88e1ca12d25891@3dresearch.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay10.qsc.de with 9CB90683E51 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1893 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, 29 Mar 2017 02:45:35 -0000 On Tue, 28 Mar 2017 16:06:34 -0400, Janos Dohanics wrote: > The system is FreeBSD 11.0-STABLE #0 r314885 amd64. It is mostly used > to run Cyrus, Postfix, Amavisd, Clamd. Kernel is not customized, except > for "ident". > > Could this problem be related to the additional swap space provided by a swapfile? > > # cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# > /dev/ada0p2 none swap sw 0 0 > /dev/ada0p3 / ufs rw 1 1 > /dev/ada0p4 none swap sw 0 0 > md0 none swap sw,file=/swapfile,late 0 0 > > # swapinfo -hm > Device 1M-blocks Used Avail Capacity > /dev/ada0p2 256 241M 15M 94% > /dev/ada0p4 750 290M 460M 39% > /dev/md0 4096 289M 3.7G 7% > Total 5102 820M 4.2G 16% > > I'd appreciate your advice. Do you have statistics about your CPU and I/O load? Both can cause a system to become unresponsive. Using swap will start in case the RAM is "full", and because you have three mechanisms of swap on the same disk (ada0), this could be the reason: You have two swap partitions and a swap file, all of them residing on the same disk, and all of them are in use, so that could be the reason for I/O load... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...