From owner-freebsd-pf@FreeBSD.ORG Fri Aug 10 02:33:47 2007 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 97ABC16A41A for ; Fri, 10 Aug 2007 02:33:47 +0000 (UTC) (envelope-from reed@reedmedia.net) Received: from ca.pugetsoundtechnology.com (ca.pugetsoundtechnology.com [38.99.2.247]) by mx1.freebsd.org (Postfix) with ESMTP id 86B8D13C469 for ; Fri, 10 Aug 2007 02:33:47 +0000 (UTC) (envelope-from reed@reedmedia.net) Received: from pool-71-170-114-32.dllstx.fios.verizon.net ([71.170.114.32] helo=reedmedia.net) by ca.pugetsoundtechnology.com with esmtpa (Exim 4.54) id 1IJJeE-0006rK-2f for freebsd-pf@freebsd.org; Thu, 09 Aug 2007 18:50:42 -0700 Received: from reed@reedmedia.net by reedmedia.net with local (mailout 0.17) id 2692-1186710637; Thu, 09 Aug 2007 20:50:37 -0500 Date: Thu, 9 Aug 2007 20:50:37 -0500 (CDT) From: "Jeremy C. Reed" To: freebsd-pf@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: do you use spamd with sync? 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, 10 Aug 2007 02:33:47 -0000 (Maybe I should post this to the freebsdspamd berlios list instead??) If you use spamd, can you please check your logs for errors like: zgrep -E "bogus entry|can't delete|scan.*failed" /var/log/messages.*z (If that is where you log to.) I have many errors and I can't track down why or what is corrupted. One interesting result is that it will attempt to whitelist the same entry tens of thousands of times in less than one minute. And my CPU load will go high. And my spamd memory usage goes up ten times. I have moved my spamd databases out of the way around 20 times. But new corruption continues. I have been running spamd for over a year now. I am thing it might be related to my sync usage ... Do any of you use the -Y and -y options? I only use it with unicast. So my -Y is an hostname. So sync_addhost is successful (and my debugging shows the "added spam sync host" line) so sync_iface stays NULL. And sync_init() is ran with that as NULL. The code does: if (iface != NULL) sendmcast++; So I am not multicast. Good. But then the code resets it: if (iface == NULL) iface = baddr; And then: /* Don't use multicast messages */ if (iface == NULL) return (syncfd); (I added fprintf(stderr debugging to verify this.) So it doesn't return even though I am not using multicast which it attempts to setup. So added a return (syncfd); anyways since it wouldn't work with out it. I am guessing that I am the only person in the world using it with unicast. I have asked about this a couple times on the OpenBSD tech list, but no feedback on that there. Maybe the unicast method is broken? I'd appreciate to hear anyone's experiences with using this. I have been using it since sync it existed -- maybe around February. Jeremy C. Reed