From owner-freebsd-pf@FreeBSD.ORG Fri Jan 27 10:00:15 2012 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBECA106566C for ; Fri, 27 Jan 2012 10:00:14 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3B58FC0C for ; Fri, 27 Jan 2012 10:00:14 +0000 (UTC) Received: by iaeo4 with SMTP id o4so3293219iae.13 for ; Fri, 27 Jan 2012 02:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qkj8F4fUTsBz7EuVpp3zX/e8v7atf5icqDU8P5nW4vI=; b=rKKex5WmUP7hC1RlJ+lfO8qnHIB95bXiOLLlxsgPJx2v5riwkc5RGmjW58RACwStPf WEGX69fE5hjH5iR1Sy5/qE3HzQkApGak9AfTyURum7dicbNBAAu05qUwDtjrZjTreUWr JYoMtcs0TwQjeTO64mYPh0Gax05/k+vr6kZD4= MIME-Version: 1.0 Received: by 10.42.163.200 with SMTP id d8mr4722620icy.41.1327658412411; Fri, 27 Jan 2012 02:00:12 -0800 (PST) Sender: ermal.luci@gmail.com Received: by 10.231.134.198 with HTTP; Fri, 27 Jan 2012 02:00:12 -0800 (PST) In-Reply-To: <201201270847.18897.d.sieborger@ru.ac.za> References: <201201261638.26599.d.sieborger@ru.ac.za> <201201270847.18897.d.sieborger@ru.ac.za> Date: Fri, 27 Jan 2012 11:00:12 +0100 X-Google-Sender-Auth: aFcDvugwlfk1hpeVVisZKw_z5mw Message-ID: From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: =?ISO-8859-1?Q?David_Sieb=F6rger?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-pf@freebsd.org Subject: Re: pf crashes in pfr_update_stats() X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2012 10:00:15 -0000 On Fri, Jan 27, 2012 at 7:47 AM, David Sieb=F6rger w= rote: > On Thursday, 26 January 2012 5:35 PM Ermal Lu=E7i wrote: >> Are you doing frequent updating of tables or loading larde lists of >> addresses in them? > > The machine crashed again, and this time I ran ps in ddb. =A0It shows > pfctl running on one CPU, and the incoming packet being handled by > another: > > db> ps > =A0pid =A0ppid =A0pgrp =A0 uid =A0 state =A0 wmesg =A0 =A0 =A0 =A0 wchan = =A0 =A0 =A0 =A0cmd > 99941 99922 99920 =A0 =A0 0 =A0R =A0 =A0 =A0 CPU 3 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 pfctl > ... > 100028 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Run =A0 =A0 CPU 0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [irq256: > bce0] > ... > > The backtrace was the same as the last one. > > I guess this means that disabling SMP would fix the problem as a quick > workaround, but there's probably something wrong with the locking when > updating the tables. > Sorry, i am busy with $WORK stuff but will need to fix this before end of February. This is mostly related to GC and/or ruleset/table reloading and some workarounds for SMP done on FreeBSD port. Whenever i have a fix i will post it here > > -- > David Sieb=F6rger > System Administrator, IT Division, Rhodes University > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" --=20 Ermal