Help Center/ Distributed Cache Service/ User Guide (Ankara Region)/ FAQs/ Client and Network Connection/ What Should I Do If Access to DCS Fails After Server Disconnects?
Updated on 2024-11-26 GMT+08:00

What Should I Do If Access to DCS Fails After Server Disconnects?

Analysis: If persistent connections ("pconnect" in Redis terminology) or connection pooling is used and connections are closed after being used for connecting to DCS instances, errors will be returned at attempts to reuse the connections.

Solution: When using pconnect or connection pooling, do not close the connection after the end of a request. If the connection is dropped, re-establish it.