[3.5b1+ (ArrayElementSet)] Error: Max open file count exceeded
-
Recently getting these errors sometimes during my pre-print macro is running (that levels the bed, creates a mesh etc)
What does it mean? How can I fix it? The file it complains about is not always the same, sometimes it's related to the TC coupler, sometimes this, sometimes other random macros that might be called...
Error: Max open file count exceeded. Warning: Macro file /macros/ToolheadDisplay/8x8ProgressIndicator not found
So far it didn't really cause any issues, but I'm sure that's just a matter of time until it denies a macro that is actually important
-
@Diamondback it means what it says. Are you running a lot of deeply nested macros?
-
@dc42 Depends on what a lot means? Let me see...
- Pre-Print: 4 levels max
- daemon: 4 levels max
- The actual print file
- Filament settings: 2 max
What is the current limit?
-
@Diamondback 10 open files max.
-
@chrishamm I guess that lines up with my numbers above then... Can this be increased in some way?
-
@Diamondback I can increase it on Duet 3 in RRF 3.5beta3.
-
@dc42 Cool, that would be great. If there's some bad side-effect that you don't want imposed on all users, I'd also be happy to have some parameter in config.g or so.
-
@Diamondback I had to fix and rebuild 3.5beta2 anyway, so I've increased max open files to 20 on Duet 3 boards in beta2.
-
@dc42 As expected, the issue went away with 3.5b2, thanks for the help
-
-
-
@dc42 I'm getting the "Max Open Files Exceeded" alert upon system startup. Duet-2 board running 3.50-b4. This seems to be new unless I've just never noticed it before. I have a total of 16 macros.
Doesn't seem to have any operational impact. -
@Ethelred please start a new issue. That is a different issue to the one being discussed