From owner-freebsd-hackers@FreeBSD.ORG Fri May 20 12:08:24 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E1ED106566B for ; Fri, 20 May 2011 12:08:24 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.freebsd.org (Postfix) with ESMTP id 37A218FC19 for ; Fri, 20 May 2011 12:08:23 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1QNNvQ-000MGW-Ke for hackers@freebsd.org; Fri, 20 May 2011 14:31:24 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 20 May 2011 14:31:24 +0300 From: Daniel Braniss Message-ID: Cc: Subject: who is in swap? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2011 12:08:24 -0000 Hi, We have a host, providing mainly http/postgres service, and its swap usage is increasing. Is there any way to check which process is using swap space? some facts it's running 8.2-stable/amd64 has 24gb of memory zfs seems to be ok, arc size too. top says 32G in use, while vmstat avm is around 2G (can't figure this one) top seems to be concervative as to free memory vs. vmstat it's dataless. the swap usage is monotonic increasing, but it will take some 20 days to exhaust the space, it will hang before that :-( - which is what I'm trying to find why cheers, danny