From: Jon Buller <jon@bu...> - 2005-07-19 16:08:24
Richard M Kreuter wrote:
> the value it had in NetBSD 2.0, 1073741824. So try:
> # sysctl -w proc.curproc.rlimit.datasize.hard=1073741824
> (2) You can try the following patch, which gets the hard limit via
> sysctl(3), and sets the process's rlimit to that. I suppose there
> should be a check to ensure that whatever the hard limit is is
> sufficiently large for SBCL to run, but don't know how small a
> hard limit will make SBCL unhappy. I've only tested the below
> on NetBSD 2.0.2.
When I built it (and made the pkgsrc lang/sbcl package) I just
removed the limit in the shell. I had someone ask me why they
could not build it, and it was the same issue. I told him that I
had changed the limit in login.conf to 512MB on at least one of my
machines (the sparcstation in an attempted port of SBCL from
netbsd/i386 to netbsd/sparc).
I got a response saying that 512 was not enough for him, but 960
was. He also said that XDM didn't bother to check login.conf. 8^)
I wonder if that might be part of my problem with the sparc build...
(Well, that and probably an incorrect location or size for the
I think I'll ask the pkgsrc gurus about doing something like that
in the package makefile before starting the actual build. (And
maybe add a patch to the SBCL source to do it at startup as well.)
Other hints, suggestions, or comments would be very welcome,
Get latest updates about Open Source Projects, Conferences and News.