From: <cha...@un...> - 2006-09-19 00:52:04
|
On Tue, Sep 19, 2006 at 01:39:44AM +0200, Otto Diesenbacher wrote: > > Dear Lispers, > > i tried to run sbcl on my newly rented web-vserver. I am not shure > what kind of virtualisation my provider is using, it seems to be > virtuozzo 3.0. > > Unfortunatly sbcl doesn't start. :( > > It dies immediately with the following message: > > ,---- > | mmap: Cannot allocate memory > | ensure_space: failed to validate 536870912 bytes at 0x09000000 > | (hint: Try "ulimit -a"; maybe you should increase memory limits.) > `---- > > I tried the current sbcl-version and also older versions. (btw. cmucl > dies with a similar message) > > I fear that the reason of these problems, are caused by the > virtualisation, but do you see any chance of getting sbcl run? > > see strace, uname and ulimit-output below. > > thank for any advice in advance! > > okflo Hi Otto, It doesn't look like there's anything in your ulimits that would interfere with sbcl. It's possible that virtuozzo itself imposes some kind of limit on virtual memory. Alternatively something else just happens to be sitting in the range of memory we try to use. To test this out, try starting sbcl under gdb, putting a breakpoint on main, and running the program. When gdb stops at the breakpoint, look at the file /proc/`pidof sbcl`/maps . If something else is in the requested space (0x09000000 to 0x29000000) we can't use it and you'll have to alter a file ( src/compiler/x86/parms.lisp variables dynamic-space-start and dynamic-space-end in the #!+linux section ) and rebuild SBCL from another, working host. -- Brian Mastenbrook br...@ma... http://brian.mastenbrook.net/ |