05-10-2012 09:58 AM
Hi all,
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
05-10-2012 10:46 AM
Please use the jstack
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.
05-11-2012 07:38 AM
Here part of stack error, when happens the problem. Thanks in advance.
05-11-2012 08:17 AM
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.
05-11-2012 08:30 AM
Sorry
05-11-2012 10:23 AM
The error Resetting connection
means that connection to the database was lost and had to be reset. You also see things like An I/O error occured while sending to the backend
or Connection timed out
.
05-11-2012 10:35 AM
Thanks very much. We will investigate in our infrastructure firewalls, etc
05-15-2012 09:44 AM
We have investigated in our infrastructure and yes we have some problem with firewalls that drops the connection after a certain period of time.
05-15-2012 02:19 PM
To enable keep-alive on PostgreSQL connections you need to change:
server.xml
or nuxeo.xml
or the relevant templates) to add tcpKeepAlive=true
to the <Resource>
for your datasource(s),default-repository-config.xml
or its template) to add <property name="TcpKeepAlive">true</property>
.05-16-2012 07:03 PM
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.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.