Re: 2.6.1: kernel BUG at mm/swapfile.c:806

From: marcel cotta
Date: Fri Jan 16 2004 - 00:22:44 EST


Andrew Morton wrote:
marcel cotta <marcel@xxxxxxxxxxxxx> wrote:

Andrew Morton wrote:

marcel cotta <marcel@xxxxxxxxxxxxx> wrote:


i got this oops after the box swapped like crazy under X for about 5 minutes
while swapping it was nearly unusable (jerky mouse, console switching took 10 seconds)
the extreme performance drop is always reproducible when swapping starts


------------[ cut here ]------------
kernel BUG at mm/swapfile.c:806!


Amazing. Are you using a swapfile, or are you swapping to a block device?





hehe, hasnt been reported for a while eh ;)

i used swapfiles, one static 50mb file and the rest in temp 16MB blocks managed by swapd


What is `swapd'?



it checks the remaining free memory every n seconds and creates
swapfiles by n size if needed


the README:

swapd 0.2 (May 21, 2000), copyright Neven Lovric <nlovric@xxxxxxxx>

swapd is a dynamic swapping manager for Linux. It provides the system with
as much swap space (virtual memory) as is required at a particular time by
dynamicly creating swap files. This is more convinient than using
fixed swap
files and/or partitions because they (a) are unused most of the time
and are
just taking up disk space; and (b) provide a limited amount of virtual
memory.

This program is free software released under the terms of the GNU General
Public License. Please refer to file 'COPYING' for more information.

The latest version of this program can be found at
http://cvs.linux.hr/swapd
or at ftp.linux.hr in /pub/swapd.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/