From: Peter V. E. <pva...@de...> - 2006-03-21 08:35:15
|
Hello, I'm trying to compile a new sbcl version on vore.debian.org using the sbcl-0.9.1-sparc-linux binary tarball and I seem to=20 keep invoking the oom-killer, despite using MAP_NORESERVE. =46rom the strace -e mmap output, mixed with the parms.lisp parameters=20 for sparc/linux: mmap(0x10000000, 83886080, PROT_READ|PROT_WRITE|PROT_EXEC,=20 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0)=20 =3D 0x10000000 for: (def!constant read-only-space-start #x10000000) (def!constant read-only-space-end #x15000000) mmap(0x28000000, 67108864, PROT_READ|PROT_WRITE|PROT_EXEC,=20 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0)=20 =3D 0x28000000 for: (def!constant static-space-start #x28000000) (def!constant static-space-end #x2c000000) mmap(0x30000000, 134217728, PROT_READ|PROT_WRITE|PROT_EXEC,=20 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0)=20 =3D 0x30000000 for: (def!constant dynamic-0-space-start #x30000000) def!constant dynamic-0-space-end #x38000000) mmap(0x40000000, 134217728, PROT_READ|PROT_WRITE|PROT_EXEC,=20 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0)=20 =3D 0x40000000 (def!constant dynamic-1-space-start #x40000000) (def!constant dynamic-1-space-end #x48000000) mmap(0xf800000, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC,=20 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0)=20 =3D 0xf800000 for (def!constant linkage-table-space-start #x0f800000) (def!constant linkage-table-space-end #x10000000) These ranges seem still to be free: (unstable)pvaneynd@vore:~/sbcl$ uname -a Linux vore 2.6.15-18-sparc64 #1 Thu Mar 9 14:41:32 UTC 2006 sparc64 GNU/Lin= ux (unstable)pvaneynd@vore:~/sbcl$ cat /proc/self/maps 00010000-00014000 r-xp 00000000 08:11 3417595 /b= in/cat 00024000-00026000 rwxp 00004000 08:11 3417595 /b= in/cat 00026000-00048000 rwxp 00026000 00:00 0 [h= eap] 70000000-7001a000 r-xp 00000000 08:11 4398898 /l= ib/ld-2.3.6.so 7001a000-7001c000 rw-p 7001a000 00:00 0 7002a000-7002e000 rwxp 0001a000 08:11 4398898 /l= ib/ld-2.3.6.so 70044000-70160000 r-xp 00000000 08:11 4400180 /l= ib/libc-2.3.6.so 70160000-70170000 ---p 0011c000 08:11 4400180 /l= ib/libc-2.3.6.so 70170000-70172000 r--p 0011c000 08:11 4400180 /l= ib/libc-2.3.6.so 70172000-70178000 rwxp 0011e000 08:11 4400180 /l= ib/libc-2.3.6.so 70178000-7017a000 rwxp 70178000 00:00 0 ef81e000-ef848000 rw-p ef81e000 00:00 0 [s= tack] Still after a while the sbcl gets killed by the=20 oom killer.=20 Any clues? Groetjes, Peter =2D-=20 signature -at- pvaneynd.mailworks.org=20 http://www.livejournal.com/users/pvaneynd/ "God, root, what is difference?" Pitr | "God is more forgiving." Dave Arons= on|=20 |