From toor@dyson.iquest.net  Thu Nov  6 22:53:11 1997
Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA14444
          for <freebsd-gnats-submit@freebsd.org>; Thu, 6 Nov 1997 22:53:10 -0800 (PST)
          (envelope-from toor@dyson.iquest.net)
Received: (from root@localhost)
	by dyson.iquest.net (8.8.7/8.8.5) id BAA04406;
	Fri, 7 Nov 1997 01:52:42 -0500 (EST)
Message-Id: <199711070652.BAA04406@dyson.iquest.net>
Date: Fri, 7 Nov 1997 01:52:42 -0500 (EST)
From: "John S. Dyson" <toor@dyson.iquest.net>
Reply-To: dyson@FreeBSD.ORG
To: dtc@scrooge.ee.swin.oz.au (Douglas Thomas Crosher)
Cc: freebsd-gnats-submit@freebsd.org
In-Reply-To: <199709112312.JAA27052@scrooge.ee.swin.oz.au> from Douglas Thomas Crosher at "Sep 12, 97 09:12:27 am"
Subject: Re: System lockup which appears to be VM related.

>Number:         4964
>Category:       junk
>Synopsis:       Re: System lockup which appears to be VM related.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov  6 23:00:00 PST 1997
>Closed-Date:    Sun Nov 9 02:04:36 PST 1997
>Last-Modified:  Tue Nov 27 19:24:48 PST 2001
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fenner 
State-Changed-When: Sun Nov 9 02:04:36 PST 1997 
State-Changed-Why:  
Misdirected feedback to kern/4513 
>Unformatted:
Douglas Thomas Crosher said:
> 
>   if (mmap(0x9000000,NUM_PAGES*4096,
> 	   PROT_READ|PROT_WRITE|PROT_EXEC,MAP_PRIVATE|MAP_ANON,-1,0)
>       == -1)
>     printf("mmap erorr\n");
> 
You really do need to specify MAP_FIXED in the mmap above.  It is likely
that you are allocating too much memory and your X server or other important
process is getting killed due to lack of swap space.

-- 
John
dyson@freebsd.org
jdyson@nc.com
