Fw: Spin lock error

From: "Differentiated Software Solutions Pvt(dot) Ltd(dot)" <diffs(at)vsnl(dot)com>
To: <scrappy(at)hub(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Fw: Spin lock error
Date: 1999-12-15 05:13:18
Message-ID: 001601bf46bb$2387e340$8ab6c5cb@nagma
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Thanks for responding.
This is a copy of my message which has all details which I could think of to
start with.
I would be glad to receive any suggesstions.

Bye,

Murali
-----Original Message-----
From: Differentiated Software Solutions Pvt. Ltd. <diffs(at)vsnl(dot)com>
To: pgsql-general(at)postgresql(dot)org <pgsql-general(at)postgresql(dot)org>;
vadim(at)krs(dot)ru <vadim(at)krs(dot)ru>; pgsql-interfaces(at)postgresql(dot)org
<pgsql-interfaces(at)postgresql(dot)org>
Cc: Kimi <kimi(at)intercept(dot)co(dot)in>
Date: 11 December 1999 12:33
Subject: Spin lock error

>Hi,
>
>We are getting spinlock errors under the following conditions
>
>Background :
>We have developed a high performance application using postgres database
a
>3rd party application server).
>This application should be scalanble to server 50 requests a second.
>Application is written in perl 5.005 using DBI-1.12, DBD-Pg 0.92 and Redhat
>linux 6.0
>A request consists of one singleton select on a table of 200,000 rows on
>it's primary key, a heavy duty cursor which is a 4 table join but which
>returns 100 rows from tables containing maximum of 250 rows, a light sql
>opening a cursor on a table containing 500 rows, 2 inserts into tables
which
>don't have primary key.
>
>We are connecting to the database with autoconnect off.
>
>Problem description :
>On a light load there are no problems. As we have increased the load on the
>application, the requests get piled up. We keep monitoring the requests
>getting piled up using ps ax | grep post.
>Somewhere when the requests crosses 20(ps returns more than 20 rows)....
>suddenly postmaster comes down !! In the server log the following message
is
>written out.
>FATAL: s_lock(4000b011) at spin.c:125, stuck spinlock. Aborting.
>
>FATAL: s_lock(4000b011) at spin.c:125, stuck spinlock. Aborting.
>
>FATAL: s_lock(4000b011) at spin.c:125, stuck spinlock. Aborting.
>
>FATAL: s_lock(4000b011) at spin.c:125, stuck spinlock. Aborting.
>
>FATAL: s_lock(40179f44) at bufmgr.c:490, stuck spinlock. Aborting.
>After this postmaster shutdown.
>
>One observation If we try to recreate this in another linux machine...
>multiple postmasters run in the linux machine when the number of requests
>become more.
>I'm also attaching a file containing 'ps' at the instance postmaster
>crashed.
>
>Can anybody please help
>
>Thanks and regards,
>
>Murali
>
>Differentiated Software Solutions Pvt. Ltd.,
>176, Gr. Floor, 6th Main
>2nd Block RT Nagar
>Bangalore - 560 032
>India
>Ph: 91 80 3431470
>

Attachment Content-Type Size
ps.txt text/plain 3.6 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 1999-12-15 05:26:48 Re: Fw: Spin lock error
Previous Message Ed Loehr 1999-12-15 05:06:21 Re: [GENERAL] Mailing Lists