Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2013 09:54:46 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/178478: xorg-server-1.7.7_6,1 from FreeBSD ports SVN head mangles display
Message-ID:  <20130511075446.GA2445@tinyCurrent>
In-Reply-To: <201305101220.r4ACK0RJ016749@freefall.freebsd.org>
References:  <201305101215.r4ACFOlC089501@oldred.FreeBSD.org> <201305101220.r4ACK0RJ016749@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Re/ the question of Niclas: Yes, I have used memtest(8) and swapped the
complete RAM chips of 1GB.

Yesterday I watched carefully what the system was doing. I launched
memory intensive jobs (some 'make', firefox with flash and chrome with
flash too), and saw with top(1) that the Free mem was going down to some
30 MBytes, short before the display mangel occurred. The EeePC was
running (for years already) w/o any swap device. As I wild guess I added
in /etc/rc.local the creation of some 1 GByte swap device with:

#!/bin/sh
echo creating swapfile of 1 GB
/bin/rm -f /swapfile.tmp
dd if=/dev/zero of=/swapfile.tmp bs=1m seek=1k count=0
/sbin/mdconfig -a -t vnode -u 1 -f /swapfile.tmp || /bin/sh
/bin/rm -f /swapfile.tmp
/sbin/swapctl -a /dev/md1

Since this there are no more problems, so far. I have no certain
indicator in log files about insufficient memory 9or so like, but it
seems to have been the lack of swap.

We can close the issue. Thanks

	matthias



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