Package: kfreebsd-image-8.1-1-686
Version: 8.1-5
Severity: normal
Hi.
libgtop2 uses sysctl for retriving process list.
(it is used in python-gtop and gnome-system-monitor for example).
also sysctl -x kern.proc.all returns nothing.
this variable is there as `sysctl -d kern | grep kern.proc` show
Hi,
I extracted
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.1/FreeBSD-8.1-RELEASE-i386-disc1.iso
to a chroot. If I run sysctl from that chroot it does not print
anything either. Does this mean it's a kernel bug?
(
http://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ#Q.HowdoIrunnativ
Hi,
I think I found the problem. The userland code does
/* find an estimate of how much we need for this var */
j = 0;
i = sysctl(oid, nlen, 0, &j, 0, 0);
j += j; /* we want to be sure :-) */
val = oval = malloc(j + 1);
if (val == NULL)
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:0x0003804459...
Can you please confirm that this
On Sun, Nov 07, 2010 at 07:16:22PM +0100, Petr Salinger wrote:
> >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
5 matches
Mail list logo