Skip to content

Commit

Permalink
Merge pull request #18079 from cockroachdb/document_serverless_auth_t…
Browse files Browse the repository at this point in the history
…hrottling

Updated serverless troubleshooting
  • Loading branch information
Amruta-Ranade authored Nov 22, 2023
2 parents 2ad51a6 + 208a192 commit f2f5174
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/current/cockroachcloud/troubleshooting-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ Using `sslmode=require` can leave your cluster vulnerable to MITM and impersonat

## CockroachDB {{ site.data.products.serverless }}

### Delayed cluster access

To enhance security, CockroachDB {{ site.data.products.serverless }} uses authentication throttling tracked per proxy and per (client IP, serverless cluster) pair. This means if multiple login attempts fail on the same client to the same cluster (for example, due to repeated incorrect passwords or brute force attacks), access is temporarily delayed, with the wait time increasing after each attempt (up to an hour).

<h4>Solution</h4>

If you are experiencing access issues, ensure that the password is correct. If the problem persists, [contact support](https://support.cockroachlabs.com/).

### Hanging or stuck queries

A hanging or stuck query using CockroachDB {{ site.data.products.serverless }} may be caused by reaching the cluster's configured [resource limits]({% link cockroachcloud/plan-your-cluster-serverless.md %}#choose-resource-limits) for [Request Units]({% link cockroachcloud/plan-your-cluster-serverless.md %}#request-units) or storage space. SQL Statements and `cockroach` CLI commands may be impacted. You can check your cluster's resource limits and status from the [**Cluster Overview** page]({% link cockroachcloud/cluster-overview-page.md %}) in the Cloud Console. Resource limits are displayed in **Usage this month**. If you've used all your storage, your cluster will be labeled **THROTTLED**, and you will be limited to a single SQL connection which you can use to delete data. If you've used all your RUs, your cluster will be **DISABLED**.
Expand All @@ -170,4 +178,4 @@ A hanging or stuck query using CockroachDB {{ site.data.products.serverless }} m

If you've reached your storage or RU limit, you can [increase your resource limits]({% link cockroachcloud/serverless-cluster-management.md %}#edit-your-resource-limits) and then re-run the query.

If you've only reached your RU limit, you can wait until the next billing cycle when [monthly free RUs]({% link cockroachcloud/plan-your-cluster-serverless.md %}#free-vs-paid-usage) become available and then re-run the query.
If you've only reached your RU limit, you can wait until the next billing cycle when [monthly free RUs]({% link cockroachcloud/plan-your-cluster-serverless.md %}#free-vs-paid-usage) become available and then re-run the query.

0 comments on commit f2f5174

Please sign in to comment.