Number of open virtual files (~250000) exceeded

Open
#8,787 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, julia, matlab
Domain
backend

Research direction

Start with the linked GMT.jl issue 1797 and reproduce the failure by repeatedly calling a module that creates virtual files while keeping the GMT API alive, as in Julia or Matlab. No repository file or test is named; done means identifying whether the limit comes from GMT, the C runtime, or system limits and documenting a concrete direction.

Written by the indexing model from the issue text.

Description

bug

See this GMT.jl issue.

This is something that can only occur from externals, and maybe not from PyGMT because it restarts the GMT API very often. But in Julia or Matlab, where the GMT API structure is kept alive all the time, the error happens when we call a module that creates virtual files for > ~250000 times.

Now this clearly looks like a limit of something. Either in C compiler or system-limits. Anyone has an idea of what it might be? @ES-Solar?

Dominant language
C
Stars
997
Forks
420
Avg merge
13h 27m
Merged PRs (30d)
47

Getting set up

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.

More from GenericMappingTools/gmt

All issues in GenericMappingTools/gmt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.