From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 12 15:00:05 2010 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4B19106566C for ; Mon, 12 Apr 2010 15:00:05 +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 79B298FC1F for ; Mon, 12 Apr 2010 15:00:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3CF05pU045490 for ; Mon, 12 Apr 2010 15:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3CF05W0045489; Mon, 12 Apr 2010 15:00:05 GMT (envelope-from gnats) Resent-Date: Mon, 12 Apr 2010 15:00:05 GMT Resent-Message-Id: <201004121500.o3CF05W0045489@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Smagin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84279106566B for ; Mon, 12 Apr 2010 14:53:55 +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 742508FC0C for ; Mon, 12 Apr 2010 14:53:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3CErsmw034373 for ; Mon, 12 Apr 2010 14:53:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3CErsd7034360; Mon, 12 Apr 2010 14:53:54 GMT (envelope-from nobody) Message-Id: <201004121453.o3CErsd7034360@www.freebsd.org> Date: Mon, 12 Apr 2010 14:53:54 GMT From: Andrey Smagin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 12 Apr 2010 15:37:46 +0000 Cc: Subject: amd64/145654: amd64-curent memory leak in kernel X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 15:00:05 -0000 >Number: 145654 >Category: amd64 >Synopsis: amd64-curent memory leak in kernel >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 12 15:00:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andrey Smagin >Release: amd64-current 2010 mart xx >Organization: DiP Interactive >Environment: FreeBSD rizhskaya8.vvt 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Mon Mar 29 23:45:02 UTC 2010 root@rizhskaya8.vvt:/usr/obj/usr/src/sys/SAM amd64 >Description: I switched i386->amd64 on my server, with full new ports tree, save only configs. Under heavy disk IO, "Wired" memory increased and kernel panic in malloc inside IPFW. Uptime back proportional of disk IO load, with transfer large files from one HDD to another,paniced from 1 to 3-4 hours. With no IO uptime about 2-5 days. It may be ZFS related problem because, I switch /usr and /var to ZFS. I try to fix problem by configuring ZFS in loader.conf, but nothing help. loader.conf: vfs.zfs.arc_max="512M" vfs.zfs.arc_min="256M" vfs.zfs.vdev.cache.size="128M" panic always in: panic() kmemmalloc() uma_large_malloc() malloc() ipfw_ctl() at ipfw_ctl+0xb4. rip_ctl_output() at rip_ctl_output+0x9f ... >How-To-Repeat: start copying large size of data from UFS to ZFS or vice versa. "Wired" memory increased value and after some hours value above 2GB then hang in malloc always in IPFW. >Fix: >Release-Note: >Audit-Trail: >Unformatted: