dify
dify copied to clipboard
api sever 运行一段时间就会卡顿
跟踪日志,有这一段CRITICAL,会是什么原因造成的?
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total LLM token usage: 0 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total embedding token usage: 0 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total LLM token usage: 0 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total embedding token usage: 4 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total LLM token usage: 0 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total embedding token usage: 4 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total LLM token usage: 0 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total embedding token usage: 4 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total LLM token usage: 0 tokens
docker-api-1 | INFO:llama_index.token_counter.token_counter:> [query] Total embedding token usage: 4 tokens
docker-api-1 | [2023-05-26 10:36:54 +0000] [20] [CRITICAL] WORKER TIMEOUT (pid:33)
docker-api-1 | [2023-05-26 10:36:56 +0000] [20] [WARNING] Worker with pid 33 was terminated due to signal 9
docker-api-1 | [2023-05-26 10:36:56 +0000] [37] [INFO] Booting worker with pid: 37
docker-api-1 | /app/api/controllers/service_api/wraps.py:20: LegacyAPIWarning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)