openresty / openresty/lua-resty-redis

Lua tcp socket read timed out

Open
#93 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
2k
Forks
447
Avg merge
2h 24m
Merged PRs (30d)
3

Description

We see a lot of these errors in our nginx log file. Once in a while, the nginx server starts choking and stops serving the incoming request. We have to restart nginx servers to get them back live.

*41417426420 lua tcp socket read timed out

*41417426420 attempt to send data on a closed socket: u:0000000040267D38, c:0000000000000000, ft:0 eof:0

We have a redis connection in the code but i dont see any line number in the error so i doubt if it has something to do with redis. Thoughts?

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported nginx log messages and inspect how the Lua Redis connection is used in the application. The issue names no files, tests, reproduction steps, or acceptance criteria, so the failure would need to be reproduced and its scope clarified before implementation can begin.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx, redis
Domain
backend, databases, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.