From owner-freebsd-questions@FreeBSD.ORG Wed Oct 6 19:19:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2822E1065706 for ; Wed, 6 Oct 2010 19:19:31 +0000 (UTC) (envelope-from perikillo@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id D6A048FC1B for ; Wed, 6 Oct 2010 19:19:30 +0000 (UTC) Received: by gyg4 with SMTP id 4so3342704gyg.13 for ; Wed, 06 Oct 2010 12:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=p1StZHOBdY1GeptnnSGNHocyE+HFtEQQWNkmhfip6/A=; b=fUJQdCUKN1X4HYde/7Wvp/xoGlHfke5Vocc1v0UUR+aZhtV57ZuDXg0aJJmo+gp+Dq 4ab0RME5n40W0lK7lNatz/96FAeKyJaAibo2RB7UdKdknjemv2jJb6AH4LjzDWgS7K92 +anwLSXuHLYpVIRtBVLaG4BKRfwLif6fDTqq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ohSlHfLNW7xBsxMRqENLafMKJ6OYKQfeDmH09sqIzaHCl31GN77thquin5dUFkJ9Wn HeFDMY/9oggq/Cc9cGPsq5Afvsc+3S4cGQnSudeOh1ts+5z+sHSlJbKd4HqK5QFhQ6+c kgYW7uGD87TCSoPq2CShXD92Dnnnl9qGVbnds= MIME-Version: 1.0 Received: by 10.42.134.74 with SMTP id k10mr1081373ict.176.1286392769979; Wed, 06 Oct 2010 12:19:29 -0700 (PDT) Received: by 10.42.2.198 with HTTP; Wed, 6 Oct 2010 12:19:27 -0700 (PDT) In-Reply-To: <4CAC3310.3010104@ose.nl> References: <4CAC3310.3010104@ose.nl> Date: Wed, 6 Oct 2010 12:19:27 -0700 Message-ID: From: perikillo To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Issues with FlowCleaner on a spam server. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2010 19:19:31 -0000 On Wed, Oct 6, 2010 at 1:28 AM, Bas Smeelen wrote: > On 10/06/2010 09:40 AM, perikillo wrote: >> Hi my friends I have a big issue that I still cannot track what is >> causing that my server stop working. >> > may be this bug? > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/146792 > a "fix" is also in the report >> I have a spam gateway running: >> >> spamassassin >> clamavis >> amavis >> apache+mailgraph >> postfix >> bacula client >> apcupsd client >> >> My server is running freebsd 8.0-p2 AMD64. Raid-1. >> >> Copyright (c) 1992-2009 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> =A0 =A0 =A0 =A0 The Regents of the University of California. All rights = reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 8.0-RELEASE-p2 #5: Mon May 10 23:23:20 PDT 2010 >> =A0 =A0 root@filter.oakwest.com:/usr/obj/usr/src/sys/SPAMKER >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> CPU: Intel(R) Xeon(R) CPU =A0 =A0 =A0 =A0 =A0 E3110 =A0@ 3.00GHz (2999.6= 8-MHz K8-class CPU) >> =A0 Origin =3D "GenuineIntel" =A0Id =3D 0x1067a =A0Stepping =3D 10 >> =A0 Features=3D0xbfebfbff >> =A0 Features2=3D0x408e3fd >> =A0 AMD Features=3D0x20100800 >> =A0 AMD Features2=3D0x1 >> =A0 TSC: P-state invariant >> real memory =A0=3D 4294967296 (4096 MB) >> avail memory =3D 4119261184 (3928 MB) >> ACPI APIC Table: <090208 APIC1432> >> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >> FreeBSD/SMP: 1 package(s) x 2 core(s) >> =A0cpu0 (BSP): APIC ID: =A00 >> =A0cpu1 (AP): APIC ID: =A01 >> >> For some reason that I still don't know, amavisd stop working, the >> port no longer answer any inbound, postfix, spamd, clamd works, >> amavisd is the issue normally. >> >> My server can work for a month, each weekend I update the ports and >> upgrade my packages, spamd rules every month are updated. >> >> No issue here, suddenly after a month or 4-5 weeks the server stop >> working, amavisd stop doing the job, I can access the server via ssh >> and see the issue. >> >> This is the 4th time that happens. >> >> My IDLE goes to 50%, when I start debugging I see a process called >> "FlowCleaner" eating 1 CPU. >> >> Always got the PID 20, looks like a internal process, I have been >> searching info about this process but not to much info. >> >> I cannot kill this process, I can restart clamd, spamd, apache, >> bacula, but amavisd is stuck. >> >> If I send a shutdown -r now won't work, my server just hang-up, if I >> press the power button won't work to. >> >> I have to do a cold reboot, I don't have other choice. >> >> I have read logs but don't see any issue (maillog, console, all, message= ). >> >> One thing to mention, is that every time this happen, my server fan's >> are working more faster that usual, the first day I detect this I >> create a batch that send every 5 minutes the core temperature using >> freebsd coretemp.ko module. >> >> Avg. I got 40'c for each core: >> >> dev.cpu.0.temperature: 42.0C >> dev.cpu.1.temperature: 41.0C >> >> I search around on Intel site and this chip max temp. is 70'c, I had >> never seen this number on my emails, the biggest number had been 54'c >> and this appear before my server got crazy yesterday: >> >> dev.cpu.0.temperature: 53.0C >> dev.cpu.1.temperature: 49.0C >> >> Something is causing this, a spam attack, memory leak mmm I had not >> seen my server use the whole 4GB ever. >> >> My friends, what do u you recommend to me to track this? >> >> Any input will be very appreciated, I got 1 month to track this before >> this happen again, thanks! >> > > DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, di= sclosure, copying, > distribution or reliance on any of it by anyone else is prohibited. If yo= u have received it > by mistake please let us know by reply and then delete it from your syste= m. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > Hey Bas thanks, I will try that, I had read the link u mention and I have the same behavior, is not a router but I have the option inside my kernel: options FLOWTABLE # per-cpu routing cache I had seen that we can disable with sysctl, I will try to disable and wait for a month and see if my spam server don't have issues like this anymore. I will let u know, thanks again Bas.