[Bug 1712589] Re: Apache2 mod-wsgi segfault on double reload
Andreas Hasenack
andreas at canonical.com
Wed Jul 10 14:35:44 UTC 2019
Still happening on xenial:
apache2 2.4.18-2ubuntu3.10
libapache2-mod-wsgi-py3 4.3.0-1.1build1
My apache default site config:
# cat /etc/apache2/sites-enabled/000-default.conf |grep -vE "^[[:blank:]]*(#|$)"
<VirtualHost *:80>
ServerAdmin webmaster at localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
WSGIDaemonProcess example.com processes=2 threads=15 display-name=%{GROUP}
WSGIProcessGroup example.com
</VirtualHost>
Issued apache2ctl graceful in an infinite while loop, and it eventually crashed:
[Wed Jul 10 14:07:24.348925 2019] [mpm_event:notice] [pid 1363:tid 140450587101056] AH00493: SIGUSR1 received. Doing graceful restart
[Wed Jul 10 14:07:24.412595 2019] [wsgi:warn] [pid 1363:tid 140450587101056] mod_wsgi: Compiled for Python/3.5.1+.
[Wed Jul 10 14:07:24.412721 2019] [wsgi:warn] [pid 1363:tid 140450587101056] mod_wsgi: Runtime using Python/3.5.2.
[Wed Jul 10 14:07:24.414295 2019] [mpm_event:notice] [pid 1363:tid 140450587101056] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/3.5.2 configured -- resuming normal operations
[Wed Jul 10 14:07:24.414410 2019] [core:notice] [pid 1363:tid 140450587101056] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jul 10 14:07:24.465601 2019] [mpm_event:notice] [pid 1363:tid 140450587101056] AH00493: SIGUSR1 received. Doing graceful restart
[Wed Jul 10 14:07:24.557427 2019] [core:notice] [pid 1363] AH00060: seg fault or similar nasty error detected in the parent process
[Wed Jul 10 14:07:24.781927 2019] [wsgi:warn] [pid 2427:tid 140220268152704] mod_wsgi: Compiled for Python/3.5.1+.
[Wed Jul 10 14:07:24.781998 2019] [wsgi:warn] [pid 2427:tid 140220268152704] mod_wsgi: Runtime using Python/3.5.2.
[Wed Jul 10 14:07:24.782018 2019] [core:warn] [pid 2427:tid 140220268152704] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
I couldn't reproduce it on eoan, and I left the reloads running for a
few minutes.
Since my previous comment said it still happened on disco, let me try
that now, also to validate my procedure.
...
I'm also having a hard time reproducing this on disco, same procedure as
on xenial.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1712589
Title:
Apache2 mod-wsgi segfault on double reload
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1712589/+subscriptions
More information about the Ubuntu-server-bugs
mailing list