![Charles Short](/assets/img/avatar_default.png)
While doing a large number of Debian package builds, it was observed that aptly database would lockup, causing concerrency issues between nginx and aptly. This would ultimately prevent nginx to serve Debian packages. It was determined that running nginx in daemon mode would work around this issue. Tested by running sequential package builds of 1, 10, 50, and 100 of the tsconfig package. After this change the lockup issues were not present. Story: 2008846 Task: 43626 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I278d6f494848030fb13c470e65fee5f6f2c3eb2f
6 lines
167 B
Plaintext
6 lines
167 B
Plaintext
[program:nginx]
|
|
# "daemon off" should be used in Docker or under Supervisord
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
redirect_stderr=true
|
|
stdout_logfile_maxbytes=1MB
|