Hi,

> Could it be they have "improved" the procfs in some way from 9.x to 10.x?
> Can you strace the ps command? I'm looking for opens under /proc that fail.

this is the end of a ktrace:

  3857 ps       CALL  open(0x80146de1b,0<O_RDONLY>,<unused>0)
  3857 ps       NAMI  "/proc/sys/vm/min_free_kbytes"
  3857 ps       RET   open -1 errno 2 No such file or directory
  3857 ps       CALL  write(0x2,0x80146e350,0xb0)
  3857 ps       GIO   fd 2 wrote 176 bytes
       "Error: /proc must be mounted
          To mount /proc at boot you need an /etc/fstab line like:
              proc   /proc   proc    defaults
          In the meantime, run "mount proc /proc -t proc"
       "
  3857 ps       RET   write 176/0xb0
  3857 ps       CALL  exit(0x66)

That file is referenced in proc/sysinfo.c and used in function
meminfo(). I've re-checked: all commands that use meminfo() fail.

There is no directory /proc/sys/vm in either the FreeBSD-kernel
10.1-0-amd64 (jessie-kfreebsd) nor in 10.3-0-amd64 (sid).

The reference to /proc/sys/vm/min_free_kbytes apparently was introduced
with your commit f65d2815913f5d8ff4156384dceb160edd6da812 titled
"Imported Upstream version 3.3.10".

Carsten

Reply via email to