From owner-freebsd-current Wed Jun 9 10:55:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 17AB315184; Wed, 9 Jun 1999 10:55:06 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (phoenix.cs.rpi.edu [128.113.96.153]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id NAA34746; Wed, 9 Jun 1999 13:54:55 -0400 (EDT) Message-Id: <199906091754.NAA34746@cs.rpi.edu> To: The Hermit Hacker Cc: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: MMAP() in STABLE/CURRENT ... In-Reply-To: Message from The Hermit Hacker of "Wed, 09 Jun 1999 14:28:51 -0300." Date: Wed, 09 Jun 1999 13:54:55 -0400 From: "David E. Cross" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I believe I stumbled over this as well. (As a side note, you can run DDB over a serial console too, just compile with DDB, and DDB_UNATTENDED so your system will come back if it unexpectedly panics; on the serial console send a 'break'). Anyway, I have a simple program that mmap()s a 1Gig file into memory, madvise()s it that it will be doing random access. If I quit and restart this program a couple of times (yes, it close()s and munmap()s the segment), my system will hard lock. By dropping into DDB once I found that it was stuck in 'vm_somethingorother_choosepage'. Does this ring any bells? Should I try to stop my system again? -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message