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@xxxxxxxxx] Sent: Thursday, April 20, 2006 9:00 PM To: Mavinakuli, Prasanna (STSD) Cc: pgsql-general@xxxxxxxxxxxxxx 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@xxxxxxxxx> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.