From nobody Tue Aug 03 06:38:17 2021 X-Original-To: freebsd-net@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 7026E12B8113; Tue, 3 Aug 2021 06:38:28 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) (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 4Gf4vQ5gqfz4q63; Tue, 3 Aug 2021 06:38:26 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from sas1-a14f288d3203.qloud-c.yandex.net (sas1-a14f288d3203.qloud-c.yandex.net [IPv6:2a02:6b8:c08:1190:0:640:a14f:288d]) by forward101p.mail.yandex.net (Yandex) with ESMTP id C40683280DED; Tue, 3 Aug 2021 09:38:18 +0300 (MSK) Received: from sas8-b61c542d7279.qloud-c.yandex.net (sas8-b61c542d7279.qloud-c.yandex.net [2a02:6b8:c1b:2912:0:640:b61c:542d]) by sas1-a14f288d3203.qloud-c.yandex.net (mxback/Yandex) with ESMTP id I5otk0kQMT-cIIqs066; Tue, 03 Aug 2021 09:38:18 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1627972698; bh=DS70CxQAQmhZ4B5l5fs66WLXQ17M8HiH4FKNO2CsMbo=; h=In-Reply-To:References:Date:Message-ID:From:To:Subject; b=JmyAsBPvSDlEWybhMdJD0gKjaBcmUjJxZff0sBSOECfgfwo+mt2hztTohNknXwTU4 DkpCvtvRY8oo7IdpDeW5irImWSU3Go+cInBDZquf2UjScxdI/hKXLXqCMVrPOfyyZa +LHXlnSZHsAL7mX5bHG1MdK5s+wWeKOfbrmZPesc= Received: by sas8-b61c542d7279.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 4GQUnT2KsP-cIPWf0l2; Tue, 03 Aug 2021 09:38:18 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: Wired Memory Increasing about 500MBytes per day To: =?UTF-8?Q?=c3=96zkan_KIRIK?= , FreeBSD Net , freebsd-stable References: From: "Andrey V. Elsukov" Message-ID: <5dc957ec-9483-0a80-b29e-be4b71c1b9d9@yandex.ru> Date: Tue, 3 Aug 2021 09:38:17 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KpCTlTbhCMEmAGAxKd1YDvPe1tKHJVH9y" X-Rspamd-Queue-Id: 4Gf4vQ5gqfz4q63 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=JmyAsBPv; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of bu7cher@yandex.ru designates 77.88.28.101 as permitted sender) smtp.mailfrom=bu7cher@yandex.ru X-Spamd-Result: default: False [-6.10 / 15.00]; RWL_MAILSPIKE_GOOD(0.00)[77.88.28.101:from]; FREEMAIL_FROM(0.00)[yandex.ru]; R_SPF_ALLOW(-0.20)[+ip4:77.88.0.0/18]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:77.88.0.0/18, country:RU]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yandex.ru:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KpCTlTbhCMEmAGAxKd1YDvPe1tKHJVH9y Content-Type: multipart/mixed; boundary="KQwQjiTBexmmApN3q6SMpi5ONenDMLJJK"; protected-headers="v1" From: "Andrey V. Elsukov" To: =?UTF-8?Q?=c3=96zkan_KIRIK?= , FreeBSD Net , freebsd-stable Message-ID: <5dc957ec-9483-0a80-b29e-be4b71c1b9d9@yandex.ru> Subject: Re: Wired Memory Increasing about 500MBytes per day References: In-Reply-To: --KQwQjiTBexmmApN3q6SMpi5ONenDMLJJK Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 02.08.2021 08:00, =C3=96zkan KIRIK =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hello, >=20 > I'm using FreeBSD stable/12 0f97f2a1857a96563792f0d873b11a16ff9f818c (J= ul > 25) built. > pf, ipfw and ipsec options are built with kernel. The server is used as= > firewall that squid and snort3 (daq - netmap) is running. >=20 > I saw that, wired memory is increasing every day. It's about 500MBytes = per > day. I'm checking vmstat and top (sorted by res), I couldn't find what = is > consuming the wired memory. >=20 > How can I find that which process or which part of kernel is consuming = the > wired memory ? Hi, We noticed the same problem, I'm not sure the exact version, but you can check the output: # vmstat -z | egrep "ITEM|pgcache" The page cache grows until lowmem is not reached. Then it automatically cleans and begins to grow again. --=20 WBR, Andrey V. Elsukov --KQwQjiTBexmmApN3q6SMpi5ONenDMLJJK-- --KpCTlTbhCMEmAGAxKd1YDvPe1tKHJVH9y Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB4BAABCAAjFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAmEI5FkFAwAAAAAACgkQAcXqBBDIoXo/ Twf3bsTjIKLk3tDEvrR+x3qa2fCozPBAqQlI9DED5Y0ZKqdWDxBQgsS9Dh6UgFPfSIRQkxaag/lU JjYAMcMsXrU9Vk/HyXQve4ALCrDW51NmqETUim2hkq7aPqtkCeCLtKk+vCRN9pcA5lRokaL76Pxw hA5MVDBRe/Z0hgsOE1yHi+OIiwB0Jx7z8ORkVPy2igpXKDXK0nsrDm7h5MqAtcwdZNFz3rcIOrFF jfo70Vi+U3nH71KKLwBMTKbOb6qAfnskNC8pgRUc3l2aW5MWPyVVq7iO4PUs1wCrRbfMfmPc3T85 s5zPWm1B6aiDjx7crxKyPtW6NcJXWErhSoka+Nv6 =88TS -----END PGP SIGNATURE----- --KpCTlTbhCMEmAGAxKd1YDvPe1tKHJVH9y--