Commit a99074b
Update gitea.service (#21399)
`LimitMEMLOCK=infinity` is already the default, so removed that
Default soft limit for LimitNOFILE is 1024
Default hard limit for LimitNOFILE is 524288
`LimitNOFILE=65535` increases the soft limit, but decreases the hard
limit
References:
* https://www.freedesktop.org/software/systemd/man/systemd.exec.html
*
https://blog.skbali.com/2019/09/set-ulimits-for-a-script-started-using-systemd/
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>1 parent 4a23212 commit a99074b
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 52 | + | |
| 53 | + | |
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
| |||
0 commit comments