On Fri, Dec 30, 2005 at 12:02:59PM +0300, Ilja Golshtein wrote: > Hello! > > I'm developing application uses PG as backend. > A recent stress test found out a serious trouble. Briefly, > libpq does not return control after COMMIT, while > commit actually happened Ok. Hmm, sounds like a race condition. Most important would be strace of postmaster and client at time of hang. If you have gdb and have compiled with debug, attaching to them both will pinpoint the exact line of code both a stuck on. From there we should be able to provide more advice. Have a nice day, -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
Attachment:
pgpHpzxU26cej.pgp
Description: PGP signature