Message219334
| Author |
meishao |
| Recipients |
flox, gregory.p.smith, meishao, neologix, pitrou, tholzer, vstinner |
| Date |
2014年05月29日.05:44:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1401342278.7.0.65197779911.issue21602@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The smtplib.py also has the same problem.
The EINTR cannot be handled properly.
2014年05月21日 19:20:15,631 ERROR actions: Notification 'socket_noti' FAILED to send emails to set(['mailtest@tscoss.com']): <class 'socket.error'> - [Errno 4] Interrupted system calltrace:Traceback (most recent call last):
File "Utils.py", line 719, in sendEmail
server = smtplib.SMTP(host, port, timeout=DEFAULT_SOCKET_TIMEOUT)
File "/opt/zenoss/lib/python2.7/smtplib.py", line 242, in __init__
(code, msg) = self.connect(host, port)
File "/opt/zenoss/lib/python2.7/smtplib.py", line 302, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/opt/zenoss/lib/python2.7/smtplib.py", line 277, in _get_socket
return socket.create_connection((port, host), timeout)
File "/opt/zenoss/lib/python2.7/Write failed: Broken pipecreate_connection |
|