From nobody Sat Jul 3 08:03:36 2021 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 CE8E611F0A46 for ; Sat, 3 Jul 2021 08:03:45 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GH4G84pKMz4RZD; Sat, 3 Jul 2021 08:03:44 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-ej1-x62a.google.com with SMTP id o5so20304388ejy.7; Sat, 03 Jul 2021 01:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=y4Y9ejVry/5KYIvdrlemYw3kC5cr/ojJHv4V5C8dZYo=; b=DN7Kz/xUUXq2UhFDahUgn1JcbZXYWJc+gjIk0Vs3p+x77wryn39W7gYN+XSrfUfT37 YVeRyZ5MOV1scbQ2ajXABJeVmQd2KSnreGCOFoE80oowYZKRQSThpffHtYC4PUC3LWYA aQiyqhoiMW0Nev9/0w+LbDpu4JSKYJqdLtqYGzZMLEkgWWs0I3Ar/IqvWhAZC/rcaZZt ML8ZXWOLbWTYfVl9q1s4rJf5hY2lz+R7wY2WzTe4yRwdZ9ww7grkTLPvURZK8KeotsG5 dPuaWEArb1kzJP6/U9GD7XEQcgUz15jAtCLnzG8M+qwYqrxAFVAP8f8nFiUQ7c7r4kDT HL9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=y4Y9ejVry/5KYIvdrlemYw3kC5cr/ojJHv4V5C8dZYo=; b=UlOAFNny/5nzdAPMUrWNMbZfNHm2EnAaLk6EHp+Xtc/4IJ508b5Inlt261lUdqGNSf IadEF6ctheOkn92w+cZ7RcxX/Lcq5m8e0YuKHjbjSEpsQULlRfYDu1IUZC10a96ehq+U t6HK961eQQH2Cm90UIYBkFwrszYIuN8ruTDHOjg/fUZcnh8mwmnDFcXfjBW/KboGo+wE goc1rMy0m3h63C6tGFGLNy3LsMdrcFtjbnxxxayRXC4GsLQBlsqWcuS3JrjbpEt1kSzF zN4VE2PTexz/fj4XVaxUKdBB5CjBfS6Y/cKWBc3ZeM4wp5qC/BhY7UBqTgp9QriydECM 3uVQ== X-Gm-Message-State: AOAM53089G6RRBJpbPC4xh0ZvqJxXw8ITbnLfUX1i3BqDchiIBvvzkXv 0DciHKYpy8SHqeYyhRFf9VkBBIPehiU= X-Google-Smtp-Source: ABdhPJwWOEXMisgeJ+qCLMrY/K2C4WISZsAC1QSSlps2HSCgCx+U6rZ5z2yrvWEMolF8YP+ROnC0xA== X-Received: by 2002:a17:907:e8d:: with SMTP id ho13mr3681062ejc.545.1625299416985; Sat, 03 Jul 2021 01:03:36 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id q22sm2313097edv.51.2021.07.03.01.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 01:03:36 -0700 (PDT) Date: Sat, 3 Jul 2021 10:03:36 +0200 From: Gary Jennejohn To: Craig Leres Cc: freebsd-hackers@freebsd.org Subject: Re: firefox is slow and uses a lot of memory Message-ID: <20210703080336.7a01c22d@ernst.home> In-Reply-To: <202107022003.162K34kg050615@critter.freebsd.dk> References: <37fe2be4-a142-c49e-e1b0-0e9a8fd07a74@freebsd.org> <202107022003.162K34kg050615@critter.freebsd.dk> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GH4G84pKMz4RZD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DN7Kz/xU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::62a as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [0.12 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62a:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.54.15:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.88)[-0.877]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62a:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-ThisMailContainsUnwantedMimeParts: N On Fri, 02 Jul 2021 20:03:04 +0000 "Poul-Henning Kamp" wrote: > -------- > Craig Leres writes: > > Starting with firefox 89 or so, I've found it starts using a LOT of > > memory and actually makes the system sluggish and causes momentary X > > freezes. I have 32G of ram/swap, is it reasonable for firefox to use 15G? > > I noticed recently that firefox had started DNS's all bookmarks rather > aggressively I found something under about:config which made it stop, > (sorry cant remember which setting) but that made it at lot more workable > for me. > Another possibility would be to enter about:networking#dns. A button "Clear DNS Cache" will appear. Click on that and check whether that reduces the amount of memory being used by firefox. -- Gary Jennejohn