FileSystemException: Cannot open file OS Error: Too many open files, errno = 24)

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the iOS failure described for version 3.4.1 while loading multiple image cache lists at once. Trace the cache-manager path associated with the reported libCachedImageData file and determine where the open-file limit is exceeded. Done means the image list loads without the errno 24 exception under concurrent cache loading.

Written by the indexing model from the issue text.

Description

🐛 Bug Report

Expected behavior

Load image list

Reproduction steps

More image cache lists are loaded at the same time

Configuration

Version: "3.4.1"

Platform:

  • 📱 iOS✅
  • 🤖 Android
    error
FileSystemException: Cannot open file, path = '/var/mobile/Containers/Data/Application/OI897JGR-7196-OI897-B008-OI897JGR/Library/Caches/libCachedImageData/9d864c1c4ef0.jpg' (OS Error: Too many open files, errno = 24)
Dominant language
Dart
Stars
810
Forks
510
Avg merge
2d 2h
Merged PRs (30d)
11

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.

More from Baseflow/flutter_cache_manager

All issues in Baseflow/flutter_cache_manager

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.