2016-05-14 19:48:21 |
Simon Déziel |
bug |
|
|
added bug |
2016-06-03 21:31:48 |
Thomas Ward |
nginx (Ubuntu): importance |
Undecided |
Low |
|
2016-06-03 21:31:48 |
Thomas Ward |
nginx (Ubuntu): status |
New |
Confirmed |
|
2016-06-03 21:31:48 |
Thomas Ward |
nginx (Ubuntu): assignee |
|
Thomas Ward (teward) |
|
2017-01-25 14:11:50 |
Matt Nordhoff |
bug |
|
|
added subscriber Matt Nordhoff |
2017-06-15 14:17:32 |
Alex Badics |
bug task added |
|
nginx (Debian) |
|
2017-12-15 08:39:43 |
Laurent Bigonville |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876365 |
|
2017-12-15 08:39:43 |
Laurent Bigonville |
nginx (Debian): importance |
Undecided |
Unknown |
|
2017-12-15 08:39:43 |
Laurent Bigonville |
nginx (Debian): status |
New |
Unknown |
|
2017-12-15 08:39:43 |
Laurent Bigonville |
nginx (Debian): remote watch |
|
Debian Bug tracker #876365 |
|
2017-12-15 09:31:23 |
Bug Watch Updater |
nginx (Debian): status |
Unknown |
New |
|
2018-11-05 10:17:45 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Server |
2019-04-15 15:04:40 |
Marcel Molendijk |
bug |
|
|
added subscriber Marcel Molendijk |
2019-05-31 13:42:18 |
Simon Déziel |
description |
Nginx logs an error when started on a machine with a single CPU:
systemctl start nginx
systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2016-05-14 19:35:03 UTC; 2s ago
Process: 1303 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 1307 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1306 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1308 (nginx)
Tasks: 5 (limit: 512)
Memory: 3.1M
CPU: 81ms
CGroup: /system.slice/nginx.service
├─1308 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
├─1309 nginx: worker process
├─1310 nginx: worker process
├─1311 nginx: worker process
└─1312 nginx: worker process
May 14 19:35:03 ngx systemd[1]: Starting A high performance web server and a reverse proxy server...
May 14 19:35:03 ngx systemd[1]: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
May 14 19:35:03 ngx systemd[1]: Started A high performance web server and a reverse proxy server.
Bumping the number of CPU available makes the error disappear. This is reproducible on VMs and containers.
Lastly, the PID file is properly created and matches the PID of the master process.
Additional information:
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
# apt-cache policy nginx-core
nginx-core:
Installed: 1.10.0-0ubuntu0.16.04.1
Candidate: 1.10.0-0ubuntu0.16.04.1
Version table:
*** 1.10.0-0ubuntu0.16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.9.15-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nginx-core 1.10.0-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sat May 14 19:35:21 2016
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
SourcePackage: nginx
UpgradeStatus: No upgrade log present (probably fresh install) |
[Description]
Nginx logs an error when started on a machine with a single CPU:
systemctl start nginx
systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2016-05-14 19:35:03 UTC; 2s ago
Process: 1303 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 1307 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1306 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1308 (nginx)
Tasks: 5 (limit: 512)
Memory: 3.1M
CPU: 81ms
CGroup: /system.slice/nginx.service
├─1308 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
├─1309 nginx: worker process
├─1310 nginx: worker process
├─1311 nginx: worker process
└─1312 nginx: worker process
May 14 19:35:03 ngx systemd[1]: Starting A high performance web server and a reverse proxy server...
May 14 19:35:03 ngx systemd[1]: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
May 14 19:35:03 ngx systemd[1]: Started A high performance web server and a reverse proxy server.
Bumping the number of CPU available makes the error disappear. This is reproducible on VMs and containers.
Lastly, the PID file is properly created and matches the PID of the master process.
[Workaround]
sudo mkdir /etc/systemd/system/nginx.service.d
printf "[Service]\nExecStartPost=/bin/sleep 0.1\n" | \
sudo tee /etc/systemd/system/nginx.service.d/override.conf
sudo systemctl daemon-reload
[Additional information]
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
# apt-cache policy nginx-core
nginx-core:
Installed: 1.10.0-0ubuntu0.16.04.1
Candidate: 1.10.0-0ubuntu0.16.04.1
Version table:
*** 1.10.0-0ubuntu0.16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.9.15-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nginx-core 1.10.0-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sat May 14 19:35:21 2016
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
SourcePackage: nginx
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-05-31 13:43:12 |
Simon Déziel |
description |
[Description]
Nginx logs an error when started on a machine with a single CPU:
systemctl start nginx
systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2016-05-14 19:35:03 UTC; 2s ago
Process: 1303 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 1307 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1306 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1308 (nginx)
Tasks: 5 (limit: 512)
Memory: 3.1M
CPU: 81ms
CGroup: /system.slice/nginx.service
├─1308 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
├─1309 nginx: worker process
├─1310 nginx: worker process
├─1311 nginx: worker process
└─1312 nginx: worker process
May 14 19:35:03 ngx systemd[1]: Starting A high performance web server and a reverse proxy server...
May 14 19:35:03 ngx systemd[1]: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
May 14 19:35:03 ngx systemd[1]: Started A high performance web server and a reverse proxy server.
Bumping the number of CPU available makes the error disappear. This is reproducible on VMs and containers.
Lastly, the PID file is properly created and matches the PID of the master process.
[Workaround]
sudo mkdir /etc/systemd/system/nginx.service.d
printf "[Service]\nExecStartPost=/bin/sleep 0.1\n" | \
sudo tee /etc/systemd/system/nginx.service.d/override.conf
sudo systemctl daemon-reload
[Additional information]
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
# apt-cache policy nginx-core
nginx-core:
Installed: 1.10.0-0ubuntu0.16.04.1
Candidate: 1.10.0-0ubuntu0.16.04.1
Version table:
*** 1.10.0-0ubuntu0.16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.9.15-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nginx-core 1.10.0-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sat May 14 19:35:21 2016
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
SourcePackage: nginx
UpgradeStatus: No upgrade log present (probably fresh install) |
[Description]
Nginx logs an error when started on a machine with a single CPU:
systemctl start nginx
systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2016-05-14 19:35:03 UTC; 2s ago
Process: 1303 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 1307 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1306 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1308 (nginx)
Tasks: 5 (limit: 512)
Memory: 3.1M
CPU: 81ms
CGroup: /system.slice/nginx.service
├─1308 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
├─1309 nginx: worker process
├─1310 nginx: worker process
├─1311 nginx: worker process
└─1312 nginx: worker process
May 14 19:35:03 ngx systemd[1]: Starting A high performance web server and a reverse proxy server...
May 14 19:35:03 ngx systemd[1]: nginx.service: Failed to read PID from file /run/nginx.pid: Invalid argument
May 14 19:35:03 ngx systemd[1]: Started A high performance web server and a reverse proxy server.
Bumping the number of CPU available makes the error disappear. This is reproducible on VMs and containers.
Lastly, the PID file is properly created and matches the PID of the master process.
[Workaround]
sudo mkdir /etc/systemd/system/nginx.service.d
printf "[Service]\nExecStartPost=/bin/sleep 0.1\n" | \
sudo tee /etc/systemd/system/nginx.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl restart nginx
[Additional information]
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
# apt-cache policy nginx-core
nginx-core:
Installed: 1.10.0-0ubuntu0.16.04.1
Candidate: 1.10.0-0ubuntu0.16.04.1
Version table:
*** 1.10.0-0ubuntu0.16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.9.15-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nginx-core 1.10.0-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Sat May 14 19:35:21 2016
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
SourcePackage: nginx
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-05-31 19:36:36 |
TJ |
attachment added |
|
Bring PID creation into parent process https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864/+attachment/5268127/+files/nginx-pid-race.patch |
|
2019-05-31 19:49:05 |
Thomas Ward |
nominated for series |
|
Ubuntu Disco |
|
2019-05-31 19:49:05 |
Thomas Ward |
bug task added |
|
nginx (Ubuntu Disco) |
|
2019-05-31 19:49:05 |
Thomas Ward |
nominated for series |
|
Ubuntu Xenial |
|
2019-05-31 19:49:05 |
Thomas Ward |
bug task added |
|
nginx (Ubuntu Xenial) |
|
2019-05-31 19:49:05 |
Thomas Ward |
nominated for series |
|
Ubuntu Eoan |
|
2019-05-31 19:49:05 |
Thomas Ward |
bug task added |
|
nginx (Ubuntu Eoan) |
|
2019-05-31 19:49:05 |
Thomas Ward |
nominated for series |
|
Ubuntu Bionic |
|
2019-05-31 19:49:05 |
Thomas Ward |
bug task added |
|
nginx (Ubuntu Bionic) |
|
2019-05-31 19:49:05 |
Thomas Ward |
nominated for series |
|
Ubuntu Cosmic |
|
2019-05-31 19:49:05 |
Thomas Ward |
bug task added |
|
nginx (Ubuntu Cosmic) |
|
2019-05-31 19:49:24 |
Thomas Ward |
nginx (Ubuntu Disco): status |
New |
Confirmed |
|
2019-05-31 19:49:25 |
Thomas Ward |
nginx (Ubuntu Cosmic): status |
New |
Confirmed |
|
2019-05-31 19:49:27 |
Thomas Ward |
nginx (Ubuntu Bionic): status |
New |
Confirmed |
|
2019-05-31 19:49:29 |
Thomas Ward |
nginx (Ubuntu Xenial): status |
New |
Confirmed |
|
2019-05-31 19:53:25 |
Thomas Ward |
nginx (Ubuntu Disco): importance |
Undecided |
Low |
|
2019-05-31 19:53:27 |
Thomas Ward |
nginx (Ubuntu Cosmic): importance |
Undecided |
Low |
|
2019-05-31 19:53:28 |
Thomas Ward |
nginx (Ubuntu Bionic): importance |
Undecided |
Low |
|
2019-05-31 19:53:30 |
Thomas Ward |
nginx (Ubuntu Xenial): importance |
Undecided |
Low |
|
2019-05-31 20:22:56 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug uec-images xenial |
amd64 apport-bug patch uec-images xenial |
|
2019-05-31 20:23:06 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2019-05-31 22:05:32 |
Thomas Ward |
attachment removed |
Bring PID creation into parent process https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864/+attachment/5268127/+files/nginx-pid-race.patch |
|
|
2019-05-31 22:05:44 |
Thomas Ward |
tags |
amd64 apport-bug patch uec-images xenial |
amd64 apport-bug uec-images xenial |
|
2019-06-01 03:17:44 |
TJ |
attachment added |
|
Bring PID creation into parent process v2 https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864/+attachment/5268168/+files/nginx-fix-pidfile.7.patch |
|
2019-06-01 03:41:35 |
lotuspsychje |
bug |
|
|
added subscriber Ubuntu-discuss Bug team |
2019-06-01 03:45:16 |
TJ |
attachment added |
|
Bring PID creation into parent process v3 https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1581864/+attachment/5268169/+files/nginx-fix-pidfile.8.patch |
|
2019-06-01 10:03:03 |
TJ |
bug |
|
|
added subscriber TJ |
2019-06-21 14:26:46 |
Thomas Ward |
nginx (Ubuntu Eoan): status |
Confirmed |
Fix Committed |
|
2019-06-29 17:29:58 |
Launchpad Janitor |
nginx (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-11-27 10:26:08 |
tjkopena |
bug |
|
|
added subscriber tjkopena |
2019-11-28 07:18:36 |
shuoge |
bug |
|
|
added subscriber shuoge |
2020-02-24 10:01:34 |
Mitesh Shah |
bug |
|
|
added subscriber Mitesh Shah |
2020-07-02 19:55:02 |
Steve Langasek |
nginx (Ubuntu Disco): status |
Confirmed |
Won't Fix |
|
2021-02-09 16:29:08 |
Geno |
bug |
|
|
added subscriber Geno |
2021-04-19 16:18:12 |
Bryce Harrington |
nginx (Ubuntu Cosmic): status |
Confirmed |
Won't Fix |
|
2021-09-30 20:09:02 |
Kenyon Ralph |
bug |
|
|
added subscriber Kenyon Ralph |
2021-12-16 10:27:09 |
Miriam España Acebal |
nginx (Ubuntu Xenial): status |
Confirmed |
Won't Fix |
|
2021-12-16 11:08:52 |
Miriam España Acebal |
bug watch added |
|
http://trac.nginx.org/nginx/ticket/1897 |
|
2021-12-16 11:09:14 |
Miriam España Acebal |
tags |
amd64 apport-bug uec-images xenial |
amd64 apport-bug bionic server-todo uec-images |
|
2021-12-16 18:34:36 |
Hristian |
removed subscriber Hristian |
|
|
|
2022-04-06 15:11:49 |
Christian Ehrhardt |
tags |
amd64 apport-bug bionic server-todo uec-images |
amd64 apport-bug bionic uec-images |
|
2022-05-25 00:05:38 |
Bryce Harrington |
tags |
amd64 apport-bug bionic uec-images |
amd64 apport-bug bionic packaging uec-images |
|
2022-08-08 23:03:38 |
Bug Watch Updater |
nginx (Debian): status |
New |
Fix Released |
|
2023-02-06 13:19:19 |
Athos Ribeiro |
tags |
amd64 apport-bug bionic packaging uec-images |
amd64 apport-bug bionic packaging server-triage-discuss uec-images |
|
2023-02-15 16:36:37 |
Christian Ehrhardt |
tags |
amd64 apport-bug bionic packaging server-triage-discuss uec-images |
amd64 apport-bug bionic packaging uec-images |
|
2023-02-15 16:39:52 |
Christian Ehrhardt |
nginx (Ubuntu Bionic): status |
Confirmed |
Won't Fix |
|