Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aDyxD-0006mQ-JU for pgsql-sql@arkaria.postgresql.org; Tue, 29 Dec 2015 18:25:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aDyxC-0005Vw-E8 for pgsql-sql@arkaria.postgresql.org; Tue, 29 Dec 2015 18:25:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aDywC-0004Fh-PT for pgsql-sql@postgresql.org; Tue, 29 Dec 2015 18:24:01 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aDyw5-0003Qa-Ex for pgsql-sql@postgresql.org; Tue, 29 Dec 2015 18:23:59 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 0294620612 for ; Tue, 29 Dec 2015 13:23:51 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 29 Dec 2015 13:23:52 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=GI2lFvrmeDj+IIeufqx4QF/XDbU=; b=NV234X gyizkm1TSNTA8OhEHDc7Ycw1qv7Svzf3uD+faD2RlRfqF5hTJz5glLqU8D1XByuz qp8pVcZRzaKOHvmtIZR7EDNTNsrC6qyPdZGHJbscnAmXzUiiq9kGS57FNvnssibQ 9eNXEAemjAeyOqbGhNZZSCYmfNNvvlPef4a6s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=GI2lFvrmeDj+IIe ufqx4QF/XDbU=; b=Asqvo2N0YJoUo7a+CsvssKrkYsFT2bxp2zGLWOs23Ugbc2T FeLyiqokikuj8ubaZtMKy6uv55y7rUvPi6RZJrlLG+R5zX1vjXyfur2UM31IVYt3 gMv0C0rbv0hX9GJwd5CDbZFjtfArf7U4wO6XR0LleoX2ED4vpCH9moXqM9Ik= X-Sasl-enc: GDzpR/ncLvU2+WMl98a4WRxnFQRneYXbK0VT061W5uYk 1451413431 Received: from killi.site (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 589B0C016C4; Tue, 29 Dec 2015 13:23:51 -0500 (EST) Subject: Re: Stucks in the middle To: Yevgeny , pgsql-sql@postgresql.org References: <1451387504879-5879395.post@n5.nabble.com> From: Adrian Klaver Message-ID: <5682CFDF.2030005@aklaver.com> Date: Tue, 29 Dec 2015 10:24:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1451387504879-5879395.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org 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 -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql