Skip to content

unix error: Too many open files #250

@hackermd

Description

@hackermd

When I load images in Python via Vips.Image.new_from_file() I get the following error message when I'm trying to load the 254th image (the first 253 images are loaded without problems):

File "/Users/Markus/anaconda/lib/python2.7/site-packages/gi/overrides/Vips.py", line 398, in vips_image_new_from_file
gi.overrides.Vips.Error: No known loader for "TIFF/150117MPcycle_01_s0254_r12_c11_RFP_C02.png".
vips__file_open_read: unable to open file "TIFF/150117MPcycle_01_s0254_r12_c11_RFP_C02.png" for reading
unix error: Too many open files
VipsForeignLoad: "TIFF/150117MPcycle_01_s0254_r12_c11_RFP_C02.png" is not a known file format

I have already tried to increase the maximum number of open files on my system (OSX 10.9.5) and also via Vips.cache_set_max_files() - without success.

Weirdly, my colleague doesn't get the error although he uses the exact same code, same set of images and pretty much the same system configuration (OSX).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions