Message253329
There is a particular bug we hit when using the Python logging module very consistently under the particular settings in which we run one of our applications.
We are using Python 2.7.10 on RHEL7/RHEL6/Ubuntu14.04.
Anyways, here is the symptom:
Traceback (most recent call last):
File "/opt/continuum/anaconda/lib/python2.7/logging/__init__.py", line 880, in emit
stream.write(fs % msg)
IOError: [Errno 11] Resource temporarily unavailable
Here is the suggested fix:
26c26
< import sys, os, time, cStringIO, traceback, warnings, weakref, collections, errno
---
> import sys, os, time, cStringIO, traceback, warnings, weakref, collections
880,886c880
< while True:
< try:
< stream.write(fs % msg)
< break
< except IOError as e:
< if e.errno != errno.EAGAIN:
< raise
---
> stream.write(fs % msg) |
|
Date |
User |
Action |
Args |
2015-10-22 13:59:55 | Henrique Andrade | set | recipients:
+ Henrique Andrade |
2015-10-22 13:59:55 | Henrique Andrade | set | messageid: <1445522395.9.0.458727890682.issue25459@psf.upfronthosting.co.za> |
2015-10-22 13:59:55 | Henrique Andrade | link | issue25459 messages |
2015-10-22 13:59:55 | Henrique Andrade | create | |
|