From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 10 09:10:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4896C1065675 for ; Tue, 10 Feb 2009 09:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 248E78FC21 for ; Tue, 10 Feb 2009 09:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1A9A3hL047996 for ; Tue, 10 Feb 2009 09:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1A9A3tb047994; Tue, 10 Feb 2009 09:10:03 GMT (envelope-from gnats) Resent-Date: Tue, 10 Feb 2009 09:10:03 GMT Resent-Message-Id: <200902100910.n1A9A3tb047994@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oleg Gawriloff Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79C4F10656BA for ; Tue, 10 Feb 2009 09:09:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B50B58FC2A for ; Tue, 10 Feb 2009 09:09:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1A993Qq071358 for ; Tue, 10 Feb 2009 09:09:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1A993uw071345; Tue, 10 Feb 2009 09:09:03 GMT (envelope-from nobody) Message-Id: <200902100909.n1A993uw071345@www.freebsd.org> Date: Tue, 10 Feb 2009 09:09:03 GMT From: Oleg Gawriloff To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131554: flow-capture consuming all available memory X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 09:10:03 -0000 >Number: 131554 >Category: ports >Synopsis: flow-capture consuming all available memory >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 10 09:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Oleg Gawriloff >Release: 7.1 >Organization: Atlant Telecom >Environment: FreeBSD netflow.telecom.by 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Tue Jan 27 08:59:57 EET 2009 root@netflow.telecom.by:/usr/obj/usr/src/sys/NETFLOW amd64 >Description: We have heavily loaded netflow server using flow-tools/flow-extract. During time (3-5 days) flow-extract consuming all available memory on server (i.e. 6Gb) and then server stops responding with "+swap_pager_getswapspace(16): failed". Now we solved this problem using monit with flow-extract restart when its memory consumption above 3Gb, but may be there is another way. Typical top output after 1 day of work: last pid: 98873; load averages: 0.95, 1.17, 1.11 up 10+12:15:37 11:08:15 115 processes: 13 running, 86 sleeping, 16 waiting CPU: 14.5% user, 0.0% nice, 1.4% system, 0.0% interrupt, 84.0% idle Mem: 898M Active, 2947M Inact, 347M Wired, 1236K Cache, 214M Buf, 742M Free Swap: 2048M Total, 13M Used, 2035M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU COMMAND 68525 root 1 52 0 844M 805M CPU0 0 46:21 14.26% flow-capture >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: