Hi Luca, I don't believe it does. I set the TCP keep alive values pretty high. Currently they are:
net.ipv4.tcp_keepalive_time = 28800 net.ipv4.tcp_keepalive_probes = 12 net.ipv4.tcp_keepalive_intvl = 7200 Unless there is another setting, then I am not aware of it at this time. Are there any other suggestions or ideas about why this would occur? I made one more change to the client application. To see if the idle time is a culprit, I created a timed job that runs every 30-seconds and performs a database query using a connection from the OrientGraphFactory connection pool. The result is that the same IOException still appears in the log. Amir. On Monday, March 9, 2015 at 8:54:59 PM UTC-5, Lvc@ wrote: > > Hi Amir, > Do your OS kill idle socket connections? > > Lvc@ > > > On 8 March 2015 at 17:02, Amir Khawaja <[email protected] <javascript:>> > wrote: > >> Hello Everyone. I have a web application that connects to OrientDB 2.0.4. >> I am seeing the following errors in my application when it sits idle for a >> little while: >> >> com.orientechnologies.common.log.OLogManager log >> WARNING: Caught I/O errors from Not connected (local socket=?), trying to >> reconnect (error: java.io.IOException: Channel is closed) >> Mar 08, 2015 3:45:46 PM com.orientechnologies.common.log.OLogManager log >> WARNING: Connection re-acquired transparently after 272ms and 1 retries >> to server 'server-name/database-name': no errors will be thrown at >> application level >> >> This in turn severely affects the performance of the application even >> though it is able to reconnect to the OrientDB cluster. The error keeps >> appearing in the client application log until I restart the client >> application. I am hosting in Azure VMs using CentOS 7 and the Tinkerpop >> Blueprints library. I am using OrientGraphFactory on the client side with a >> min pool size of 100 and max pool size of 200. I have tried this with a min >> pool size of 1 and max pool size of 10 as well with the same result. Here >> is my Tinkerpop maven dependencies for the client application: >> >> <properties> >> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> >> >> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> >> <java.version>1.8</java.version> >> <blueprints.version>2.6.0</blueprints.version> >> <orientdb.version>2.0.4</orientdb.version> >> </properties> >> >> <dependency> >> <groupId>com.tinkerpop.rexster</groupId> >> <artifactId>rexster-core</artifactId> >> <version>${blueprints.version}</version> >> <scope>provided</scope> >> <exclusions> >> <exclusion> >> <artifactId>commons-logging</artifactId> >> <groupId>commons-logging</groupId> >> </exclusion> >> </exclusions> >> </dependency> >> <dependency> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-core</artifactId> >> <version>${orientdb.version}</version> >> </dependency> >> <dependency> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-graphdb</artifactId> >> <version>${orientdb.version}</version> >> </dependency> >> <dependency> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-enterprise</artifactId> >> <version>${orientdb.version}</version> >> </dependency> >> <dependency> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-lucene</artifactId> >> <version>${orientdb.version}</version> >> </dependency> >> <dependency> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-server</artifactId> >> <version>${orientdb.version}</version> >> </dependency> >> <dependency> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-tools</artifactId> >> <version>${orientdb.version}</version> >> <exclusions> >> <exclusion> >> <groupId>com.orientechnologies</groupId> >> <artifactId>orientdb-object</artifactId> >> </exclusion> >> </exclusions> >> </dependency> >> >> Is this a bug with Tinkerpop Blueprints? Please advise. Thank you. >> >> Amir. >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
