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

Logger error after running for several days with many runs #491

Open
corneels opened this issue Dec 2, 2024 · 0 comments
Open

Logger error after running for several days with many runs #491

corneels opened this issue Dec 2, 2024 · 0 comments

Comments

@corneels
Copy link

corneels commented Dec 2, 2024

I have a dev instance of Plombery that has been running for several days. It stalled at 64,447 runs due to the following error:

...\plombery\orchestrator\executor.py", line 101, in run
   logger = get_logger()
            ^^^^^^^^^^^^
...

OSError: [Errno 24] Too many open files: 'C:\\.....\.data\\runs\\run_64452\\logs.jsonl'

What can I do to prevent this error?

Should I be closing off a logger instance?

This issue may be related to #131.

As per the docs, I am obtaining a logger instance in each task using logger = get_logger().

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