public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Firefox, Seamonkey to if I can, and memory limits.
Date: Sun, 1 Sep 2024 14:36:41 -0500	[thread overview]
Message-ID: <d7f27457-4faf-9354-1f66-5538f4b09f77@gmail.com> (raw)
In-Reply-To: <3359f138-9e6e-411c-9c25-f09e2209bec0@youngman.org.uk>

Wols Lists wrote:
> On 01/09/2024 15:24, Dale wrote:
>>  From that link, it looks like that is done manually.  In other words,
>> when I start Firefox, I have to add the process to the cgroup by hand.
>> Shouldn't there be a way to do it automatically?  Like add it to the
>> command that runs the program name in the application menu?
>
> That was that bit about cgexec! I start a whole bunch of programs from
> the terminal, including iirc thunderbird and firefox.
>
> Or I start them by clicking on an icon which fires them up for me.
>
> So just read up on cgexec (including where to find it - I've just
> tried and it's not on my system), then edit the .desktop behind your
> icon to start firefox *from* cgexec.
>
> Then you (presuming you don't start it by typing firefox at the
> command line) will just start as normal, the only change being the
> icon starts cgexec and uses that to start firefox rather than starting
> firefox directly.
>
> Cheers,
> Wol
>
>


After reading that, my light bulb turned on.  The command cgexec is for
control group execute.  lol  I got to do some searching for that now. 
You gave me a good search term.  ;-)

I wonder tho, in one of the replies, it says to create a directory in
/sys.  Don't those get cleared after a reboot?  I'm almost certain /proc
does but think /sys does too.  If so, how does that survive reboots?  I
may find more info as I search. 

Dale

:-)  :-)


  reply	other threads:[~2024-09-01 19:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23 18:38 [gentoo-user] Firefox, Seamonkey to if I can, and memory limits Dale
2024-08-23 21:22 ` Wol
2024-08-23 23:03   ` Matt Jolly
2024-08-24  0:42     ` Dale
2024-08-24  4:25       ` Matt Jolly
2024-08-24  8:30       ` Walter Dnes
2024-08-25 15:20         ` Dale
2024-08-31 17:32           ` Michael
2024-08-31 18:39             ` Dale
2024-09-01  9:35               ` Wols Lists
2024-09-01 14:24                 ` Dale
2024-09-01 19:08                   ` Wols Lists
2024-09-01 19:36                     ` Dale [this message]
2024-09-01 20:45                       ` Wol
2024-09-01 21:36                         ` Dale
2024-09-02  6:49                           ` Wols Lists
2024-08-24  9:15     ` Wol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d7f27457-4faf-9354-1f66-5538f4b09f77@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox