Re: HUGE Stack space is gettiing consumed

From: "Mavinakuli, Prasanna (STSD)" <prasanna(dot)b-m(at)hp(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>
Cc: "Mavinakuli, Prasanna (STSD)" <prasanna(dot)b-m(at)hp(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: HUGE Stack space is gettiing consumed
Date: 2006-04-22 03:15:49
Message-ID: E84C4F56CA80174D8834825116CF247F0276F44B@bgeexc05.asiapacific.cpqcorp.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello Martijin,

I have one more doudt ..while building libpq.so we are not specifying

--enable-thread-safety

Will it make any difference..?

Thx,
Prasanna.
-----Original Message-----
From: Mavinakuli, Prasanna (STSD)
Sent: Friday, April 21, 2006 5:46 PM
To: 'Martijn van Oosterhout'
Subject: RE: [GENERAL] HUGE Stack space is gettiing consumed


Hello Martijin,

Here is System call trace ..
Details http://phpfi.com/114019
Working V/s Non-Working http://phpfi.com/114021 (deleted obv art from
above one)

Please go through it..

Thx,
Prasanna.
-----Original Message-----
From: Martijn van Oosterhout [mailto:kleptog(at)svana(dot)org]
Sent: Thursday, April 20, 2006 9:00 PM
To: Mavinakuli, Prasanna (STSD)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] HUGE Stack space is gettiing consumed

On Thu, Apr 20, 2006 at 08:20:30PM +0530, Mavinakuli, Prasanna (STSD)
wrote:
>
> Hello Martijin,
>
> I am not able to make it ..Code what u sent is *not* giving desired
> result..
> That is -when we try to fetch huge data in a thread routine it says
> "could not receive data from server: Error 0"
> If it was in main thread then it goes thorugh..I.e It's able to get
> the huge data.

Well, I don't understand. There's no interesting difference between the
code I sent and the code you sent...

> Will send the tusc output (stack trace)

Not stack trace, strace which is a system call trace. Don't forget -f to
trace the threads also.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability
to litigate.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wes 2006-04-22 06:20:49 Unexplained lock creating table
Previous Message Bruce Momjian 2006-04-22 03:04:05 Re: COPY command documentation