This happens since RLIMIT_MEMLOCK is 65536 but you are trying to lock 170496 bytes. If I remove the limit for locked memory everything seems to work: # ulimit -l # sysctl -x kern.proc.all kern.proc.all: Format:S,proc Length:79104 Dump:0x0003000000000000804459... Can you please confirm that this works for you too?
For me too. It looks like the problem comes from pam: the debian patch 027_pam_limits_better_init_allow_explicit_root in order to fix #472629.. It would be better to not change (or not lower) RLIMIT_MEMLOCK by default on non-linux :-( Petr