Re: Printing backtrace of postgres processes
От
Andres Freund
Тема
Re: Printing backtrace of postgres processes
Дата
Msg-id
20201201033103.cebj56i3s57zytuy@alap3.anarazel.de
Ответ на
Re: Printing backtrace of postgres processes (Craig Ringer)
Список
Дерево обсуждения
Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Printing backtrace of postgres processes Dilip Kumar <dilipbalaut@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Robert Haas <robertmhaas@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Daniel Gustafsson <daniel@yesql.se>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Dilip Kumar <dilipbalaut@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes Dilip Kumar <dilipbalaut@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes "Andres Freund" <andres@anarazel.de>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Tom Lane <tgl@sss.pgh.pa.us>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes Andres Freund <andres@anarazel.de>
Re: Printing backtrace of postgres processes Craig Ringer <craig.ringer@enterprisedb.com>
Re: Printing backtrace of postgres processes vignesh C <vignesh21@gmail.com>
Hi, On 2020-11-30 13:35:46 +0800, Craig Ringer wrote: > I find that when I most often want a backtrace of a running, live > backend, it's because the backend is doing something that isn't > passing a CHECK_FOR_INTERRUPTS() so it's not responding to signals. So > it wouldn't help if a backend is waiting on an LWLock, busy in a > blocking call to some loaded library, a blocking syscall, etc. But > there are enough other times I want live backtraces, and I'm not the > only one whose needs matter. Random thought: Wonder if it could be worth adding a conditionally compiled mode where we track what the longest time between two CHECK_FOR_INTERRUPTS() calls is (with some extra logic for client IO). Obviously the regression tests don't tend to hit the worst cases of CFR() less code, but even if they did, we currently wouldn't know from running the regression tests. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления