On Tue, Mar 14, 2017 at 08:22:37AM +0000, Mikolaj Kucharski wrote: > On Tue, Mar 14, 2017 at 02:47:31AM -0400, Ted Unangst wrote: > > Sebastien Marie wrote: > > > Alternatively, having a small datastack-cur and a bigger datastack-max > > > is a possibility, and setting datastack-cur to datastack-max before > > > running firefox (ulimit -d `ulimit -dH`). > > > > indeed. for some years now, i usually start firefox from a shell. > > > > first ulimit -d 4123123, then firefox. as a bonus, you get to see all sorts > > of > > interesting messages. > > Chromium has a wrapper script for datastack bumping. When I install > fresh OpenBSD that wrapper script reminds me that I forget to bump > datastack-max via xmessage(1) and makes datastack bigger when login > class is configured properly for a user. Could firefox have similar > wrapper?
Could, but that's just imo an ugly workaround for a broken environment. You can't sanely run a desktop session with any browser using the default limits anyway...