redis-cli disconnects after brief inactivity?

179 views
Skip to first unread message

Matt Keranen

unread,
Jul 1, 2013, 11:57:25 AM7/1/13
to redi...@googlegroups.com
redis-cli v2.6.14 on Centos 6.3 (local to the redis-server daemon)  "disconnects" on its own after only a few minutes of inactivity.

For example, if I run "info memory" (and see expected output), don't touch the client for  >1 but <5 minutes, and execute "info memory" again, the client exits to a bash prompt without any additional messages. It does not matter what the command run is, the disconnect is the same.

This does not happen when I am running the same version on OSX.

Is this an expected behavior, or is there an error occurring I am not seeing?

Josiah Carlson

unread,
Jul 1, 2013, 12:33:47 PM7/1/13
to redi...@googlegroups.com
Are you connecting to the same Redis server from your OSX machine? If not, have you checked your Redis configuration to verify that the server isn't timing out connections?

 - Josiah


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matt Keranen

unread,
Jul 1, 2013, 1:27:47 PM7/1/13
to redi...@googlegroups.com
Yes, silly me. I did not think I had this configured on the dev server:

# Close the connection after a client is idle for N seconds (0 to disable)
timeout 300
Reply all
Reply to author
Forward
0 new messages