nginx: do not reduce max processes 12159/head
authorPeter Stadler <peter.stadler@student.uibk.ac.at>
Tue, 12 May 2020 09:00:00 +0000 (11:00 +0200)
committerPeter Stadler <peter.stadler@student.uibk.ac.at>
Thu, 14 May 2020 07:19:45 +0000 (09:19 +0200)
commit62609f1587b2e272dc8a2245e36ca6dc7d0c8820
tree4e94711cce53c1edf4e299ac2bec6e11cf8a3ced
parentba2c714aa8cd1fc7bd9166d0d383cb271ee46062
nginx: do not reduce max processes

Use the upstream value for NGX_MAX_PROCESSES (=1024) again.
So it is safe to use `worker_processes auto;` (which sets it to
the number of CPUs). Also use this directive in the conf instead
of calculating the number in the init and passing it as argument.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
net/nginx/Makefile
net/nginx/files/nginx.conf
net/nginx/files/nginx.init
net/nginx/patches/300-max-processes.patch [deleted file]