NetBSD Problem Report #48149

From www@NetBSD.org  Fri Aug 23 10:56:13 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1F82E7198F
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 23 Aug 2013 10:56:13 +0000 (UTC)
Message-Id: <20130823105611.89ED371990@mollari.NetBSD.org>
Date: Fri, 23 Aug 2013 10:56:11 +0000 (UTC)
From: ghd@siemiradzcy.pl
Reply-To: ghd@siemiradzcy.pl
To: gnats-bugs@NetBSD.org
Subject: Under load processes get stuck - incarnation of 45718 for ARM?
X-Send-Pr-Version: www-1.0

>Number:         48149
>Category:       kern
>Synopsis:       Under load processes get stuck - incarnation of 45718 for ARM?
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 23 11:00:00 +0000 2013
>Originator:     &#321;ukasz Siemiradzki
>Release:        NetBSD 6.1_STABLE evbarm
>Organization:
>Environment:
NetBSD pathogen.siemiradzcy.pl 6.1_STABLE NetBSD 6.1_STABLE (SHEEVAPLUG) #0: Sat Aug 10 19:11:41 CEST 2013  plluksie@hell.kolosowscy.pl:/home/users/plluksie/netbsd/src/sys/arch/evbarm/compile/obj/SHEEVAPLUG evbarm

>Description:
Problem seems to be similar to kern/45718:. Under load (building distribution), system hangs.

db> ps /l
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
703      1 3   0   1000000           c3195d40             nbmake vm_map
1679     1 3   0        80           c1d3e2a0                 sh wait
1740     1 3   0        80           c1ba0540             nbmake pipe_rd
1666     1 3   0        80           c1ba07e0                 sh wait
1710     1 3   0        80           c1d3e000                 sh pipe_rd
670      1 3   0        80           c1b61800                 sh pipe_rd
1052     1 3   0        80           c1bca020                tee pipe_rd
1158     1 3   0        80           c1bcad40               time wait
491      1 3   0         0           c1d3e7e0               cron vm_map
757      1 3   0         0           c1b61aa0              login vm_map
342      1 3   0        80           c1d3ea80                 sh wait
752      1 3   0        80           c1b61020                 sh wait
791      1 3   0        80           c1ba0a80               sshd select
760      1 3   0        80           c1bca560               qmgr kqueue
733      1 3   0        80           c1bca800             pickup kqueue
731      1 3   0         0           c1d3ed20               cron vm_map
785      1 3   0        80           c1bca2c0              inetd kqueue
756      1 3   0        80           c1ba0000             master kqueue
403      1 3   0         0           c1bcaaa0               sshd vm_map
237      1 3   0        80           c1ba02a0            syslogd kqueue
314      1 3   0         0           c1ba0d20             dhcpcd vm_map
1        1 3   0        80           c1ae8800               init wait
0       45 3   0       200           c1b61560          nfskqpoll nfskqpw
0       44 3   0       200           c1b612c0            swapiod swapiod
0       42 3   0       200           c1b61d40           aiodoned aiodoned
0       41 3   0       200           c1b5b2a0            ioflush syncer
0       40 3   0       200           c1b5b000           pgdaemon pgdaemon
0       37 3   0       200           c1b5b540              nfsio nfsiod
0       36 3   0       200           c1b5b7e0              nfsio nfsiod
0       35 3   0       200           c1b5ba80              nfsio nfsiod
0       34 3   0       200           c1b5bd20              nfsio nfsiod
0       33 3   0       200           c1a0b2a0           swdmover swdmvr
0       32 3   0       200           c1a0b540          cryptoret crypto_w
0       31 3   0       200           c1a0b000         usbtask-dr usbtsk
0       30 3   0       200           c1ae8d40         usbtask-hc usbtsk
0       29 3   0       200           c1ae8aa0               usb0 usbevt
0       27 3   0       200           c1ae8560              unpgc unpgc
0       26 3   0       200           c1ae82c0        vmem_rehash vmem_rehash
0       25 3   0       200           c1ae8020             sdmmc0 mmctaskq
0       16 3   0       200           c1a0b7e0               iic0 iicintr
0       15 3   0       200           c1a0ba80         pmfsuspend pmfsuspend
0       14 3   0       200           c1a0bd20           pmfevent pmfevent
0       13 3   0       200           c1a03020         sopendfree sopendfr
0       12 3   0       200           c1a032c0           nfssilly nfssilly
0       11 3   0       200           c1a03560            cachegc cachegc
0       10 3   0       200           c1a03800              vrele vrele
0        9 3   0       200           c1a03aa0             vdrain vdrain
0        8 3   0       200           c1a03d40          modunload mod_unld
0        7 3   0       200           c19f9000            xcall/0 xcall
0        6 1   0       200           c19f92a0          softser/0
0        5 1   0       200           c19f9540          softclk/0
0        4 1   0       200           c19f97e0          softbio/0
0        3 1   0       200           c19f9a80          softnet/0
0    >   2 7   0       201           c19f9d20             idle/0
0        1 3   0       200           c046c680            swapper uvm


db> show uvm
Current UVM status:
  pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
, ncolors=1  127514 VM pages: 11923 active, 0 inactive, 0 wired, 98974 free
  pages  1936 anon, 8460 file, 1527 exec
  freemin=256, free-target=341, wired-max=42504
  cpu0:
    faults=229690, traps=1775518, intrs=4125175, ctxswitch=5832995
    softint=2042470, syscalls=3656047
  fault counts:
    noram=0, noanon=0, pgwait=0, pgrele=0
    ok relocks(total)=1322(1326), anget(retrys)=37417(0), amapcopy=19698
    neighbor anon/obj pg=24463/198463, gets(lock/unlock)=52431/1326
    cases: anon=22431, anoncow=10569, obj=45149, prcopy=7278, przero=28932
  daemon and swap counts:
    woke=0, revs=0, scans=0, obscans=0, anscans=0
    busy=0, freed=0, reactivate=0, deactivate=0
    pageouts=0, pending=0, nswget=0
    nswapdev=1, swpgavail=125000
    swpages=125000, swpginuse=0, swpgonly=0, paging=0



>How-To-Repeat:
build distribution
>Fix:
none

NetBSD Home
NetBSD PR Database Search

(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.