R: R: R: R: R: R: [BUGS] BUG #6342: libpq blocks forever in "poll" function

2012-01-19 Thread Andrea Grassi
[mailto:t...@sss.pgh.pa.us] Inviato: mercoledì 21 dicembre 2011 17.01 A: Andrea Grassi Cc: 'Craig Ringer'; harry...@comcast.net; 'Pg Bugs'; 'Alvaro Herrera' Oggetto: Re: R: R: R: R: R: [BUGS] BUG #6342: libpq blocks forever in "poll" function "Andrea Grassi"

Re: R: R: R: R: R: [BUGS] BUG #6342: libpq blocks forever in "poll" function

2011-12-21 Thread Tom Lane
"Andrea Grassi" writes: > In internet I searched for detailed specifications of poll/select system > functions but I didn't understand one thing, that is which one of the 2 > statement is true: > 1) poll/select wait only for FUTURE modifications of ready-read state of > sockets > 2) poll/select ch

R: R: R: R: R: [BUGS] BUG #6342: libpq blocks forever in "poll" function

2011-12-21 Thread Andrea Grassi
Then I meet my colleague who is the systems engineer that takes care of the machine and I explain your hints (suggested by Craig Ringer) about how detect and log kernel issues. If it can be useful, the content of file /proc/$pid/wchan in the moment of block is "_stext". In the meantime, to be sure