pingcap / pingcap/tiup

It seems some opened files are not closed

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

Nobody has claimed this yet.

status/TODO type/bug
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

Run tiup-cluster UI for a long time ( related PR: #706 )

  1. What did you expect to see?

Works well all time.

  1. What did you see instead?

It becomes abnormal after a long time. It says some files too many open files.

image

  1. What version of TiUP are you using (tiup --version)?

mater branch after v1.2.0

Contributor guide

Open the contributing guide

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 tiup-cluster UI entry point and the related PR #706, then reproduce the UI running for a long time. Trace opened files and confirm the issue is resolved when the long-running UI no longer reaches “too many open files” or becomes abnormal.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.