I dropped the ulimit commands from ".profile" and put them in openbox
"menu.xml". I think that should set the limits per firefox process. I
will wait a few days and then post to let you know if this fixes the
problem.
<menu id="apps-net-menu" label="Internet">
...
<item label="Firefox">
<action name="Execute">
<command>
/bin/sh -c "ulimit -n $(ulimit -Hn); ulimit -d $(ulimit -Hd); /usr/local
/bin/firefox"
</command>
<startupnotify>
<enabled>yes</enabled>
<wmclass>Firefox</wmclass>
</startupnotify>
</action>
</item>
...
</menu>
On Fri, Oct 9, 2020 at 12:11 AM flint pyrite <[email protected]> wrote:
>
> I do not understand the out of memory problem. From your reply I made
> changes to my user environment.
>
> In "${HOME}/user/.profile" I set the following:
>
> ulimit -n $(ulimit -Hn)
> ulimit -d $(ulimit -Hd)
>
> ulimit reports the following from the command line:
>
> $ ulimit -a
> time(cpu-seconds) unlimited
> file(blocks) unlimited
> coredump(blocks) unlimited
> data(kbytes) 33554432
> stack(kbytes) 4096
> lockedmem(kbytes) 10465212
> memory(kbytes) 31387460
> nofiles(descriptors) 1024
> processes 256
>
> As a consumer of firefox on OpebBSD I would reckon I am doing
> something wrong. What would that be?
>
> Thanks for looking into this issue.