FreeBSD 8.2 and MPD5 stability issues
Vlad Galu
dudu at dudu.ro
Sun Jun 26 00:17:34 UTC 2011
On Sat, Jun 25, 2011 at 11:28 PM, Adrian Minta <gygy at stsnet.ro> wrote:
> After recompilation with "*default release=cvs tag=RELENG_8" and pooling
> disables the system still crashes around 4200 sessions. The server has a
> xeon E5520 CPU and 4G of ram. Here is the crash on the screen:
> http://img232.imageshack.us/img232/6751/crashm.png
>
> $uname -a
> FreeBSD lns 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat Jun 25 23:50:06 EEST
> 2011 gygy at lns:/usr/obj/usr/src/sys/MYKERNELv3 amd64
>
> /boot/loader.conf:
>
> net.graph.maxdata=65536
> net.graph.maxalloc=65536
> kern.ipc.maxpipekva=320000000
> #I wave 4 cores
> net.isr.bindthreads=4
> net.isr.maxthreads=1
> net.isr.defaultqlimit=4096
>
> /etc/sysctl.conf:
>
> net.inet.ip.forwarding=1
> kern.maxfiles=65535
> net.inet.ip.intr_queue_maxlen=8192
> net.inet.icmp.icmplim=0
> kern.ipc.nmbclusters=1280000
> kern.ipc.maxsockbuf=128000000
> net.graph.maxdgram=10240000
> net.graph.recvspace=10240000
> kern.random.sys.harvest.ethernet=0
> net.isr.direct=1
> net.isr.direct_force=0
>
>
> Kernel GENERIC plus:
>
> #options DEVICE_POLLING
> options HZ=1000
> options NETGRAPH
> options NETGRAPH_PPPOE
> options NETGRAPH_SOCKET
> options NETGRAPH_CISCO
> options NETGRAPH_ECHO
> options NETGRAPH_FRAME_RELAY
> options NETGRAPH_HOLE
> options NETGRAPH_KSOCKET
> options NETGRAPH_LMI
> options NETGRAPH_RFC1490
> options NETGRAPH_TTY
> options NETGRAPH_ASYNC
> options NETGRAPH_BPF
> options NETGRAPH_ETHER
> options NETGRAPH_IFACE
> options NETGRAPH_L2TP
> options NETGRAPH_MPPC_ENCRYPTION
> options NETGRAPH_PPP
> options NETGRAPH_PPTPGRE
> options NETGRAPH_TEE
> options NETGRAPH_UI
> options NETGRAPH_VJC
>
> options ALTQ
> options ALTQ_CBQ
> options ALTQ_RED
> options ALTQ_RIO
> options ALTQ_HFSC
> options ALTQ_PRIQ
> # options ALTQ_NOPCC
>
> device pf
> device pflog
> device pfsync
> device gre
>
> device tap
> device hme
>
> # Bridging
> device if_bridge
> device lagg
>
> options IPSTEALTH
> options ZERO_COPY_SOCKETS
>
> options NETGRAPH_DEBUG
> options GDB
> options DDB
> options KDB_UNATTENDED
>
>
>
Hi Adrian,
You will need to set dumpdev to something (e.g. "AUTO") in /etc/rc.conf (it
defaults to NO) so that your kernel coredump is saved to your swap partition
before rebooting. Also, you might want to remove ZERO_COPY_SOCKETS.
--
Good, fast & cheap. Pick any two.
More information about the freebsd-net
mailing list