langgenius / langgenius/dify-plugin-daemon
OpenAI and Speech-to-Text blocks hang when running STT workflow in `dify-plugin-daemon` on Kubernetes
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 459
- Forks
- 313
- Avg merge
- 5h 17m
- Merged PRs (30d)
- 5
Description
Environment
- Deployment: Kubernetes
- Runtime Version:
0.0.7-local
Problem Description
We are encountering an issue where OpenAI blocks become unresponsive when a workflow involving the Speech-to-Text (STT) block is executed. Additionally, the workflow containing the STT block itself hangs indefinitely and does not return any results.
Observations
- When the
STTworkflow is running, all concurrent or subsequentOpenAIblock executions appear to be blocked. - Pod metrics indicate that the relevant process within the
dify-plugin-daemonpod consumes 1 full CPU core during this state. - This behavior leads us to suspect that the daemon might be single-threaded or facing a bottleneck related to concurrent processing, particularly when handling
STToperations.
Questions
- Is there a known issue or potential reason why the Speech-to-Text (
STT) block would cause otherOpenAIblocks to hang and fail to complete itself? - What are the recommended practices or configurations for deploying and managing the
dify-plugin-daemonon Kubernetes, potentially including considerations for scaling or concurrency to handle workloads likeSTT?
Thank you for your support.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the Kubernetes deployment and the STT workflow described in the report, then inspect how concurrent OpenAI and STT executions are handled by dify-plugin-daemon. Done means identifying the hang and CPU bottleneck and documenting a reproducible fix or deployment or concurrency recommendation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100