pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Kernel panic error
5+ messages / 4 participants
[nested] [flat]

* Kernel panic error
@ 2001-02-15 09:12 Robert.Farrugia@go.com.mt
  0 siblings, 0 replies; 5+ messages in thread

From: Robert.Farrugia@go.com.mt @ 2001-02-15 09:12 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I have been using Postgres 7.0.3 for the last few weeks.  I also use LVM on
the 2.4 kernel.  I have very large tables (one of which is over 2GB).

My problem is that lately (the last week), when doing maintenance (normally
at night using a cronjob), the follwoing error has been repeatly given:

Incorrect number of segments after building list
nr_segments is 8
counted segments is 2
Flag 1 0
Segement 0xc5fa74a0, blocks 8, addr 0x4007ffff
Kernel panic: Thats all folks. Too dangerous to continue.

I have noticed yesterday that postgres gave the error below before the
kernel panic.  This error was given when vacuuming one of the smallest
tables in the database.
Error index_formtuple: data takes 21268 bytes: too big

Anyone has any ideas what is happening ?

Thanks
Robert




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

* Re: Kernel panic error
@ 2001-02-16 08:00 Robert.Farrugia@go.com.mt
  2001-02-16 16:07 ` Re: Re: Kernel panic error Tom Lane <tgl@sss.pgh.pa.us>
  2001-02-16 16:12 ` Re: Re: Kernel panic error Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 2 replies; 5+ messages in thread

From: Robert.Farrugia@go.com.mt @ 2001-02-16 08:00 UTC (permalink / raw)
  To: Denis Pugnere <Denis.Pugnere@igh.cnrs.fr>; +Cc: pgsql-admin


Hi,

I'm using the Logical Volume Manager with the 2.4.1 (sorry for forgetting
to specify the exact version).  What I am now suspecting is memory.  Once I
downgraded to 128MB (from 384MB), this night the error did not show up.

What showed up was the "Error index_formtuple: data takes 21268 bytes: too
big".  If anyone has any ideas on this, please share them.

Thanks for the interest
Robert




                                                                                                                       
                    Denis Pugnere                                                                                      
                    <Denis.Pugnere@ig        To:     Robert.Farrugia@go.com.mt                                         
                    h.cnrs.fr>               cc:                                                                       
                                             Subject:     Re: Kernel panic error                                       
                    16/02/2001 09:50                                                                                   
                                                                                                                       
                                                                                                                       




Yesterday, the 15 February 2001 at 10:12, Robert.Farrugia@go.com.mt wrote :

 | Hi,
 |
 | I have been using Postgres 7.0.3 for the last few weeks.  I also use LVM
on
 | the 2.4 kernel.  I have very large tables (one of which is over 2GB).

are you using RAID ?
the 2.4 kernel seems to have some panics in specific cases.
try 2.4.1

 |
 | My problem is that lately (the last week), when doing maintenance
(normally
 | at night using a cronjob), the follwoing error has been repeatly given:
 |
 | Incorrect number of segments after building list
 | nr_segments is 8
 | counted segments is 2
 | Flag 1 0
 | Segement 0xc5fa74a0, blocks 8, addr 0x4007ffff
 | Kernel panic: Thats all folks. Too dangerous to continue.
 |
 | I have noticed yesterday that postgres gave the error below before the
 | kernel panic.  This error was given when vacuuming one of the smallest
 | tables in the database.
 | Error index_formtuple: data takes 21268 bytes: too big
 |
 | Anyone has any ideas what is happening ?
 |
 | Thanks
 | Robert
 |
 |

Denis Pugnère
---
Denis.Pugnere@igh.cnrs.fr | IGH/CNRS UPR 1142, 141 Rue de la Cardonille
Tel : +33 (0)4 9961.9909  |     34396 Montpellier Cedex 5, France
Fax : +33 (0)4 9961.9901  |           http://www.igh.cnrs.fr








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

* Re: Re: Kernel panic error
  2001-02-16 08:00 Re: Kernel panic error Robert.Farrugia@go.com.mt
@ 2001-02-16 16:07 ` Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 0 replies; 5+ messages in thread

From: Tom Lane @ 2001-02-16 16:07 UTC (permalink / raw)
  To: Robert.Farrugia@go.com.mt; +Cc: Denis Pugnere <Denis.Pugnere@igh.cnrs.fr>; pgsql-admin

Robert.Farrugia@go.com.mt writes:
> What showed up was the "Error index_formtuple: data takes 21268 bytes: too
> big".  If anyone has any ideas on this, please share them.

That says that you have a value too wide to fit in an index entry.  If
it was from data that fit before, then I think this must indicate that
data on-disk has gotten corrupted, causing some datum to appear longer
than it was --- and then when vacuum tries to rebuild the index entry
for that row, you get a failure.

In any case I'd say this is a consequence of your kernel-level problem.
It cannot be the cause.

			regards, tom lane



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

* Re: Re: Kernel panic error
  2001-02-16 08:00 Re: Kernel panic error Robert.Farrugia@go.com.mt
@ 2001-02-16 16:12 ` Peter Eisentraut <peter_e@gmx.net>
  2001-02-16 16:17   ` Re: [ADMIN] Re: Kernel panic error Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 1 reply; 5+ messages in thread

From: Peter Eisentraut @ 2001-02-16 16:12 UTC (permalink / raw)
  To: Robert.Farrugia@go.com.mt; +Cc: Denis Pugnere <Denis.Pugnere@igh.cnrs.fr>; pgsql-admin

Robert.Farrugia@go.com.mt writes:

> What showed up was the "Error index_formtuple: data takes 21268 bytes: too
> big".  If anyone has any ideas on this, please share them.

It means your data is too big to fit into an index.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/




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

* Re: [ADMIN] Re: Kernel panic error
  2001-02-16 08:00 Re: Kernel panic error Robert.Farrugia@go.com.mt
  2001-02-16 16:12 ` Re: Re: Kernel panic error Peter Eisentraut <peter_e@gmx.net>
@ 2001-02-16 16:17   ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Bruce Momjian @ 2001-02-16 16:17 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>

> Robert.Farrugia@go.com.mt writes:
> 
> > What showed up was the "Error index_formtuple: data takes 21268 bytes: too
> > big".  If anyone has any ideas on this, please share them.
> 
> It means your data is too big to fit into an index.

Good case in point.  Here is a typical email.  Here is a difficult/rare
problem that should be appearing on the mailing lists.  Those easy
questions are pretty much gone, as far as I can tell.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



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


end of thread, other threads:[~2001-02-16 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-15 09:12 Kernel panic error Robert.Farrugia@go.com.mt
2001-02-16 08:00 Re: Kernel panic error Robert.Farrugia@go.com.mt
2001-02-16 16:07 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-02-16 16:12 ` Peter Eisentraut <peter_e@gmx.net>
2001-02-16 16:17   ` Bruce Momjian <pgman@candle.pha.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox