From owner-freebsd-net@FreeBSD.ORG Sun Jun 22 18:14:24 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C6827F2 for ; Sun, 22 Jun 2014 18:14:24 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FE182A31 for ; Sun, 22 Jun 2014 18:14:24 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id o8so5372192qcw.31 for ; Sun, 22 Jun 2014 11:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=z7s66m5k2y4nYpSUff5zFa+hoTvBaz1l/bYIhdeg9u0=; b=ONnY9Z2ZVh9puNoZDtpFzR674t/K4JKxQSxAU5JIPFRqp2Pygjk1q0FL/+zRKNIBap /FOJfbK9cJuRATNi2+vAc0/sWazTyfDqc+nJOKkmSnJlo5rmXhwLWevXkzlYHzBvgrlo hfe3Ul7h8NN58CWMItRko5krdh5xxOuWbQxUgAJZlo9okvsHGlpb8lMQpaaWN9y45mge QODZKHGuIP18JvKogKR7ZDItN5AUZxqbLlO7CbRT6U8wfdO5yjoCaXStM57t2JfqVCje f8IhS/c0YoppaU3y4+MwcBJCK6tgGV0HNQhGW0IojyDBMl40ecLHQ0diiMzvzDZBCZS3 oYPw== MIME-Version: 1.0 X-Received: by 10.140.22.134 with SMTP id 6mr23971697qgn.4.1403460862904; Sun, 22 Jun 2014 11:14:22 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.43.134 with HTTP; Sun, 22 Jun 2014 11:14:22 -0700 (PDT) In-Reply-To: <53A719C3.3040002@hostelnet.ru> References: <53A719C3.3040002@hostelnet.ru> Date: Sun, 22 Jun 2014 11:14:22 -0700 X-Google-Sender-Auth: 5aWxTuWqm-8DFy4KaaGDrFO9XSo Message-ID: Subject: Re: FreeBSD 9 as PPPoE BRAS(mpd 5.7) kernel panic From: Adrian Chadd To: noc@hostelnet.ru Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2014 18:14:24 -0000 They're NULL pointer derferences, so it's likely a race condition with some other thread destroying something and setting the pointer value to NULL somewhere. I thought this was a reasonably well known problem? Was it ever fixed in 10/head? -a On 22 June 2014 11:00, Alex Ros wrote: > Hello. > We have a problem with FreeBSD 9 stable (currently on r267070) as PPPoE BRAS > by mpd 5.7. Server catches 1-3 kernel panics every month. > Two last core.txt's: > http://pkg.hostelnet.ru/pub/dump/core.txt.7.txt (r262224) > and > http://pkg.hostelnet.ru/pub/dump/core.txt.8.txt (r267070) > Now trying to test hint with mpd-down script from similar trhread: > http://lists.freebsd.org/pipermail/freebsd-net/2014-June/038952.html > Hardware: HP DL360 with Intel 82571EB nic. > Average load on server: 150-300 Mbit/s and around 150 users. > FreeBSD configuration: > running on GENERIC kernel > IPFW with few rules (no dummynet, no nat) > routing via OSPF (quagga) > > cat /boot/loader.conf > net.isr.maxthreads=2 > net.isr.numthreads=2 > net.graph.maxdata=65536 > net.graph.maxalloc=65536 > net.isr.defaultqlimit=4096 > net.link.ifqmaxlen=10240 > > cat /etc/sysctl.conf > net.inet.ip.fastforwarding=1 > net.inet.ip.redirect=0 > kern.random.sys.harvest.ethernet=0 > kern.random.sys.harvest.point_to_point=0 > kern.random.sys.harvest.interrupt=0 > net.inet.raw.maxdgram=16384 > net.inet.raw.recvspace=16384 > net.inet.ip.intr_queue_maxlen=10240 > net.route.netisr_maxqlen=4096 > > Maybe someone can help to understand: it is a configuration error or a bug > MPD/netgraph? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"