Details
Details
Recently my phabricator instance has started behaving a bit erratically when it comes to sending out emails. If I restart the server, or sometimes if I just restart the daemons, all the queued emails will be sent out. If I let the server run for a few days though, mails will stop being sent out.
If I check my daemon logs, I find lots of entries like this:
Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] [2015-10-26 17:51:02] ERROR 8: fputs(): send of 78 bytes failed with errno=32 Broken pipe at [/var/lib/openshift/54fdcfff9e7f3bbdce000064/app-root/runtime/repo/phabricator/externals/phpmailer/class.smtp.php:424] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] arcanist(head=master, ref.master=dfde57ff812b), phabricator(head=master, ref.master=4afeebe83489), phutil(head=master, ref.master=db3667a62f66) Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #0 fputs(resource, string) called at [<phabricator>/externals/phpmailer/class.smtp.php:424] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #1 SMTP::Data(string) called at [<phabricator>/externals/phpmailer/class.phpmailer.php:740] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #2 PHPMailer::SmtpSend(string, string) called at [<phabricator>/externals/phpmailer/class.phpmailer.php:576] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #3 PHPMailer::Send() called at [<phabricator>/src/applications/metamta/adapter/PhabricatorMailImplementationPHPMailerAdapter.php:120] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #4 PhabricatorMailImplementationPHPMailerAdapter::send() called at [<phabricator>/src/applications/metamta/storage/PhabricatorMetaMTAMail.php:733] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #5 PhabricatorMetaMTAMail::sendNow() called at [<phabricator>/src/applications/metamta/PhabricatorMetaMTAWorker.php:26] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #6 PhabricatorMetaMTAWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:122] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #7 PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:171] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #8 PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #9 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183] Daemon 51397 STDE [Mon, 26 Oct 2015 17:51:02 +0000] #10 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
Every time I restart my server, I update phabricator, libphutil and arcanist to the latest versions, which does not seem to solve the problems. Any ideas on if I'm doing anything wrong or what I can do to solve it?
Answers
Answers
New Answer
New Answer