Re: [HACKERS] postmaster in a tight loop

2008-02-12 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > I find it a bit worrying that the postmaster is calling that syscall at > all. Yeah. Misguided thread-aware library perhaps? Next time please try to get a stack trace. regards, tom lane ---(end of broa

Re: [HACKERS] postmaster in a tight loop

2008-02-12 Thread Alvaro Herrera
Dan Langille wrote: > Looking at ktrace output, I saw a lot of this: > > 1172 postgres CALL kse_release(0xbfbfd500) > 1172 postgres RET kse_release -1 errno 22 Invalid argument Humm, kse_release seems related to multithreading. Or so says http://nixdoc.net/man-pages/FreeBSD/kse_release.2.html

[HACKERS] postmaster in a tight loop

2008-02-12 Thread Dan Langille
Folks, I encountered a situation on Sunday night where the postmaster was in a tight loop. That's the conclusion we reached, but have no real proof. I also have no idea how to reproduce this situation. This post is just an FYI in case it helps. The laptop was running hot so I looked ar