NetBSD Problem Report #38270
From yamt@mwd.biglobe.ne.jp Fri Mar 21 05:58:51 2008
Return-Path: <yamt@mwd.biglobe.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id DD22D63B863
for <gnats-bugs@gnats.NetBSD.org>; Fri, 21 Mar 2008 05:58:50 +0000 (UTC)
Message-Id: <20080321055847.64FF611704@yamt.dyndns.org>
Date: Fri, 21 Mar 2008 14:58:47 +0900 (JST)
From: yamt@mwd.biglobe.ne.jp
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: spurious OOM due to trylock
X-Send-Pr-Version: 3.95
>Number: 38270
>Category: kern
>Synopsis: spurious OOM due to trylock
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 21 06:00:01 +0000 2008
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 4.99.55
>Organization:
>Environment:
Architecture: i386
Machine: i386
>Description:
consider that we have enough free pages but little swap.
1. uvm_analloc fails due to vm_map trylock failure.
2. uvm_reclaimable returns false. while we have plenty of
free pages, it doesn't mean we have reclaimable pages.
3. now the faulting process dies saying out of swap.
>How-To-Repeat:
>Fix:
kill trylock.
or don't assume that uvm_analloc failure is always due to
memory shortage.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.