From owner-freebsd-questions@FreeBSD.ORG Thu May 28 05:26:08 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1AB4208 for ; Thu, 28 May 2015 05:26:08 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7313FBC5 for ; Thu, 28 May 2015 05:26:08 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by pdbki1 with SMTP id ki1so33605754pdb.1 for ; Wed, 27 May 2015 22:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GatJaUmi1jDxAbt5kXc3buZsM0D8kHeqbr8PI+ISmVw=; b=azJIxI/jbLbYs7HSIv9Ck/zwA66uKPtkUQoSYcDgTAI8yEzkADPEf/wAKIzhdoFkaZ rNdfKzroiQA8mw72iUzGIqR5vEN4gTHgdOkHm6wnzmFI9Czb+Sf8Z0TcR/mzy4pZvmp3 JxniV2tx0E8WwEQBacDCtVYF4yYPZM9E9nAn4qdGE9uDKlA4bAKvJN+oZvDy0cvYbSyh F9Vql6wNxoH6x2wIN358qa8htFRAqug0AD7ko7Pbz2F7QWQwbB2dZ7yfT6iHh0bFcsnk vZSccQvhvJXBmju8wVJEizhnQGPIm2xJZ1UVEkbZsHu9IhzEdiAadewbmAKg3Yhr59aJ 9XRQ== X-Received: by 10.66.156.198 with SMTP id wg6mr2132381pab.126.1432790767926; Wed, 27 May 2015 22:26:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.96.36 with HTTP; Wed, 27 May 2015 22:25:47 -0700 (PDT) In-Reply-To: <6F843A4D-8D2D-4DE2-B90E-A8033BEC1500@lafn.org> References: <1CD13C1C-5344-4909-A061-F25FBB86AFF9@lafn.org> <20150528000655.GA15385@neutralgood.org> <6F843A4D-8D2D-4DE2-B90E-A8033BEC1500@lafn.org> From: Michael Schuster Date: Thu, 28 May 2015 07:25:47 +0200 Message-ID: Subject: Re: Swap exhaustion To: Doug Hardie Cc: kpneal@pobox.com, FreeBSD - Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 05:26:08 -0000 Hi, On Thu, May 28, 2015 at 7:09 AM, Doug Hardie wrote: > If I am understanding correctly, then it appears that a process can > actually allocate enough memory to eat up the swap space. Then I need to > find out why that process is allocating so much memory. Thanks. one scenario that comes to mind is memory leak - I'd guess at a code path where a previously allocated chunk or memory isn't properly free()d. I'd start debugging using the information in malloc(3). regards Michael -- Michael Schuster http://recursiveramblings.wordpress.com/