openresty / openresty/lua-resty-dns

Getting "failed to set peer name: resource temporarily unavailable" when using the module

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
338
Forks
107
Avg merge
1h 29m
Merged PRs (30d)
2

Description

There is a dns resolving action that is performed pretty much on every request to the server. Eventually we start seeing the "failed to set peer name: resource temporarily unavailable". Any ideas why that could be happening?
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 module's DNS-resolving action and reproduce the failure across repeated requests to the server. Trace the resolver entry point and resource usage until the source of the error is identified; done should be a reproducible explanation with a narrowly defined fix or configuration change.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
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.