其他apache和mod_wsgi,他们的版本不会被更改。
如下所示:
1. Apache / 2.2.24(Unix)
2. mod_wsgi / 3.1
3. Python 2.6.4(r264:75706,2010年1月28日,08:50:34)
我没有看到如下的错误。 当我优雅地重启apache时,apache将输出错误:
[Mon Sep 09 08:58:43 2013] [notice] SIGUSR1 received. Doing graceful restart
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:43 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:44 2013] [error] Exception KeyError: KeyError(47472837226624,) in <module 'threading' from '/usr/local/python-2.7.3/lib/python2.7/threading.pyo'> ignored
[Mon Sep 09 08:58:47 2013] [notice] Apache/2.2.24 (Unix) mod_wsgi/3.1 Python/2.7.3 configured -- resuming normal operations
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 711)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 712)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 713)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 714)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 715)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 716)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 717)
[Mon Sep 09 08:58:47 2013] [warn] long lost child came home! (pid 719)
据我所知,优雅地重启Apache不会直接终止用户请求,完成响应后会被杀死。但是现在我认为当我通过错误日志
优雅地重启Apache时,它可能会停止python子线程我正常重启Apache时可以忽略错误日志吗?如果没有,我该如何解决这个问题呢?