Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 1999 13:54:55 -0400
From:      "David E. Cross" <crossd@cs.rpi.edu>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, crossd@cs.rpi.edu
Subject:   Re: MMAP() in STABLE/CURRENT ... 
Message-ID:  <199906091754.NAA34746@cs.rpi.edu>
In-Reply-To: Message from The Hermit Hacker <scrappy@hub.org>  of "Wed, 09 Jun 1999 14:28:51 -0300." <Pine.BSF.4.05.9906091422000.49155-100000@thelab.hub.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906091754.NAA34746>