This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2084 from aiven/issue-1985-troubleshoot-redis-con…
…nection-issues redis: how to troubleshoot connection issues
- Loading branch information
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Troubleshooting common issues | ||
============================= | ||
.. tableofcontents:: |
21 changes: 21 additions & 0 deletions
21
docs/products/redis/troubleshooting/troubleshoot-redis-connection-issues.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Troubleshoot Redis®* connection issues | ||
###################################### | ||
|
||
Discover troubleshooting techniques for your Redis®* service and check out how to resolve common connection issues. | ||
|
||
Important notes | ||
--------------- | ||
By default :doc:`Aiven for Redis® uses SSL connections</docs/products/redis/howto/manage-ssl-connectivity>` and these connections are closed automatically after 12 hours. This is not a parameter that can be changed. Aiven also sets the ``redis_timeout`` advanced parameter to 300 seconds by default. | ||
|
||
Some Redis®* connections are closed intermittently | ||
-------------------------------------------------- | ||
When experiencing connection issues with your Redis®* service, here are some common things to check: | ||
- Some Redis®* clients do not support SSL connections. It is recommended to check the documentation for the Redis®* client being used to ensure SSL connections are supported. | ||
- If you are noticing older connections terminating, you should check to see what the value is configured for the :doc:`redis_timeout advanced parameter</docs/products/redis/reference/advanced-params>`. This parameter controls the timeout value for idle connections. Once the timeout is reached, the connection is terminated. | ||
|
||
Methods for troubleshooting connections | ||
--------------------------------------- | ||
|
||
A great way to troubleshoot connection issues is to arrange for a packet capture to take place. This can be achieved with tools like `Tcpdump <https://www.tcpdump.org/>`_ and `Wireshark <https://www.wireshark.org/>`_. This allows you to see if connections are making it outside your network to the Aiven for Redis®* instance. | ||
|
||
Another tool you can use to help diagnose connection issues is the Socket Statistics CLI tool which dumps socket statistics. |