The windmill-indexer pod was crash-looping due to OOMKilled (exit 137) with a 2Gi memory limit. Two concurrent tantivy IndexWriters each allocating 300MB (600MB total), combined with large uncommitted batches of 50K jobs, caused memory exhaustion during indexing. - writer_memory_budget: 300MB → 150MB (2 writers = 300MB total) - commit_job_max_batch_size: 50,000 → 10,000 - commit_log_max_batch_size: 10,000 → 5,000 These can still be overridden via env vars or global settings. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Windmill Backend
This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.
Components
| name | description |
|---|---|
| windmill-api | The API server, exposing functionality to other components and the frontend |
| windmill-audit | Contains audit functionality, allowing different components to record important actions |
| windmill-common | Common code shared by all crates |
| windmill-queue | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| windmill-worker | The worker. Used to process and execute flows & jobs. |
| parsers | Contains code to parse signatures in different langauges. |
Compile sqlx for offline ci
cargo sqlx prepare --workspace -- --bin windmill --features enterprise