On 12/29/2015 03:11 AM, Yevgeny wrote:
> Hello,
>
> I have a problem. Sometimes the whole sites stucks in the middle (doesn't
> matter which page is opened) because of some sql issue.
> When i reboot postresql it starts working good immediately.
> But when it's stuck i can see in the log that new and new queries are
> running, meaning it's stuck only for my session.
>
> What can be a reason and how can i solve this problem?
Without more information I do not see this as solvable, so:
Postgres version
OS
The 'site' is?
Framework?
Method of access to Postgres; JDBC, ODBC, Python, PHP, etc.
Define 'stuck'?
Is it always the same SQL issue and if so what is the query?
If not is it a similar class of issues?
What does the log show at the time the query hangs?
>
> Thank you
>
>
>
> --
> View this message in context: http://postgresql.nabble.com/Stucks-in-the-middle-tp5879395.html
> Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com