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

[Bug]: Extra - Batch from directory stops at file #1000 #6662

Closed
1 task done
rafirafirafi opened this issue Jan 12, 2023 · 2 comments · Fixed by #12479
Closed
1 task done

[Bug]: Extra - Batch from directory stops at file #1000 #6662

rafirafirafi opened this issue Jan 12, 2023 · 2 comments · Fixed by #12479
Labels
bug Report of a confirmed bug

Comments

@rafirafirafi
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Extra - Batch from directory stops at file #1000, if there are more files in the folder they will not be processed

Steps to reproduce the problem

  1. Go to Extra - Batch from directory
  2. Specify a folder with more than 1000 pictures
  3. pictures > 1000 won't be processed

What should have happened?

Should process all files in folder

Commit where the problem happens

abc72d14dc6585f138339ccea4ac83d420043663

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

No response

Additional information, context and logs

No response

@rafirafirafi rafirafirafi added the bug-report Report of a bug, yet to be confirmed label Jan 12, 2023
@qodjf
Copy link

qodjf commented Jun 20, 2023

It is caused by too many open files. You can solve it by run ulimit -n 50000.

There should be a print in https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/postprocessing.py#L37.

Refer to https://stackoverflow.com/questions/18280612/ioerror-errno-24-too-many-open-files.

@catboxanon catboxanon added bug Report of a confirmed bug and removed bug-report Report of a bug, yet to be confirmed labels Aug 11, 2023
@catboxanon
Copy link
Collaborator

Fixed in #12479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of a confirmed bug
Projects
None yet
3 participants