Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Looking for memory glitches in a kernel

3 views
Skip to first unread message

The Doctor

unread,
Jan 10, 2014, 10:28:30 AM1/10/14
to
Get a quick question about segmentation faults that looks like
memory startvation.


Running a kernel with the following


include "std.i386"

maxusers 256 # automatic parameter tuning
timezone 0 # use GMT in hardware clock

options KTRACE # syscall tracing
options COMPAT_BSDI11 # compat with BSD/OS 1.1 binaries
options COMPAT_TTYIOCTL # old tty interface, many progs need
options COMPAT_SEMAPHORE # for pre-3.0 -lipc/SCO emulator only
options COFF # COFF executables, for SCO emulator

options FPE # floating point emulation
# (also settable with sysctl)


# network options
options INET # Internet: TCP/IP
options GATEWAY # IP routing
options "IPFORWARDSRCRT=0" # disable forwarding of src-routed pkts
options IPSOURCECHECK # enable check source address of packets
options IPFW # IP Filtering
options IPFWNAT # IP NAT Filtering
options IPRF # IP Rate Filtering
options IPFWFLOW # IP Flow Monitoring
options IPFWTHROTTLE # IP Throttling Code
options IPFWECHOCHK # ICMP Echo Checking Code
options PPP # Point-to-Point Protocol
options MULTICAST # IP Multicast

# Support for large inpcb hash tables, e.g. busy WEB servers.
options INET_SERVER

options INET6 # IPv6
options IPSEC # IP Security
options IPSEC_ESP # IP encryption

# Support for more than 1G of physical memory. For up to this
# much memory: 1.75G 2.5G 3.25G 4G
# use this value: 376 504 760 1016
options "KERNEL_VIRTUAL_MB=1016"

# Support for large routing tables, e.g. gated with full Internet
# routing. Make sure you have more physical memory than this.
options "KMEMSIZE=\(256*1024*1024\)"
#options "DFLDSIZ=\(256*1024*1024\)"
#options "DFLSSIZ=\(128*1024*1024\)"
#options "BUFMEM=\(128*1024*1024\)"
options "NMBCLUSTERS=32768"
options "CHILD_MAX=512"
options "OPEN_MAX=512"
options "SOMAXCONN=1024"

# Fully supported filesystems

# Increase available SYSV style shared memory segments and semaphores
options "SHMALL=8192"
options "SHMMAX=\(SHMALL*PAGE_SIZE\)"
##options "SYSPTSIZE=256"
options "SHMMNI=128"
#options "SEMMNI=40"
options "SEMMNS=360"
##options "SHMSEG=32"


So why is perl segfault, apaceh giving me next to midnight 1 Jan 1970
dates in its log as well as sshd should 1 Jan 1970 dates.

Also freshclam, a clamav updater is choking.
--
Member - Liberal International This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Merry Christmas and Happy New Year!
0 new messages