scala - Broken pipe exceptions from Redis client Jedis -


we have redis client calls play framework application. redis calls being made actor using akka schedular. scheduler runs every 60 secs makes redis calls along other jdbc calls. after scheduler has run few mins start seeing following log files , app stops responding redis client calls. first encounter redis pointers, appreciated.

redis.host = localhost  redis.port = 6379  redis.timeout = 10  redis.pool.maxactive =110  redis.pool.maxidle = 50  redis.pool.maxwait = 3000  redis.pool.testonborrow = true  redis.pool.testonreturn = true  redis.pool.testwhileidle = true  redis.pool.timebetweenevictionrunsmillis = 60000  redis.pool.numtestsperevictionrun = 10  exception details:  redis.clients.jedis.exceptions.jedisconnectionexception: java.net.socketexception: broken pipe     @ redis.clients.jedis.connection.flush(connection.java:69) ~[redis.clients.jedis-2.3.0.jar:na]     @ redis.clients.jedis.jedispubsub.subscribe(jedispubsub.java:58) ~[redis.clients.jedis-2.3.0.jar:na] ............     @ akka.actor.actorcell.receivemessage(actorcell.scala:498) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]     @ akka.actor.actorcell.invoke(actorcell.scala:456) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]     @ akka.dispatch.mailbox.processmailbox(mailbox.scala:237) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]     @ akka.dispatch.mailbox.run(mailbox.scala:219) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]     @ akka.dispatch.forkjoinexecutorconfigurator$akkaforkjointask.exec(abstractdispatcher.scala:386) [com.typesafe.akka.akka-actor_2.10-2.2.0.jar:2.2.0]     @ scala.concurrent.forkjoin.forkjointask.doexec(forkjointask.java:260) [org.scala-lang.scala-library-2.10.3.jar:na]     @ scala.concurrent.forkjoin.forkjoinpool$workqueue.runtask(forkjoinpool.java:1339) [org.scala-lang.scala-library-2.10.3.jar:na]     @ scala.concurrent.forkjoin.forkjoinpool.runworker(forkjoinpool.java:1979) [org.scala-lang.scala-library-2.10.3.jar:na]     @ scala.concurrent.forkjoin.forkjoinworkerthread.run(forkjoinworkerthread.java:107) [org.scala-lang.scala-library-2.10.3.jar:na] caused by: java.net.socketexception: broken pipe     @ java.net.socketoutputstream.socketwrite0(native method) ~[na:1.7.0_51]     @ java.net.socketoutputstream.socketwrite(socketoutputstream.java:113) ~[na:1.7.0_51]     @ java.net.socketoutputstream.write(socketoutputstream.java:159) ~[na:1.7.0_51]     @ redis.clients.util.redisoutputstream.flushbuffer(redisoutputstream.java:31) ~[redis.clients.jedis-2.3.0.jar:na]     @ redis.clients.util.redisoutputstream.flush(redisoutputstream.java:223) ~[redis.clients.jedis-2.3.0.jar:na]     @ redis.clients.jedis.connection.flush(connection.java:67) ~[redis.clients.jedis-2.3.0.jar:na]     ... 15 common frames omitted 

the problem time out , client used subscribe timed out / got dc ed.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -