|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
correct ulimit stack value
Just in case someone needs it, on my fresh NetBSD 6.1.2 (i386) install with 1GB memory, I experienced problems with running Emacs (installed from binary) which gave me segmentation fault (as already discussed somewhere on this forum). I followed the following recommendation:
https://groups.google.com/forum/#!to...ug/GeV3IX56gzs .. and set stack size to 20000 in /etc/profile: Code:
ulimit -s 20000 I hope this advice will be useful for those who might experience a similar problem. |
|
||||
I tried ulimit -s 8000, but alas firefox still doesn't run. The process begins, but no window emerges and top(1) shows it as "parked". This is on 6.1.2 i386 with 384 MB ram. On the laptop (4 GB) firefox runs OK. I don't know if amount of ram is the problem, as seamonkey runs fine. I previously tried things like starting with no ~/.mozilla/firefox directory with much the same result.
My work-around is to use Code:
[exec] (Firefox) {ulimit -s 2048 ; /usr/pkg/bin/firefox -safe-mode} |
|
|||
There must be different solutions for computers with different memory size or possibly other parameters. So I suggest that you try other, lower values than 8000, setting them just from command line.
|
|
||||
It's a good idea (although now I am using 2048 for Firefox 24.0 and it won't work without -safe-mode). However, everything has changed. Yesterday I downloaded an entire new Q4 set of binary packages, which includes Firefox 26.0. So I'll have to install them all, see if it works better, and if not then try various settings systematically as you suggest. I'm hoping Sunday will be possible for the big package upgrade.
|
|
|||
OK, fingers crossed!
|
|
||||
No luck. Firefox 26.0 is behaving much like before. Running
% firefox & with various stack limits I get: Code:
8192 segfault 8000 park 4096 asked about safe mode, but parks 2048 park On the plus side, SeaMonkey is now up-to-date and I prefer it as a browser anyway, so I'll just use that. |
|
|||
OK, too bad. I read somewhere in the bugtracker that this bug had been present since 5.x and they promised to get rid of it in the 6 series, but with no luck. NetBSD 7 is coming soon, hopefully it will be free of it.
|
|
||||
Quote:
Another minor tweak: the desktop now has 512 meg RAM, up from 384, but the problem persists. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to configure OpenBSD (5.1) to make use of Comcast's native dual stack IPv6 | SlyM | OpenBSD General | 7 | 11th March 2013 10:27 PM |
Stack Protector (PaX) for FreeBSD | bryn1u | FreeBSD Security | 1 | 14th January 2013 06:56 PM |
could ulimit value make them start faster ? | daemonfowl | OpenBSD General | 0 | 16th August 2012 09:15 PM |
is this a correct attitude ? | daemonfowl | OpenBSD General | 6 | 28th March 2012 08:31 PM |
Correct tag for ports & docs | vigol | FreeBSD Ports and Packages | 1 | 6th December 2009 02:06 PM |