Why Qdrant insufficient storage errors stop writes and what to do first
When an ingestion job or application write fails with HTTP 507 or a ResourceExhausted error, the first question is whether search is down too. It is not. Qdrant resource quotas block writes that would consume more storage, and reads keep working, so existing search traffic continues to be served while the blocked writes fail. Treat the error as a capacity limit on new data, not as an outage of the cluster or its collections.
This page is for platform, SRE and data teams running self-hosted Qdrant 1.19 or later, where the quota configuration and the storage behind it are your responsibility. It covers which operations are blocked, how the release margin decides when writes resume, how to free space without damaging collections, and how to set limits that warn you before they block. The first step is to confirm which collection or deployment hit the limit and how much storage it is using, so you know whether the fix is cleanup, a larger limit, or more capacity.
Before changing anything, check the quota configuration against actual usage on each node. The Qdrant resource quotas documentation describes the settings that decide what is blocked and when writes resume. Two behaviors matter most in an incident. Point deletions are still allowed while the quota is exceeded, so deleting points is a legitimate way to recover space. Writes resume only after usage falls by the release_margin_percent, which defaults to 5, so deleting just enough to dip under the limit may not restart ingestion.
Confirm the exact limit and release margin in your own configuration files, and confirm whether your monitoring reports quota status per node or per collection. Those answers determine whether you need a temporary limit increase, a cleanup plan, or a change to ingestion schedules. The sections that follow cover the blocked operations, the safe recovery steps, and warning thresholds.
What quotas block and what keeps working
Qdrant resource quotas draw a line between operations that add storage and operations that do not. The cards below separate the blocked writes from the paths that keep serving traffic or free space, so you can plan ingestion and recovery before a limit is reached.
Storage-consuming writes are blocked
When collection usage is over the configured quota, Qdrant rejects writes that would consume more storage. In practice this covers upserts and other operations that add points or payload data. Before you rely on this for ingestion design, confirm the exact operation list in the quota documentation, since the boundary between a blocked write and an allowed one determines how your loaders should retry.
- Blocked when over quota
- Writes
Reads are never blocked
Search, retrieve and other read requests keep working while a collection is over its quota. A storage limit therefore degrades ingestion, not query service. Confirm this behavior in your Qdrant version and check that your application treats a failed write as a separate error path from a failed search, so an ingestion outage does not look like a retrieval outage on your dashboards.
Point deletions stay allowed
Deleting points remains permitted while usage is over the limit, which gives operators a supported way to reclaim space without raising the quota first. Deleted points may still occupy disk until Qdrant's optimizers compact the segments, so a deletion does not free space immediately. Plan the cleanup query, then watch usage fall before retrying writes.
Writes resume after the release margin
Writes do not resume the moment usage dips under the quota. They resume only after usage falls by the release margin, which defaults to 5 percent. That gap prevents writes from flapping on and off at the boundary. Set the margin deliberately in your quota configuration and confirm the default in your version before you size headroom for scheduled loads.
Quota docsIngestion jobs need a retry path
Because writes are rejected while reads continue, batch loaders and streaming consumers must distinguish a quota rejection from a transient network error. Design them to pause, alert, and retry only after usage has recovered, rather than dropping batches or retrying in a tight loop that adds load to a full node. Test this path against a deliberately small quota in a non-production cluster.
Which quota settings fit each storage risk
This table compares four ways to set storage controls for Qdrant: a hard quota alone, a quota with early warnings, split limits for shared and dedicated collections, and capacity alerts with no quota. Read each row for when the option fits, what it protects against, and what it costs in operator effort. The main takeaway is that a quota blocks writes only after the limit is reached, so most teams pair it with monitoring that warns well before that point.
| Option | When it fits | What it protects against | Trade-off to weigh |
|---|---|---|---|
| Hard quota only | Single-purpose clusters where any write that would exceed the storage ceiling is preferable to unbounded growth | Runaway ingestion or a bad re-embedding job filling the disk and destabilizing the node | Writes stop at the limit, so ingestion pipelines need a clear failure path and an on-call owner |
| Quota plus early warnings | Production clusters where a write stop would interrupt user-facing search or indexing jobs | Surprise write blocks, because alerts fire while there is still room to free space or expand | Requires a monitoring stack and thresholds set well below the quota, which someone must maintain |
| Separate limits for shared and dedicated collections | Deployments where one shared collection serves several teams or tenants alongside dedicated collections | One tenant consuming storage that starves others, or a dedicated workload being blocked by shared growth | More configuration to review, and the scope of each setting must be confirmed in the quota documentation before relying on it |
| No quota, capacity alerts only | Teams that prefer writes never to stop and can add disk or act quickly on alerts | Service interruption from blocked writes, at the cost of relying on humans to respond in time | A slow or missed alert can let the disk fill, so disk headroom and response runbooks carry the risk |
| Storage risk during deletions | Any option, because Qdrant allows point deletions while a collection is over its quota | Lets operators reclaim space without raising the limit, provided deletions are planned and tested | Deleted points may take time to free space, so confirm the timing in the optimizer documentation |
| Recovery after a block | Any option that uses a hard quota | Writes resume only after usage falls by the release margin, which defaults to 5 percent | Operators must free more than the margin or expect writes to stay blocked, so test the release point in staging |
| Configuration keys and scope | Every option, before any change reaches production | Avoids assuming a key applies per cluster, per node or per collection when it does not | Confirm exact key names, units and scope in the Qdrant resource quotas documentation for your version |
Why writes stay blocked until usage drops by the release margin
Writes do not resume the moment usage dips under the limit. Qdrant resource quotas resume blocked writes only after usage falls by release_margin_percent, which defaults to 5. The margin is measured against the quota itself, so a collection or deployment that is just below its limit remains write-blocked until it has dropped the full margin. Reads keep working throughout, and point deletions remain allowed while the quota is exceeded, which is the usual way to bring usage down.
Illustrative example: suppose a storage quota is set at 100 GB and usage reaches 101 GB, so writes are blocked. Deleting a few gigabytes brings usage to 99 GB. With the default margin, writes stay blocked, because usage has not fallen to the resume point of 95 GB. Only when usage reaches about 95 GB do new writes go through. The numbers are round for clarity, not measured values.
The margin exists to prevent flapping, where writes are accepted and then refused again within moments as each new batch pushes usage back over the line. Each cycle would produce partial batches, failed upserts and retries that pile up on the client side. A wider gap gives the optimizer room to reclaim deleted space and gives operators time to act. The trade-off is that a team freeing space expects writes to resume immediately and may keep retrying.
Before you rely on a specific threshold, confirm how the margin is applied in the Qdrant version you run, including whether it is measured against the quota value or the current usage, and where the setting lives in your configuration. If you want a different value, change release_margin_percent in the quota configuration, restart or reload as the docs for your version specify, and test the behavior with a non-production collection before changing production limits.
Decision path from a 507 error to resumed writes
The path starts when a client receives HTTP 507 or ResourceExhausted from Qdrant. The first check is whether the failed operation adds storage, since reads and point deletions still go through while the quota is exceeded. Next, the operator confirms whether usage is above the quota, then frees space by deleting points or raises the capacity limit. Writes resume only after usage falls by the release margin, which defaults to 5 percent, so check the margin before retrying.
Shows how a storage quota blocks writes while reads and deletions continue.
Freeing space safely when a quota blocks writes
This sequence confirms which collection and quota are blocking writes, protects the data with a snapshot, removes only points that are confirmed unneeded, and ends with usage below the release margin so writes can resume. It is designed to recover without losing data the application still depends on.
Confirm the blocked collection and quota
Start by identifying which collection is refusing writes and which quota triggered the block. Check the error response from the failed write, which returns HTTP 507 or ResourceExhausted depending on the client, then compare current storage use against the configured limit for that collection. Record the collection name, the quota setting and the current usage in your incident notes. Reads continue to work during this block, so confirm that searches still return results before changing anything. The step is complete when someone on the team can state the blocked collection, the limit and the current usage from a single record.
Snapshot the collection before any deletion
Before removing any points, create a collection snapshot so you have a restore point. Snapshots are tar archives of one collection on one node, so run the snapshot step for every node that holds the collection in a distributed cluster. Store the archive in a location outside the storage volume that is full, such as S3-compatible storage or another mounted system you control. Confirm the snapshot file exists, has a non-zero size and can be listed through the API. Do not proceed until this check passes, because a deletion you cannot reverse is the most common cause of permanent data loss in this situation.
Identify points that are safe to delete
Work with the application owner to list which points are no longer needed, for example expired records, duplicate embeddings from a failed import or vectors from a retired embedding model. Use a filter that matches only those points and run a count query first to confirm the number matches expectations. Check that no live query path, recommendation feature or audit requirement still depends on those points. Write down the filter and the count. Deleting data that the application still needs, or the only copy of a source record that cannot be regenerated, is the mistake this sequence exists to prevent, so get a written sign-off from the data owner before continuing.
Delete the confirmed points
Run the deletion using the filter you approved, and keep the operation tied to the exact collection named in step one. Qdrant's documentation states that point deletions are allowed while a collection is over its quota, which is what lets you free space without raising the limit. Record the operation result and the number of points removed. Deletion frees space gradually because deleted points remain on disk until optimizers clean them up, so do not expect usage to drop immediately. The step is complete when the API confirms the operation and the removed count matches the approved count.
Confirm usage with monitoring
Watch storage use on each node holding the collection through your metrics and dashboards rather than relying on a single API response. Check that disk usage is trending down after the deletion, and that the optimizer has begun reclaiming space. If usage stays flat, look at whether optimizations are paused or whether the deleted points are still waiting for cleanup. Record the before and after values for the blocked collection and the nodes involved. The step is complete when monitoring shows a sustained downward trend and you can explain it.
Wait for usage to fall by the release margin
Writes do not resume as soon as usage drops below the limit. According to the quota documentation, the block lifts only after usage falls by the release margin, which is set by release_margin_percent and defaults to 5. Calculate the target usage from your configured limit and that margin, and confirm the value in your own configuration because it may differ from the default. Do not retry the blocked writes until monitoring shows usage has reached that target. The step is complete when the release threshold is documented as reached and a single test write succeeds.
Retry writes and verify retrieval
Resume the blocked write job in small batches and check the response for each batch. After the writes finish, run representative search queries and compare results against your expected baseline, including filtered queries that use the fields you deleted from. Confirm that no application errors appear in logs and that the collection status returns to normal in monitoring. Record the final state, the snapshot identifier and the date in the incident record so the next person can trace the change. The step is complete when writes succeed, retrieval matches the baseline and the snapshot is retained according to your backup policy.
Who can change quotas and how to keep that controlled
Quota settings, point deletions and limit increases all change how a Qdrant cluster behaves under pressure, so each action needs a named owner. The cards below cover the access mechanisms Qdrant provides, the incident risk of shared admin credentials, and a change process for quota edits.
Separate admin and read-only keys
Qdrant supports admin and read-only API keys, so applications that only query collections do not need credentials that can change configuration or delete data. Give search services a read-only key and reserve the admin key for a short list of operators. Confirm in your own deployment which endpoints each key type can reach, because quota edits and point deletions are write operations that a read-only key should never be able to perform.
- Keys and TLS added
- v1.2.0
Per-collection JWT permissions
JWT-based access control lets you grant read or write permissions per collection, so an ingestion service can write to one collection without touching quota-relevant settings elsewhere. Scope tokens to the smallest set of collections each service needs. Before relying on this, test that a token with write access to one collection is refused on every other collection and on cluster-level operations.
- Per-collection JWT control
- v1.9.0
Audit logs for every quota change
JSON audit logging of authenticated API operations records who made each call, which lets you reconstruct when a quota was raised or points were deleted during an incident. Ship these logs to a store your security team controls and retain them under your own policy. Check that the log entries identify the caller clearly enough to tell a named operator from a service account.
- Audit logging added
- v1.17.0
Shared admin key risk during incidents
A single admin key shared across a team lets any holder delete points or raise limits during an outage, and the audit trail then shows only the key, not the person. Under pressure, responders may use the key they find in a runbook or secret store to free space quickly. Replace shared keys with individual credentials or a secrets-manager workflow that records who retrieved the key, and rotate any key that was widely distributed.
Change process for quota edits
Treat each quota change as a controlled change: a written request with the collection, the old and new value, the reason and the expected storage growth, then a second approver before the change is applied. Record the approval in your ticketing system and link it to the audit log entry. Apply the same process to raising a limit during an incident, with a shorter approval path and a review the next business day.
Confirm roles for each action
Before go-live, list each action (changing a quota, raising a limit, deleting points, rotating keys, restoring snapshots) and the role your deployment allows to perform it. Verify the list by attempting each action with each credential in a test cluster. DeployOpen can run this check as part of a security review, but the approved role map must come from your own governance owners.
Setting limits that warn before they block
This sequence sets a Qdrant resource quota in staging, ties its warning point to the capacity alerts your team already runs, and proves the block and recovery behave as expected before anything reaches production.
Confirm the Qdrant version supports quotas
Check the running Qdrant version against the release notes and the resource quotas documentation before writing any configuration. Confirm the version in each environment with the version endpoint or the image tag your deployment uses, and record it in the change ticket. Quotas must be available in the exact release you run in production, so do not assume a feature exists because a newer release does. Done when the staging and production version numbers match your intended upgrade path and the quota settings are confirmed in the documentation for that version.
Apply the quota in staging first
Set the quota settings in the staging configuration only, using the keys shown in the resource quotas documentation, and restart or reload the staging node as the docs describe. Keep production unchanged until the full test sequence passes. Record the exact configuration file and keys in version control so the same change can be reviewed and promoted. Done when staging starts cleanly and the configuration you committed matches the running settings reported by the node.
Pick the warning point from existing capacity alerts
Use the disk usage and growth dashboards and alerts your team already runs for the node volumes to choose where the warning fires. Set the warning to trigger at a point your current alerting can detect with enough time for someone to act, and agree the value with the storage owner rather than copying a number from a guide. Do not treat the quota limit itself as the warning, because writes stop at that point. Done when the warning threshold is written in your runbook, your alert rule references the same volume, and a test alert fires in staging.
Account for the release margin before writes resume
Read the release margin setting in the quota documentation and note its documented default. Writes stay blocked until usage drops below the quota by that margin, so a freed amount smaller than the margin will not restore writes. Include this in the runbook so responders do not repeatedly delete small amounts and conclude the fix failed. Done when the margin value in your staging configuration is recorded and the runbook states the recovery condition in plain terms.
Test a blocked write and a recovery in staging
Fill the staging collection until it passes the quota, then confirm that a write that adds storage is rejected with the expected error, while reads and searches still succeed. Delete points to bring usage down, confirm that deletions are still accepted while over the limit, and verify that writes resume only after usage falls far enough below the limit. Capture the error code and client behavior for your application team. Done when you have a written record of a rejected write, a successful read during the block, and a confirmed resumption of writes.
Confirm the alert fires before the block
Run the staging fill again with the warning alert active and confirm the warning notification reaches the on-call channel before writes are rejected. Check the alert timing and the message content, and adjust the warning point if it arrives too late for a responder to act. Done when the warning is observed in the notification channel earlier than the first rejected write, and the alert threshold in the runbook matches the tested value.
Document the runbook and promote to production
Write the runbook covering the warning meaning, the owner, the steps to free space safely, the release margin behavior, and the rollback for the quota setting. Have the storage owner and the application team review it, then apply the same reviewed configuration to production in a planned change window. Done when the runbook is stored with the configuration, production shows the same quota values as staging, and a production alert test has passed.
Limits to confirm in your environment before relying on quotas
Resource quotas stop writes at a threshold, but how much storage a limit actually measures depends on your topology, your disks and how fast Qdrant reclaims deleted space. The cards below list what to confirm in your own cluster and against the release notes for your version before you set a limit you expect to protect you.
Replication multiplies stored data
In distributed mode, each shard is kept in extra copies set by the replication factor, so a factor of 2 doubles the storage a collection occupies across the cluster. Confirm whether the quota you configure counts the logical data or the replicated bytes on each node, and size the limit against the copies you actually run. Test this with a non-production collection before trusting the threshold.
Distributed deployment docsConfirm the quota scope
Check whether a quota applies per collection or to the whole deployment, and whether it is evaluated per node or across the cluster. The answer decides which collection can exhaust shared space and whether one team's growth can block another team's writes. Ask for the scope in writing from your version's documentation and verify it with a test write.
Block storage only, monitored on the host
Qdrant needs block-level storage with a POSIX-compatible file system and does not run on NFS or S3-style object storage. Because the quota reads Qdrant's own accounting, a full host disk can still fail writes, logs or the operating system even when the quota shows room. Monitor free disk space on every node independently of Qdrant metrics and alert well before the disk fills.
Installation requirementsDeleted points keep their space
Deleting points marks them as removed, but the bytes are reclaimed only when the optimizers rewrite the affected segments. Deletions are still allowed while a collection is over its limit, yet usage may stay high for a time afterward. Confirm how long reclamation takes in your data pattern before assuming a delete will bring usage under the release margin.
Optimizer timing sets when space returns
Freed space appears only after the vacuum, merge and indexing optimizers run, and their thresholds and scheduling decide when that happens. Heavy write bursts can delay optimization, which keeps usage high longer than expected. Watch optimization activity during load tests and set quota alerts with enough lead time to cover those delays.
Check your version's release notes
Quota behavior, default values and API responses can change between minor releases, so the margin and error text you read in one version may not match another. Confirm the behavior on the exact version you run, and retest after each upgrade. Keep a short written record of the margin, scope and alert thresholds your team verified.
Qdrant release notesQuestions teams ask about quotas, cost and outside help
What does a Qdrant storage quota incident cost in effort?
The effort depends on how many collections and nodes are affected, whether writes stopped in a customer-facing path, and how much of the cleanup is routine. A single collection with a clear cause is usually a short internal task. Several collections, a cluster with uneven disk use, or an incident where application retries flooded the write path takes longer to unwind. The cost is mostly staff time for triage, deletion review, and checking that reads still behave. Ask any partner for a written scope that lists which nodes, collections and client paths are covered, and whether the work is a one-time fix or includes follow-up tuning of limits.
How long does recovery from a quota block take?
Recovery has two parts: freeing enough space, and waiting for usage to fall below the release point. Qdrant resource quotas block writes that consume more storage but never block reads, allow point deletions while over the limit, and resume writes only after usage falls by release_margin_percent, which defaults to 5. Timing therefore depends on how quickly deletions free space, how long background optimizers take to reclaim it, and whether the cause is still producing new writes. Confirm your release margin setting before planning, because a larger margin means writes stay blocked for longer after cleanup.
What does the internal team need to provide during an incident?
Your team needs access to the Qdrant API with an admin key, the cluster and node configuration, current disk and collection sizes, and the application code or client settings that write to Qdrant. Someone who owns the data must confirm which points can be deleted, because deletion is the fastest way to free space and it is not reversible without a snapshot. Your infrastructure team should also confirm the disk and volume layout on each node. Ask any outside party to state in writing which of these inputs they need before work starts and what they will not change without approval.
Can our team configure quotas and warnings without a partner?
Yes, if your team has an operator who can read the Qdrant quota documentation, change configuration, and test the result in a non-production environment. Setting limits that warn before they block usually takes the most judgment: you need a baseline of growth per collection, a threshold that leaves room for optimizer activity, and an alert routed to someone who can act. A partner is most useful for the first design and review, not for routine changes. Check the current quota options against the Qdrant version you run, since behavior can differ between releases.
How should client code handle ResourceExhausted and HTTP 507 errors?
Treat these responses as a signal to stop sending writes to the affected collection, not as a transient error to retry in a tight loop. Reads should keep running, so route search traffic normally and queue or reject writes with a clear status for operators. Use a bounded retry with backoff, cap the queue size, and emit a metric each time the error appears. Test the path by forcing a quota in a staging cluster, confirming that point deletions still succeed while the block is active, and checking that the queued writes resume cleanly after the margin is reached.
Does the open-source Qdrant engine include resource quotas?
The open-source engine is licensed under Apache-2.0 and is free to self-host, and the resource quota behavior described in the Qdrant documentation is part of how you configure a self-hosted deployment. Before relying on it, check the quota documentation for the exact settings and the version that introduced them in your environment, and test the block and release behavior in staging. Quotas do not replace capacity planning, monitoring, or snapshots, so treat them as one control in a larger storage plan.
When does a retainer or a scoped review make sense?
A scoped review suits a team that wants an independent check of its quota design, alert routing and client error handling before a launch or after an incident. A retainer suits a team that runs several Qdrant clusters, expects regular upgrades, or needs someone available to respond when storage pressure appears. Both are priced from a written scope, so the quote should list the systems covered, the response expectations, what is delivered, and what happens when the scope changes. Ask for a clear statement of what is one-time and what recurs.
How DeployOpen scopes and supports Qdrant quota work
DeployOpen plans and implements self-hosted Qdrant inside your own infrastructure, including the storage limits and quotas that decide when writes stop. We start by confirming which collections, nodes and storage volumes are in play, then build alerting and quota settings that warn your team before writes are blocked, and document the recovery steps your on-call staff will follow.
How we scope
- The written scope lists the Qdrant nodes, collections and storage volumes whose quota behavior is covered.
- Scope names which write paths, such as upserts and payload updates, must be tested against a full-quota state.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.
- The scope states which quota thresholds, warning levels and owners your organization has approved.
How we build
- We configure resource quotas and warning thresholds on your Qdrant nodes, using the release margin behavior in the Qdrant docs.
- We test that reads continue and point deletions succeed while a collection is over its limit.
- We build dashboards and alert rules that flag storage growth before writes are blocked in production.
- We set disk headroom and cleanup procedures on the volumes Qdrant uses in your environment.
How we hand over
- You receive a runbook covering HTTP 507 and ResourceExhausted responses, with the exact diagnosis steps for each.
- The runbook lists safe ways to free space, including deleting points, and what each step does to other data.
- We document the quota configuration, its owners and the change process for raising or lowering limits.
- Your engineers receive a walkthrough and a retest record showing the alerts and quota behavior working.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- A retainer can cover quota reviews as collections grow and as Qdrant releases change the quota behavior.
- Ask any quote to separate one-time build work from recurring retainer work and list what each includes.
- Confirm the Qdrant version your cluster runs before scoping, since quota behavior is documented per release.

