From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 977C4158083 for ; Sat, 31 Aug 2024 17:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCC10E2A49; Sat, 31 Aug 2024 17:32:51 +0000 (UTC) Received: from shrimp.cherry.relay.mailchannels.net (shrimp.cherry.relay.mailchannels.net [23.83.223.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41591E2A41 for ; Sat, 31 Aug 2024 17:32:51 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5B3D1765C59 for ; Sat, 31 Aug 2024 17:32:50 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1725125570; a=rsa-sha256; cv=none; b=y1R00DuG8gRLzUUr1UMkaVr0aJT+tVqTDe8XBv2I8FqNfiq+k/3HkUdpeP8lVhLGdHcCm+ 21gbZfe9iVf7oh5Q3h2n4ZY2/Vrz3i2aNK7Ochgl9wYLq+mHFaDcNdAEdT5O4fGhZ3KHMZ 6uHfUCJp59PYXmVfNtby2TjvP9QQ/IL9vF02Gl0F70oVPxCsO/7roJRVBttO78ohLsh+W8 kdS9eN/GJTEUlYj77lHrIamYum6ugUi7lfqLlQQmSS7vOLWx6QXFj8+rWrWhu6E/Kvyorx +WpCly0PQBKZHYatYyXj8k5EQjJyg7uGz253WASiYDdOjQmIibqsgOXze01QbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1725125570; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=dmHDcHMfe2Z8Mfy0UTa2oDZU2QrBg5vVAui8kKN4l6I=; b=RfWLmzxJIrjsCDQXom6fMElz32Zf6zDMFS2IxJukVssxFgptpIZMXNN9H3FSy6NkkVo1iQ TuOWLuhHsEDXL0Y0y+SAiSwWuYzDABmJxtP7Alf9MkBzfnE/QwqGb9u1PJkdIWb0lssjWi T3It7UJNzhq92QiiYfeg6WFRVTdRicqVrUjVAjg0O1GQ/i/AU8sn1ze4irt5k26E8h74T8 H3w6NH8RMmC6eOGd5G3djm+RrKYZfZSBn+3hMt5edqdPO61BGT9oRiQaWeI+sUq0AXz/Kd Y205i7KEWrK1UEUv4XQW4iaA+JpMdpNqSy1fr1/8OMHtFwRkrJNvhVkKr+7tWg== ARC-Authentication-Results: i=1; rspamd-6b9c67f469-x29mk; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Attack-Occur: 0998f19454ccf9b0_1725125570278_3794760372 X-MC-Loop-Signature: 1725125570278:4051096236 X-MC-Ingress-Time: 1725125570278 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.250.69 (trex/7.0.2); Sat, 31 Aug 2024 17:32:50 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id C95B81E0002 for ; Sat, 31 Aug 2024 18:32:47 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Firefox, Seamonkey to if I can, and memory limits. Date: Sat, 31 Aug 2024 18:32:47 +0100 Message-ID: <9330460.CDJkKcVGEf@rogueboard> In-Reply-To: <6442a869-f24c-5fc7-ef03-34b01bd85dcb@gmail.com> References: <6442a869-f24c-5fc7-ef03-34b01bd85dcb@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3242090.5fSG56mABF"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172512556639.4098401.2443174418176022564@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: C95B81E0002 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; RCVD_TLS_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_SPF_ALLOW(0.00)[+mx]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.934]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: c4cce3cf-89db-43b6-b395-a6e58cb875b2 X-Archives-Hash: ffb23d2e1a8f0e0f9bec0598a2ff0cf0 --nextPart3242090.5fSG56mABF Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Sat, 31 Aug 2024 18:32:47 +0100 Message-ID: <9330460.CDJkKcVGEf@rogueboard> In-Reply-To: <6442a869-f24c-5fc7-ef03-34b01bd85dcb@gmail.com> MIME-Version: 1.0 On Sunday, 25 August 2024 16:20:19 BST Dale wrote: > Walter Dnes wrote: > > On Fri, Aug 23, 2024 at 07:42:05PM -0500, Dale wrote > > > >> I still use openrc. I'll look around and see what I can find. Now I > >> know what to look for. Thing is, not sure I use cgroups either, unless > >> it is on by default. o_O > >> > > The bottom half of file /etc/rc.conf is devoted to cgroups settings. > > > > Look for the line... > > # LINUX CGROUPS RESOURCE MANAGEMENT > > I have searched for info on this. I did find the settings in rc.conf. > I see a lot of discussion about running services, like cups, mysql and > such, and controlling them. What I don't see is how to set up a regular > program like Firefox or any other program that a user runs directly. I > suspect it can be done but I can't find a howto that shows how to do it. > > I'll keep digging but if anyone has a link they have ran up on before > and would like to share, it would be nice. It seems what I want to do > is not very common. Thing is, Firefox sometimes goes nuts and when it > does, it is determined to crash my system if I don't catch it. Even if > I had the full 128GBs, it would just take longer to consume it as well. > The best way I see to deal with this, limit its access to memory. It > seems there is a tool to do this, now to figure out how to use it. > > Thanks to all for the help. > > Dale > > :-) :-) I have not dived into cgroups in any big way. I would think setting up a dekstop application with many complicated & complex userspace dependencies is not a simple task. Perhaps a way to approach this is by launching firefox as a different user and setting a memory limit for that user. --nextPart3242090.5fSG56mABF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmbTU78ACgkQseqq9sKV Zxnl/A/9HWCr9gaHSmbZOPk4okN5iW3+Q2DL/p7mqpDCL1fF+bFhqfO68Z52/fVd mjpgua9nV2ZaI29WbuKi6xANEkGLL9SRmrG1Li65O8f9MTMMpZY67753behF+nMU yy1nqQqFdi3rZVXfU+yWFVKEJiRU6l5UuuVaba7wsAe+8PvsXIPhqzQElf9orAzc SmqzrcEQhqX6QLZnBNucCcSLfUI54wH0trvLiSn1MZZcqxlmTod+0Syku+BWhhaX 5vj7Kn1grPCaeH32H1dhCjOqemTrWrG1S4SVHjv4IoXMKi9wnBGROAae1DsaqH5n m+15Bxzprp8y+5EjEnuLGHpG99w+jT0fnVaYM6vO52NVyidK9VnBIVwAO+gFTfkL qrKSJ4xUkZsxEQpBWntjDg69k6gasog4fchZG93xOQNKFMS4NotxPkeJeAyPDc4q VgBhlkEAevbHoXf0ouIvIiKcRwE6GriZD1qGcn6okqnhdGVIpxPuG7FjavqvkjZc xQ94B2X5FirFsxEqCKNwKAUfvRzgCxhfyCGgo345/m4GTYS/FmJGPGxJDhQ+3Fnk OVNBuCiXVjhursZH1ICoaMVjIF6K93AkQsIReM6iVVkf+8g1pLV3nIXJx28lEQ1t V8f86RlfIb5oKGYhpNbuaqtJXDEJD1LI2w9wDPonyFHHcb1nHeg= =fKrT -----END PGP SIGNATURE----- --nextPart3242090.5fSG56mABF--