public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Crash on 2.6.22
@ 2007-09-28  9:00 Laurent CARON
  2007-09-28  9:05 ` [DRBD-user] " Hannes Dorbath
  0 siblings, 1 reply; 5+ messages in thread
From: Laurent CARON @ 2007-09-28  9:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: drbd-user

Hi,

I did experience a quite strange problem (at least for me) on the first
node of our 2 node cluster.

This is basically an imap/smtp/http proxy server.

One of the imapd processes started to use a lot of cpu, memory... this
morning.

Oomkiller showed up and killed slapd, imapd, amavisd....

I then restarted those processes manually, and it went fine.

A few moments later i got the following messages on my ssh terminal:

kernel: Bad page state in process 'swapper'
kernel: Bad page state in process 'swapper'
kernel: page:c1032a40 flags:0x40000400 mapping:00000000 mapcount:0 count:0
kernel: page:c1032a40 flags:0x40000400 mapping:00000000 mapcount:0 count:0
kernel: Trying to fix it up, but a reboot is needed
kernel: Trying to fix it up, but a reboot is needed
kernel: Backtrace:
kernel: Backtrace:
kernel: Bad page state in process 'swapper'
kernel: Bad page state in process 'swapper'
kernel: page:c1032a40 flags:0x40000400 mapping:00000000 mapcount:0 count:0
kernel: page:c1032a40 flags:0x40000400 mapping:00000000 mapcount:0 count:0
kernel: Trying to fix it up, but a reboot is needed
kernel: Trying to fix it up, but a reboot is needed
kernel: Backtrace:
kernel: Backtrace:


The machine then completely locked, and did reboot (thanks to the watchdog).

This server is a HP DL380G5 with 12Gb memory, 8 SAS Disks, .... a quite
standard box.


The $HOME directories are stored on a drbd (version: 0.7.24
(api:79/proto:74)) partition (with an XFS filesystem).

The only 'non standard' thing I did use is a swap file instead of a swap
partition.

$ free             total       used       free     shared    buffers
 cached
Mem:      12471932    7420364    5051568          0       3984    6680868
-/+ buffers/cache:     735512   11736420
Swap:       393208          0     393208


$ grep swap /etc/fstab
/var/tmp/swapfile swap    swap    defaults    0   0


Might this be the (or one of the) cause of this problem ?

.config is available here: http://zenon.apartia.fr/stuff/config-2.6.22

Thanks

Laurent

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [DRBD-user] Crash on 2.6.22
  2007-09-28  9:00 Crash on 2.6.22 Laurent CARON
@ 2007-09-28  9:05 ` Hannes Dorbath
  2007-09-28  9:12   ` Laurent CARON
  2007-09-28  9:21   ` Stefan Seifert
  0 siblings, 2 replies; 5+ messages in thread
From: Hannes Dorbath @ 2007-09-28  9:05 UTC (permalink / raw)
  To: Laurent CARON; +Cc: linux-kernel, drbd-user

On 28.09.2007 11:00, Laurent CARON wrote:
> The $HOME directories are stored on a drbd (version: 0.7.24
> (api:79/proto:74)) partition (with an XFS filesystem).

Was the deadlock with 2.6.22 only in 0.8.x? Is 0.7.x fine with 2.6.22?


-- 
Regards,
Hannes Dorbath

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [DRBD-user] Crash on 2.6.22
  2007-09-28  9:05 ` [DRBD-user] " Hannes Dorbath
@ 2007-09-28  9:12   ` Laurent CARON
  2007-09-28  9:21   ` Stefan Seifert
  1 sibling, 0 replies; 5+ messages in thread
From: Laurent CARON @ 2007-09-28  9:12 UTC (permalink / raw)
  To: Hannes Dorbath; +Cc: linux-kernel, drbd-user

Hannes Dorbath wrote:
> On 28.09.2007 11:00, Laurent CARON wrote:
>> The $HOME directories are stored on a drbd (version: 0.7.24
>> (api:79/proto:74)) partition (with an XFS filesystem).
> 
> Was the deadlock with 2.6.22 only in 0.8.x? Is 0.7.x fine with 2.6.22?

I only experienced it with 2.6.22.

Since I pulled the latest svn tree of drbd 0.7.X, it should be pretty
deadlock safe.

Isn't it ?

Laurent

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [DRBD-user] Crash on 2.6.22
  2007-09-28  9:05 ` [DRBD-user] " Hannes Dorbath
  2007-09-28  9:12   ` Laurent CARON
@ 2007-09-28  9:21   ` Stefan Seifert
  2007-09-28  9:25     ` Laurent CARON
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Seifert @ 2007-09-28  9:21 UTC (permalink / raw)
  To: Hannes Dorbath; +Cc: Laurent CARON, linux-kernel, drbd-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hannes Dorbath wrote:
> On 28.09.2007 11:00, Laurent CARON wrote:
>> The $HOME directories are stored on a drbd (version: 0.7.24
>> (api:79/proto:74)) partition (with an XFS filesystem).
> 
> Was the deadlock with 2.6.22 only in 0.8.x? Is 0.7.x fine with 2.6.22?

The deadlock also occures with 0.7.x. A patch for that is floating around.

Regards,
Stefan Seifert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG/Meh1QuEJQQMVrgRAsJxAJ46+//VfKIxFBmauhsXdq0DFpo6wQCeOuHa
clUidp3JcwzW8ZDGeFdAXhM=
=xD65
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [DRBD-user] Crash on 2.6.22
  2007-09-28  9:21   ` Stefan Seifert
@ 2007-09-28  9:25     ` Laurent CARON
  0 siblings, 0 replies; 5+ messages in thread
From: Laurent CARON @ 2007-09-28  9:25 UTC (permalink / raw)
  To: Stefan Seifert; +Cc: Hannes Dorbath, linux-kernel, drbd-user, Lars Ellenberg

Stefan Seifert wrote:
> The deadlock also occures with 0.7.x. A patch for that is floating around.

Here is a transcript from a mail I sent to Lars Ellenberg

It should 'normally' be fixed.

Am I wrong ?

Thanks



On Sun, Sep 16, 2007 at 05:34:01PM +0200, Laurent CARON wrote:
> > Lars Ellenberg a écrit :
>> > >On Fri, Sep 14, 2007 at 12:33:01AM +0200, Laurent CARON wrote:
>>> > >>Hi,
>>> > >>
>>> > >>After reading the thread about XFS, drbd 8.0.5 and 2.6.22+
kernels (XFS
>>> > >>filesystem locks on mounting with 0.8.0.5), i wonder if the same
applies
>>> > >>to using 0.7.24 and 2.6.22+.
>> > >
>> > >basically, yes.
>> > >so either don't use 0.7 with the kernels showing this behaviour,
>> > >or wait for some maintenance release,
>> > >or patch it yourself.
> >
> >
> > You said that this is fixed in the latest 8.x SVN.

it is fixed in 8.0.6

> > It is fixed in the latest 0.7.x SVN too ?

now, since you are so pushy today  :)
I just checked in something (r3062),
which should do the job, but is untested by me so far.
please test and report back.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-28 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28  9:00 Crash on 2.6.22 Laurent CARON
2007-09-28  9:05 ` [DRBD-user] " Hannes Dorbath
2007-09-28  9:12   ` Laurent CARON
2007-09-28  9:21   ` Stefan Seifert
2007-09-28  9:25     ` Laurent CARON

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox