Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17D11200BFE for ; Mon, 16 Jan 2017 17:06:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 164EB160B22; Mon, 16 Jan 2017 16:06:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 61BE6160B30 for ; Mon, 16 Jan 2017 17:06:34 +0100 (CET) Received: (qmail 54600 invoked by uid 500); 16 Jan 2017 16:06:33 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 54336 invoked by uid 99); 16 Jan 2017 16:06:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2017 16:06:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 81C87C0E36 for ; Mon, 16 Jan 2017 16:06:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id AQHS7_jCOf_3 for ; Mon, 16 Jan 2017 16:06:29 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 118B05F610 for ; Mon, 16 Jan 2017 16:06:29 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 167F8E7BF1 for ; Mon, 16 Jan 2017 16:06:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 70D5425289 for ; Mon, 16 Jan 2017 16:06:26 +0000 (UTC) Date: Mon, 16 Jan 2017 16:06:26 +0000 (UTC) From: "Rafa Haro (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1367) Alfresco Connector fails to complete seeding request, leading to hang (and postgresql deadlock) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 Jan 2017 16:06:35 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824204#comment-15824204 ] Rafa Haro commented on CONNECTORS-1367: --------------------------------------- Hi guys. Taking a quick look to Maurizio's Alfresco Indexer client, it seems that there isn't any defined socket timeout for requests. Http Client version is 4.3 which at this I moment I ignore if by default configures any timeout under the hood > Alfresco Connector fails to complete seeding request, leading to hang (and postgresql deadlock) > ----------------------------------------------------------------------------------------------- > > Key: CONNECTORS-1367 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1367 > Project: ManifoldCF > Issue Type: Bug > Components: Alfresco webscript connector > Affects Versions: ManifoldCF 2.5 > Reporter: Chalitha Perera > Assignee: Karl Wright > Attachments: jstack5.out > > > Alfresco connector gets stuck when processing documents around 35,000 and postgres manifold database in idle state and after days gets deadlock message > " > 2016-12-21 10:54:17.946 UTC >ERROR: deadlock detected > < 2016-12-21 10:54:17.946 UTC >DETAIL: Process 28072 waits for ShareLock on transaction 432231; blocked by process 28038. > Process 28038 waits for ShareLock on transaction 432227; blocked by process 28072. > Process 28072: UPDATE jobqueue SET failtime=NULL,checktime=$1,failcount=NULL,checkaction=$2 WHERE jobid=$3 AND (status=$4 OR status=$5) > Process 28038: SELECT needpriority FROM jobqueue WHERE id=$1 FOR UPDATE > < 2016-12-21 10:54:17.946 UTC >HINT: See server log for query details." > On separate note, ran ant load-pg and it was completed successfully. -- This message was sent by Atlassian JIRA (v6.3.4#6332)