jrient
V2EX  ›  Redis

redis `read error on connection` 问题,麻烦解惑

  •  
  •   jrient · Oct 19, 2018 · 4566 views
    This topic created in 2771 days ago, the information mentioned may be changed or developed.

    情况是: 进程最初 初始化 redis 连接,然后跑跑跑(两三分钟之后),进行 redis hmset。 我不确定是否是由于初始化之后,连接等待时间太长而自动挂起。 后来发现,在初始化连接之后,进行任何操作,可以避免出现read error on connection的情况。

    不知哪位能详细的解释下。


    这个 hmset 并没有出现在 showlog 中, 且在那段时间内没有冲突的 showlog。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5643 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 03:35 · PVG 11:35 · LAX 20:35 · JFK 23:35
    ♥ Do have faith in what you're doing.