Bug#596382: kfreebsd-image-8.1-1-686: "kern.proc.all" sysctl returns nothing/error. (SOLVED?)
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
# 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 :-(