mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
useless info
This commit is contained in:
parent
0d04e7bf7f
commit
786c97442d
@ -259,15 +259,12 @@ class Arbiter(object):
|
|||||||
wpid, status = os.waitpid(-1, os.WNOHANG)
|
wpid, status = os.waitpid(-1, os.WNOHANG)
|
||||||
if not wpid: break
|
if not wpid: break
|
||||||
if self.reexec_pid == wpid:
|
if self.reexec_pid == wpid:
|
||||||
log.error("reaped %s" % str(status))
|
|
||||||
self.reexec_pid = 0
|
self.reexec_pid = 0
|
||||||
else:
|
else:
|
||||||
worker = self.WORKERS.pop(wpid, None)
|
worker = self.WORKERS.pop(wpid, None)
|
||||||
if not worker:
|
if not worker:
|
||||||
continue
|
continue
|
||||||
worker.tmp.close()
|
worker.tmp.close()
|
||||||
log.info("repead %s \nworker %s" % (str(status),
|
|
||||||
str(worker.id)))
|
|
||||||
except OSError, e:
|
except OSError, e:
|
||||||
if e.errno == errno.ECHILD:
|
if e.errno == errno.ECHILD:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user