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

Too many open files #1012

Open
skopanev opened this issue Aug 29, 2024 · 2 comments
Open

Too many open files #1012

skopanev opened this issue Aug 29, 2024 · 2 comments

Comments

@skopanev
Copy link

Hi! Thanks for the nice library that solving many things!

Describe the bug
In my gitlab runner when I have 150+ images it says "too many open files" (on local machine works ok).
I see the problem is that you try to optimize all the images simultaneously.

It would be awesome if you could add a setting to set the maximum number of images to be processed simultaneously.

To Reproduce
Use 1 CPU 8GB ram droplet with docker to optimize more than 150 images

Thanks!

@skopanev
Copy link
Author

Some details.
There are 2 locations: opening config files, and then optimization itself.

image

@dc7290
Copy link
Owner

dc7290 commented Dec 9, 2024

Looking at the error details, it seems that the error is occurring during the copying of the configuration file, rather than during image optimization.
Also, I'm concerned that this process is being performed repeatedly.

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

2 participants