All of lore.kernel.org
 help / color / mirror / Atom feed
From: marcel cotta <marcel@kriminell.com>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>, Hugh Dickins <hugh@veritas.com>
Subject: Re: 2.6.1: kernel BUG at mm/swapfile.c:806
Date: Fri, 16 Jan 2004 07:43:03 +0100	[thread overview]
Message-ID: <400787F7.4030005@kriminell.com> (raw)
In-Reply-To: <4007751C.9090702@kriminell.com>

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


  reply	other threads:[~2004-01-16  6:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-16  2:51 2.6.1: kernel BUG at mm/swapfile.c:806 marcel cotta
2004-01-16  4:34 ` Andrew Morton
     [not found]   ` <40076B62.9000108@kriminell.com>
     [not found]     ` <20040115204302.2909af64.akpm@osdl.org>
2004-01-16  5:21       ` marcel cotta
2004-01-16  5:22       ` marcel cotta
2004-01-16  6:43         ` marcel cotta [this message]
2004-01-16 17:05           ` Hugh Dickins
2004-01-16 18:29             ` Mike Fedyk
2004-01-16 18:43               ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=400787F7.4030005@kriminell.com \
    --to=marcel@kriminell.com \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.