lkml.org 
[lkml]   [2004]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.1: kernel BUG at mm/swapfile.c:806
marcel cotta wrote:
> Andrew Morton wrote:
>
>> marcel cotta <marcel@kriminell.com> wrote:
>>
>>> Andrew Morton wrote:
>>>
>>>> marcel cotta <marcel@kriminell.com> 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'?
>>
>>
>
>
> the box is still running and i just saw another thing
>
> hades:~# cat /proc/swaps
> Filename Type Size Used
> Priority
> /swap/linux0.swp file 14184 14160 -1
> /swap/linux1.swp file 16184 16036
> -22
> /swap/linux2.swp file 16184 15740
> -23
> /swap/linux3.swp file 16184 15720
> -28
> /swap/linux4.swp file 16184 15960
> -43
> /swap/linux5.swp file 16184 13380
> -44
> /swap/linux6.swp file 16184 104
> -45
> /swap/linux7.swp file 16184 0
> -46
> /swap/linux8.swp file 16184 4
> -47
>
>
> hades:~# free
> total used free shared buffers cached
> Mem: 188724 184076 4648 0 328 33176
> -/+ buffers/cache: 150572 38152
> Swap: 127476 90528 36948
>
>
> have a look at the total swap amount, free reports 127476 but the
> total should be 143656
> the /swap/linux0.swp file being 2mb smaller is no error
> it is caused by setting swapfile size in /etc/swapd.conf to 14184,
> while only
> this file being in use, and restarting swapd with 16184 as new
> swapfile size
>
>

another thing as im still playing with this

the swapfiles size is 143656 kb
/proc/swap reports 127476 kb

thats makes a difference of 16180 kb, so 4 kb must be missing since a
swapfile is 16184
these are exactly the 4 bytes in the /swap/linux8.swp
i just tried to less it - the process went right into D state :p

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

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.063 / U:1.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site