Closed
Description
- Gitea version (or commit ref): 1.1.2
- Git version: Not relevant
- Operating system: CentOS 6
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
Description
I use gitea on a shared hoster environment and compiling gitea from source. threads-per-user are limited to 300. Sometimes i got following error while make build for multiple modules:
runtime: failed to create new OS thread (have 7 already; errno=11)
runtime: may need to increase max user processes (ulimit -u)
fatal error: newosproc
I try to limit the threads by make with
make generate build -j2
but the result is the same. Is it possible to limit threads/processes while compiling?