Loading runs normally for minutes, then HTTP 500 arrives. The pod is ready, /readyz answers – but the volume has no room left for a new page in the write-ahead log.
Symptom
~/werkbank/bin/python ballast.py http://10.43.151.237:6333
540000 Punkte nach 577 s
560000 Punkte nach 596 s
nach 560000 Punkten und 597 s abgelehnt:
Unexpected Response: 500 (Internal Server Error)
Raw response content:
b'{"status":{"error":"Service internal error: No space left on device: WAL buffer size exceeds available disk space"},"time":0.009276535}'
A test program (German output) writes about 940 points per second into a collection on a 2 GiB volume until Qdrant refuses.
Diagnosis
The log shows the order – optimizer errors first, the rejected writes five minutes later.
kubectl -n qdrant logs qdrant-0 -c qdrant --since=15m 2026-12-04T17:41:18.723596Z ERROR collection::update_workers::optimization_worker: Optimization error: Service runtime error: Not enough space available for optimization, needed: 540.70 MiB, available: 495.39 MiB 2026-12-04T17:46:23.745861Z ERROR qdrant::actix::helpers: Error processing request: Service internal error: No space left on device: WAL buffer size exceeds available disk space
Causes
volumeThe PVC is too small for data, WAL and optimizer
While rebuilding a segment, the optimizer temporarily needs room for the old and the new version. Without it, rearranging fails first, and later appending to the write-ahead log fails too.
HelmSize changed in the chart – nothing happens
The volume size in the chart only applies when a PVC is first created. A helm upgrade fails with "spec.volumeClaimTemplates: Invalid value", and the volume stays full.
Fix
Don't: Trust the pod status or /readyz. Both stay green during the whole incident – monitor the volume fill level and the optimizer errors in the log.
Vector database engineering on Kubernetes, day 3: storage – when the closed stacks are full.
Go to day 3 →
FAQ
Why do writes still succeed minutes after the first error?
At first only the optimizer fails, because it needs extra room. Appending to the WAL works until there is no room for that either.
Does the pod have to restart for the expansion?
No. With Longhorn and allowVolumeExpansion, the lab volume grew from 2 to 4 GiB while it was running.