question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Cannot open at least XXX files, please raise maximum open file limit in OS.

See original GitHub issue

What happened?

When trying to use: ./chia plotters madmax -c.... I’m seeing the following error message: Cannot open at least XXX files, please raise maximum open file limit in OS.

I’ve adjusted the ulimit from the defaults. This issue doesn’t occur on the directly compiled version of the Mad Max plotter.

Version

Chia 1.6.0

What platform are you using?

macOS

What ui mode are you using?

CLI

Relevant log output

Cannot open at least XXX files, please raise maximum open file limit in OS.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
madMAx43v3rcommented, Nov 10, 2022

Strangely the code was already there but disabled… I enabled it again. Apparently it works on MacOS too.

1reaction
madMAx43v3rcommented, Oct 28, 2022

How many buckets are you using? Try a lower number.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Increase “Open Files Limit” - EasyEngine
Increase per-user and system-wide open file limits under linux. Check open-file limits system-wide, for logged-in user, other user and for running process.
Read more >
Troubleshooting "Too many open files" error
The maximum number of file handles is set to 65535 (the default), and it should be doubled - increased to 131070. To increase...
Read more >
Why does redis report limit of 1024 files even after update to ...
It makes sense that the ubuntu user isn't allowed to change max open files, but given the high ulimits I have tried to...
Read more >
Problems opening more than 10000 files in Perl - Stack Overflow
According to this article this is a default limitation of 32-bit Solaris. A program is normally limited to using the first 256 file...
Read more >
Why am I receiving maximum number of open files error ... - IBM
The proper way to change this is to update the system file which defines the limits. For example on Linux it is /etc/security/limits.conf....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found