This repository was archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Set higher default ulimit in Docker Compose/K8s deployments #11410
Copy link
Copy link
Open
Labels
bugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.An error, flaw or fault that produces an incorrect or unexpected result, or behavior.deploy-sourcegraphIssues that affect sourcegraph/deploy-sourcegraphIssues that affect sourcegraph/deploy-sourcegraphdocker-composeteam/deliveryDelivery teamDelivery team
Description
Reported by https://app.hubspot.com/contacts/2762526/company/947819054
They are deployed using Docker Compose
We had a user receive the following error from the following search “lang:typescript type:commit after:"1 week ago"”
1 error occurred:
commit search failed: failed to search commit log <REPO REDACTED>@: git command [git log --no-prefix --max-count=31 --extended-regexp --regexp-ignore-case --since=1 week ago -z --no-abbrev-commit --format=oneline --no-color --source --no-patch --no-merges --extended-regexp --max-count=500 --] failed (output: ""): open /dev/null: too many open files (stderr: "")
They can reproduce reliably using structured search, and users have seen it intermittently since then.
This issue coincides with a lot of new users coming on to Sourcegraph at the company.
We are debugging and helping them set higher ulimit, but we should update defaults to prevent this.
Metadata
Metadata
Assignees
Labels
bugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.An error, flaw or fault that produces an incorrect or unexpected result, or behavior.deploy-sourcegraphIssues that affect sourcegraph/deploy-sourcegraphIssues that affect sourcegraph/deploy-sourcegraphdocker-composeteam/deliveryDelivery teamDelivery team