Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyextract: too many open files #4

Open
remytms opened this issue Mar 20, 2024 · 0 comments
Open

pyextract: too many open files #4

remytms opened this issue Mar 20, 2024 · 0 comments

Comments

@remytms
Copy link

remytms commented Mar 20, 2024

When trying to use pyextract over a larger area I get the following errors:

$ python3 pyextract.py -g -i workingdir/in/osm/seamarks_planet.osm -o workingdir/ -y_min 150 -y_max 200 -x_min 230 -x_max 280
...
generate config file for command "osmium extract": workingdir/in/osm/seamarks_planet.osm
input file: workingdir/in/osm/seamarks_planet.osm
output dir: workingdir
x_min=230, x_max=280, y_min=150, y_max=200, z=9
2024-03-20 09:32:13,786 - pyextractr - INFO - generation failed outfile: outfile
2024-03-20 09:32:13,788 - pyextractr - ERROR - Open failed for 'workingdirosm-extracts/231-170-9.osm': Too many open files
...

I seams that we open too many file at once.

@stevo01 If you agree, I can be in charge of fixing that and making a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant