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

ERROR in long_term_log.py #3742

Open
clementpeleman opened this issue Jan 22, 2025 · 0 comments
Open

ERROR in long_term_log.py #3742

clementpeleman opened this issue Jan 22, 2025 · 0 comments

Comments

@clementpeleman
Copy link

clementpeleman commented Jan 22, 2025

Running a self-hosted instance on 4 cores and 16GB of RAM.

My documents have indexed correctly, chat is working correctly but I noticed a slight delay forming after asking the questions recently. I checked the API server logs and noticed that after every chat question asked, the error

ERROR: 01/22/2025 03:35:21 PM long_term_log.py 49: Error during log rotation cleanup: [Errno 2] No such file or directory: '/tmp/long_term_log/llm_prompt/2025-01-21_17-54-39-729025.json'

appears about 20 times, following this error, which also appears about 20 times:

ERROR: 01/22/2025 03:35:22 PM long_term_log.py 47: Error deleting old log file /tmp/long_term_log/llm_prompt/2025-01-21_18-38-23-412271.json: [Errno 2] No such file or directory: '/tmp/long_term_log/llm_prompt/2025-01-21_18-38-23-412271.json'

This whole process takes about 2 seconds and appears between:
NOTICE: 01/22/2025 03:35:20 PM timing.py 41: _get_sections took 0.235 seconds
...
NOTICE: 01/22/2025 03:35:23 PM timing.py 41: filter_sections took 2.501 seconds

Might try removing all connectors and reindexing them. Probably will dig a bit into the python file to trace the error but my knowledge of the codebase is quite limited.

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