From nobody Fri May 13 11:22:43 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B04431ACFD4E for ; Fri, 13 May 2022 11:22:54 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (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 4L05q14RJMz3mK2 for ; Fri, 13 May 2022 11:22:53 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 24DBMimo041709 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 13 May 2022 13:22:45 +0200 (CEST) (envelope-from wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1652440965; bh=VZOIDn/ReIpSIRzFpEuAy7W/zEPDTzJ1Ss/YGViaVPA=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=POtzzShC1X8hZej2YqsZytr8qRIZ3CnQCWIrmn0o0V5rrcyM68z0TDuFKk8FxPavI s97AP618VQTMaEclIh5C8iZZCOP30RBR9ExmW+RaHdAKf7rRDZGHm3Tp9BDpJnYaDh U/PJNZXUJ1JAfx6Tr5wUyf62VsjwLE1IEaKP6qgA= Received: from wojtek.intra (localhost [127.0.0.1]) by wojtek.intra (8.16.1/8.16.1) with ESMTP id 24DBMikJ027628; Fri, 13 May 2022 13:22:44 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by wojtek.intra (8.16.1/8.16.1/Submit) with ESMTP id 24DBMhUe027625; Fri, 13 May 2022 13:22:44 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: wojtek.intra: wojtek owned process doing -bs Date: Fri, 13 May 2022 13:22:43 +0200 (CEST) From: Wojciech Puchar To: Michael Wayne cc: freebsd-hackers@freebsd.org Subject: Re: Can not build kernel on 1GB VM In-Reply-To: <20220509170925.GQ72471@post.wayne47.com> Message-ID: <4aa57797-bc29-9cf7-8730-6d93d430f03c@puchar.net> References: <20220415174953.GE13678@post.wayne47.com> <5db061cf-1e23-7cfb-fea-4573f379ae5d@puchar.net> <20220509170925.GQ72471@post.wayne47.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4L05q14RJMz3mK2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puchar.net header.s=default header.b=POtzzShC; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[puchar.net:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[puchar.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MLMMJ_DEST(0.00)[freebsd-hackers]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On Tue, Apr 19, 2022 at 08:52:00AM +0200, Wojciech Puchar wrote: >> try >> >> sysctl -w vm.overcommit=1 > > No improvement. So it's not because memory is overallocated by program. > > >> On Fri, 15 Apr 2022, Michael Wayne wrote: >>> the machine ran out of swap. with a bunch of messages like: >>> Apr 15 12:11:26 g1 kernel: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 240593, size: 4096 >>> Apr 15 12:11:35 g1 kernel: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 236224, size: 16384 >>> Apr 15 12:11:37 g1 kernel: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 245, size: 12288 >>> Apr 15 12:11:46 g1 kernel: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 240593, size: 4096 >>> Apr 15 12:11:55 g1 kernel: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 236224, size: 16384 >>> Apr 15 12:11:57 g1 kernel: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 245, size: 12288 This message is NOT about running out of space! (sorry i didn't notice it before). this is when I/O is stalled too long.