<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nuxeo DM 5.5 and PostgreSQL Locks in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326813#M13814</link>
    <description>&lt;P&gt;The error &lt;CODE&gt;Resetting connection&lt;/CODE&gt; means that connection to the database was lost and had to be reset. You also see things like &lt;CODE&gt;An I/O error occured while sending to the backend&lt;/CODE&gt; or &lt;CODE&gt;Connection timed out&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2012 14:23:12 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2012-05-11T14:23:12Z</dc:date>
    <item>
      <title>Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326808#M13809</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;We are using Nuxeo DM 5.5 with PostgreSQL 8.4.and we have a singular (almost for us)  behavior of the system. For long period of time Nuxeo works well, we are able to insert, upload delete document and so on. Then after a several operation the system do not respond, but the server (tomcat) is up and the database also. After some investigation we have noted that during the period where nuxeo do not respond there are some transaction running in the database that i think create some locks. After  10-15 minutes the transactions are closed and Nuxeo respond and .. incredible the last operation has been done correctly. Any suggestions in order to solve this issue..
I attach the evidence of locks during the session where Nuxeo do not respond. Apologies in case the image is too big.
Thanks in advance.
Giancarlo&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Capture_2.JPG" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2012 13:58:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326808#M13809</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-10T13:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326809#M13810</link>
      <description>&lt;P&gt;Please use the &lt;CODE&gt;jstack&lt;/CODE&gt; command to get a stack trace of the Nuxeo server while it's doing something unknown. Having the stack trace would help us understand what it's doing.&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2012 14:46:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326809#M13810</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-10T14:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326810#M13811</link>
      <description>&lt;P&gt;Here part of stack error, when happens the problem. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 11:38:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326810#M13811</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-11T11:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326811#M13812</link>
      <description>&lt;P&gt;Seriously, this was unreadable. Such a huge stack trace is not suitable for this site. I removed it. Please post it to an external site designed for pastes (pastebin.com for instance) or give us just an extract.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 12:17:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326811#M13812</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-11T12:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326812#M13813</link>
      <description>&lt;P&gt;Sorry&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 12:30:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326812#M13813</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-11T12:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326813#M13814</link>
      <description>&lt;P&gt;The error &lt;CODE&gt;Resetting connection&lt;/CODE&gt; means that connection to the database was lost and had to be reset. You also see things like &lt;CODE&gt;An I/O error occured while sending to the backend&lt;/CODE&gt; or &lt;CODE&gt;Connection timed out&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 14:23:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326813#M13814</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-11T14:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326814#M13815</link>
      <description>&lt;P&gt;Thanks very much. We will investigate in our infrastructure firewalls, etc&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 14:35:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326814#M13815</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-11T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326815#M13816</link>
      <description>&lt;P&gt;We have investigated in our infrastructure and yes we have some problem with firewalls that drops the connection after a certain period of time.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2012 13:44:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326815#M13816</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-15T13:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326816#M13817</link>
      <description>&lt;P&gt;To enable keep-alive on PostgreSQL connections you need to change:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;the datasources (&lt;CODE&gt;server.xml&lt;/CODE&gt; or &lt;CODE&gt;nuxeo.xml&lt;/CODE&gt; or the relevant templates) to add &lt;CODE&gt;tcpKeepAlive=true&lt;/CODE&gt; to the &lt;CODE&gt;&amp;lt;Resource&amp;gt;&lt;/CODE&gt; for your datasource(s),&lt;/LI&gt;
&lt;LI&gt;the repository configuration (&lt;CODE&gt;default-repository-config.xml&lt;/CODE&gt; or its template) to add &lt;CODE&gt;&amp;lt;property name="TcpKeepAlive"&amp;gt;true&amp;lt;/property&amp;gt;&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 15 May 2012 18:19:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326816#M13817</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-15T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326817#M13818</link>
      <description>&lt;P&gt;Thank you very much. In reality we already made this configuration, but the datasource related to the repository seems do not keep in consideration the property. The difference is that we have typed "tcpKeepAlive" instead "TcpKeepAlive". As soon as possible we will made this change, and try again.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2012 23:03:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326817#M13818</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-16T23:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326818#M13819</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2012 12:05:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326818#M13819</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-17T12:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326819#M13820</link>
      <description>&lt;P&gt;It works for me (the method &lt;CODE&gt;setTcpKeepAlive&lt;/CODE&gt; of the XA datasource is called (checked with a breakpoint) when I add &lt;CODE&gt;&amp;amp;lt;property name=&amp;amp;quot;TcpKeepAlive&amp;amp;quot;&amp;amp;gt;true&amp;amp;lt;/property&amp;amp;gt;&lt;/CODE&gt; to the repository config.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2012 14:28:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326819#M13820</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-21T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326820#M13821</link>
      <description>&lt;P&gt;Hi Florent, thank you very much for you support. But probably there are some settings wrong that we made. I setted custom/template that replace the postgres default. We have tested it changing the property password with one wrong, and Nuxeo raise an error of wrong password, so we are sure that Nuxeo is using our custum tempalte, but the property TcpKeepAlive has no effect. We have only one datasource that works fine with the tcpkeepalive property as mentioned in the previuos comment. The datasources XA do not recognize the TcpKeepAlive property.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 17:02:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326820#M13821</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-23T17:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326821#M13822</link>
      <description>&lt;P&gt;Short of breakpointing in &lt;CODE&gt;RepositoryBackend.initialize&lt;/CODE&gt; to see why the call to &lt;CODE&gt;BeanUtils.setProperty&lt;/CODE&gt; doesn't do what you want, I don't see how to debug this.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 17:29:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326821#M13822</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-23T17:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo DM 5.5 and PostgreSQL Locks</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326822#M13823</link>
      <description>&lt;P&gt;Solved.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2012 12:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-dm-5-5-and-postgresql-locks/m-p/326822#M13823</guid>
      <dc:creator>gianclo_Lori</dc:creator>
      <dc:date>2012-05-25T12:19:44Z</dc:date>
    </item>
  </channel>
</rss>

