Describe the bug
After gortex daemon start --detach + gortex track completes indexing on a large workspace (~100 services, 20,000+ source files), the daemon becomes unresponsive:
gortex daemon stop hangs indefinitely (tested up to 5 minutes)
- All MCP tools and
gortex call CLI commands hang
~/.gortex/cache/daemon.sock exists but is 0 bytes — no listener
- Process shows state
UN (uninterruptible sleep) in ps aux
To Reproduce
- macOS 26.5 arm64 (Apple M1 Pro, 16 GB RAM)
- Gortex v0.61.4+447e66c (go1.26.4)
gortex daemon start --detach
gortex track /path/to/workspace (~20,000 source files)
- Wait for indexing to finish (~10-15 min)
gortex daemon stop → hangs
gortex call search_text --arg query="test" --arg limit=5 → hangs
Expected behavior
gortex daemon stop responds within seconds. CLI and MCP tools return results normally.
Environment
- OS: macOS 26.5 arm64 (Apple M1 Pro, 16 GB RAM)
- Gortex: v0.61.4+447e66c (go1.26.4)
Additional context
Describe the bug
After
gortex daemon start --detach+gortex trackcompletes indexing on a large workspace (~100 services, 20,000+ source files), the daemon becomes unresponsive:gortex daemon stophangs indefinitely (tested up to 5 minutes)gortex callCLI commands hang~/.gortex/cache/daemon.sockexists but is 0 bytes — no listenerUN(uninterruptible sleep) inps auxTo Reproduce
gortex daemon start --detachgortex track /path/to/workspace(~20,000 source files)gortex daemon stop→ hangsgortex call search_text --arg query="test" --arg limit=5→ hangsExpected behavior
gortex daemon stopresponds within seconds. CLI and MCP tools return results normally.Environment
Additional context
kill -9+ restart leads to store corruption, compounding the problemdaemon reloaddrops the workspace-config cache but nothing re-reads it; re-trackshort-circuits #320, log noise: periodic PASSIVE WAL checkpoint reports "checkpoint incomplete ... context deadline exceeded" with all-zero stats during bulk indexing #325