From owner-freebsd-stable@FreeBSD.ORG Wed Aug 28 14:20:34 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 22C9D342 for ; Wed, 28 Aug 2013 14:20:34 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DB3B2A5B for ; Wed, 28 Aug 2013 14:20:33 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id ev20so4843825lab.11 for ; Wed, 28 Aug 2013 07:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=z6bcCsME0x/b5sAqeQgy3pBElcHws/G9VA3bQ7aagvQ=; b=l6ad5pG4IVBMlPdE6E00jSN/tvPInCl67V1CMN+qpPHtnIjbnCzvB/eq6RsbnZ0nqH Qpac1lE+yvVdA3liQnc9iJo/FQ+fd1SffqeMJ8F7Hz8k1iqCnkfQFQgH7ybOJohqldO8 4THgmJNn3EKvOVW3YP0Qah1ydA7cC3W/7Ikys5IRpCNKH5XbV1UKCN3wk/E/1frD7vqN 2SdS7Ujsdi70tUbrBQeZ7wPG49bBfGK0CLAPDZHJCIt9ciEfeLzJyojAOpBX/wXqNqk5 U+Cjwwq5pbas/k7A2G5YK1MOX+PFwG1m5398evrj7BdM3OYzwB1B/XS03GyrlNYMrlrk 2JjA== X-Received: by 10.152.45.106 with SMTP id l10mr24276938lam.12.1377699631347; Wed, 28 Aug 2013 07:20:31 -0700 (PDT) Received: from dhcp174-208-red.yandex.net (dhcp174-208-red.yandex.net. [95.108.174.208]) by mx.google.com with ESMTPSA id b1sm10635524lah.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Aug 2013 07:20:30 -0700 (PDT) From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 9-STABLE panic on intensive fork Message-Id: Date: Wed, 28 Aug 2013 18:20:29 +0400 To: stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 14:20:34 -0000 Hello! I am using very recent FreeBSD-9-STABLE snapshot: 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254986: Wed Aug 28 17:18:57 = MSK 2013 I run uwsgi program (ports/www/uwsgi) on that machine. When uwsgi starts, it forks pre-configured number of worker processes. If I raise workers parameter high enough (128), I get kernel panic (100% = reproducible): Fatal trap 12: page fault while in kernel mode If I compile kernel with KDB enabled, I get the following stack: pmap_demote_pde_locked() pmap_copy() vmspace_fork() fork1() sys_fork() I have only remote console for that machine, so I made 2 screenshots: 1) http://people.freebsd.org/~demon/screen1.jpg Panic screen when kernel has no KDB support compiled in 2) http://people.freebsd.org/~demon/screen2.jpg Panic screen (2nd part) with the above stack shown. I can provide any additional information if needed. =20 Thanks!=