Print

Print


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alvaro Simon Garcia schreef:
> Hi
> 
> We have found some diferences...
> 
> on WN
> #ulimit -a

> virtual memory          (kbytes, -v) unlimited
> 
> with batch system:
> #ulimit -a
> virtual memory          (kbytes, -v) 1048576

> our strace output:
[...]
> mmap2(NULL, 1073745920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = -1 ENOMEM (Cannot allocate memory)
[...]

You've got all the evidence right there. Set ulimit of virtual memory to
the amount used by the batch system, this should result in the same error.

I don't know who is responsible for trying to mmap over a GB of memory,
but I would consider that a bug ;-)

Cheers,

Dennis van Dok
- --
D.H. van Dok :: Software Engineer :: www.nikhef.nl :: www.vl-e.nl
Phone +31 20 592 50 12 :: http://www.nikhef.nl/~dennisvd/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI7mhHIITq5lEwLHcRAv6KAKCNRvfUioJIL8BLzMxaALQaOHBEtgCdFk7t
eYtqKRnu9VigiTSCbG3tBXw=
=17t0
-----END PGP SIGNATURE-----