Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 01:44:29 -0700
From:      Eric Anholt <eta@lclark.edu>
To:        Daniel C Bastos <daniel@slashlog.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: swap_pager: out of swap space
Message-ID:  <1060591468.12253.5.camel@leguin>
In-Reply-To: <20030811042149.1175eca5.daniel@slashlog.org>
References:  <20030811042149.1175eca5.daniel@slashlog.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2003-08-11 at 01:21, Daniel C Bastos wrote:
> Aug 11 03:56:34 danux /kernel: swap_pager: out of swap space
> Aug 11 04:02:34 danux /kernel: swap_pager_getswapspace: failed
> Aug 11 04:02:34 danux /kernel: pid 278 (XFree86), uid 0, was killed: out
> of swap space
> 
> i was actually looking at the screen and then everything stopped (mouse
> etc). i could not switch to console, but a ctrl+alt+del rebooted fine.
> 
> one thing that could be taking a lot of memory was a program called
> "xwatch" (/usr/ports/sysutils/xwatch) reading a log file (with a lot of
> activity from a software i'm developing) and xwatch might not be
> limiting its buffer... ? i don't know, wouldnt the kernel kill xwatch
> instead of xfree86?
> 
> i appreciate any info on this. thanks.

Pixmaps allocated by X clients are actually allocated by the server.  If
xwatch leaked that memory, or just allocated enough of it, it could
cause XFree86 to be chosen by the OOM killer.

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org



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