Version 4.6.9

When a scheduled bulk email is sent, Cron Daemon returns read timeout at /usr/local/share/perl5/Net/HTTP/Methods.pm line 271. Line 271 is inside the function sub my_readline. This has been going on for about a week, but it's been months since I've done any settings changes on the server.

Email delivery is unaffected according to CiviMail reports. I get this multiple times if sending lasts for multiple cron cycles. The Send Scheduled Mailings job shows no anomalies. Does anyone have experience resolving this error?

  • Curious. Followup questions: (a) Methods.pm is a Perl thing, and the normal Civi stuff is PHP+JS. Any idea what process is calling Perl? (b) How is outbound mail configured? SMTP? Sendmail? Something else?
    – Tim Otten
    Nov 11 '15 at 22:04
  • a) Good question, I'm stumped. I've done no work with Perl. b) SMTP via CiviSMTP.
    – Eric H
    Nov 12 '15 at 19:41

It sounds like your site or hosting environment runs cron via some Perl wrapper.

You may need to talk to your hosts about hitting this timeout when cron tasks are running - if they call cron via a web based tool which times out after a few minutes, that tool may not be suitable for running Drupal cron.

Talk to your hosting experts and see if they can help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.