chore(sourcegraph): Increase nofile ulimit for Sourcegraph
Sourcegraph logs warnings about this on startup otherwise. Unclear to what degree it really affects operation though. Change-Id: I6ee7c5358631aafd9a7f8155150361bf7499314d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3098 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
90db61a6f4
commit
c7af7ca91d
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,12 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.SRC_SYNTECT_SERVER = "http://172.17.0.1:${toString cfg.cheddarPort}";
|
environment.SRC_SYNTECT_SERVER = "http://172.17.0.1:${toString cfg.cheddarPort}";
|
||||||
|
|
||||||
|
# Sourcegraph needs a higher nofile limit, it logs warnings
|
||||||
|
# otherwise (unclear whether it actually affects the service).
|
||||||
|
extraOptions = [
|
||||||
|
"--ulimit" "nofile=10000:10000"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue