truss and procfs strange problem.
Proniewski Patrick
patrick.proniewski at univ-lyon2.fr
Thu Jan 26 02:08:46 PST 2006
Hello,
I experience a strange problem with truss on FreeBSD 5.4 p8 :
$ truss ls
truss: cannot open /proc/4509/mem: No such file or directory
$ truss ls
truss: PIOCWAIT: Input/output error
of course, PROCFS is mounted :
$ df procfs
Filesystem 1K-blocks Used Avail Capacity Mounted on
procfs 4 4 0 100% /proc
but, if I count `ls -1 /proc/ | wc -l` the result will always be limited
to 128, even if I have more than 200 lines in ps aux output :
$ ls -1 /proc/ | wc -l
128
$ ps aux | wc -l
207
It really looks like a power of 2 limit, this is very strange.
The box is a PIV 3GHz, with HTT enabled
(machdep.hyperthreading_allowed=1). Complete sysctl available at
<http://boleskine.patpro.net/~patpro/sysctl.txt>, Kernel config below.
$ uname -a
FreeBSD my_box 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Sun Oct 16
17:12:30 CEST 2005
patpro at my_box:/usr/obj/usr/src/sys/PATPRO-20050829 i386
# egrep -v ^# /usr/src/sys/i386/conf/PATPRO-20050829
machine i386
cpu I686_CPU
ident PATPRO-20050829
options SCHED_4BSD
options INET
options FFS
options SOFTUPDATES
options UFS_ACL
options UFS_DIRHASH
options MD_ROOT
options NFSCLIENT
options NFSSERVER
options NFS_ROOT
options MSDOSFS
options CD9660
options PROCFS
options PSEUDOFS
options GEOM_GPT
options COMPAT_43
options COMPAT_FREEBSD4
options SCSI_DELAY=15000
options KTRACE
options SYSVSHM
options SYSVMSG
options SYSVSEM
options _KPOSIX_PRIORITY_SCHEDULING
options KBD_INSTALL_CDEV
options AHC_REG_PRETTY_PRINT
options AHD_REG_PRETTY_PRINT
options ADAPTIVE_GIANT
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
options ALTQ_NOPCC
options SMP
options MPTABLE_FORCE_HTT
device apic
device isa
device eisa
device pci
device fdc
device ata
device atadisk
device ataraid
device atapicd
device atapifd
device atapist
options ATA_STATIC_ID
device atkbdc
device atkbd
device psm
device vga
device splash
device sc
device agp
device npx
device pmtimer
device sio
device ppc
device ppbus
device ppi
device em
device miibus
device fxp
device ex
device loop
device mem
device io
device random
device ether
device tun
device pty
device md
device bpf
device uhci
device ohci
device ehci
device usb
device ugen
device uhid
device ukbd
Patrick PRONIEWSKI
--
Administrateur Système - SENTIER - Université Lumière Lyon 2
More information about the freebsd-questions
mailing list