On Mon, Mar 28, 2016 at 12:02:27PM -0400, D'Arcy J.M. Cain wrote: > On Sun, 27 Mar 2016 17:12:38 -0400 > Dan LaBell <dan4l-nos...@verizon.net> wrote: > > > The other thing I see is that swap never gets used. The system > > > appears > > > to crash when real memory gets used up and swap used is always 0. > > What happens if you force swap to be used, like mounting a mfs file > > system > > larger than free memory, and filling it? > > I was afraid to try on the production server but I did play with a > spare. In fact, the spare was the previous email server. I thought > that it might be hardware problems so I swapped out the machine. > > I ran a program that used up more memory than physical memory. It went > to swap just fine. > > So swap works but available real memory in dropping with no indication > of what is using it. My test program now shows this: > > PS: 2209720 > PROC: 18198136 > > As far as I can tell I am seeing a total of 2GB of memory used by all > processes and resident in memory but the system (top and /proc/meminfo) > are telling me that 17GB of memory is in use. What's using the other > 15GB? > > -- > D'Arcy J.M. Cain <da...@netbsd.org> > http://www.NetBSD.org/ IM:da...@vex.net
Is someone using hw.physmem instead of hw.physmem64? it is a signed 32bit integer. Didn't read the conversation, had a similar issue in the past.