-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stream_select(): unable to select [4]: Interrupted system call (max_fd=7) in SMTP.php on 1116 #1227
Comments
I've run into this as well - see these PRs in reactphp and symfony. From what I've seen, it's caused by having a process signal occur while PHPMailer is waiting for |
Thanks Synchro for the quick reply. I just did a check in my codebase to confirm there isn't any use of I'm not sure what would have killed off the process either time but I do see |
PHP's CLI SAPI has no time or memory limit by default - those settings usually only apply to CGI SAPIs. Those timeout values are from the SMTP spec, and if that's longer than script timeouts, that's really the environment's problem. This problem can occur if any process receives a signal when PHPMailer is waiting on |
Good points about the timeouts and specs. Difficult to tell from my daemon.log but I bet you're right that there was something environment-related that killed it (maybe a |
Received two of the same errors in my error queue this evening and, for the life of me, I can't figure out how to troubleshoot. The relevant errors and stack trace from sending the email are:
Sending emails has worked ample times before so I don't know what was special about this particular email. I've reviewed #604 and am wondering if it's related. Can anyone suggest how to troubleshoot or what may cause such an error? PHP v.7.0.25, PHPMailer 6.0.1, Debian 9. Thanks.
The text was updated successfully, but these errors were encountered: