Fix gitea running out of FDs

This commit is contained in:
Alex D. 2022-04-17 18:13:37 +00:00
parent b940a7293b
commit 8d3263e977
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
. ../APKBUILD-openrc.template . ../APKBUILD-openrc.template
pkgver=2021.06.01.03 pkgver=2022.04.17.02
pkgrel=6 pkgrel=0
sha512sums=" sha512sums="
c4059235e41d79d0d3d84d84acfbe1c2a461f67dc261dff7973991b67e3ceab9bfcbfb8f10185590b63b85b4739ec841c41bfbb8904c110c425d159c56cb956a runfile 182c95e323209c636dad6f0b3db3a9216a12454be41818bdb29706c91b7092bb12e68e9382e5893dce88f4f3fca533710fb12c7041b6d9c6fe9ffd174ad6cb1f runfile
fb7e65b6ecbca2dd67aacf2becab067ee235ec3565fbd68c855d3d842a778a03d34cf05ed584c562489d10c8020416d6138888867f0d8869c193d6cb971120ae conffile fb7e65b6ecbca2dd67aacf2becab067ee235ec3565fbd68c855d3d842a778a03d34cf05ed584c562489d10c8020416d6138888867f0d8869c193d6cb971120ae conffile
" "

View File

@ -16,5 +16,5 @@ depend() {
start_pre() { start_pre() {
checkpath -d -o "$command_user" -m755 "${GITEA_WORK_DIR:-/var/lib/gitea}" checkpath -d -o "$command_user" -m755 "${GITEA_WORK_DIR:-/var/lib/gitea}"
ulimit -n 4096 # FIX: Gitea can and WILL run out of file descriptors under heavy load
} }