1

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?

4
  • 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, 2015 at 22:04
  • a) Good question, I'm stumped. I've done no work with Perl. b) SMTP via CiviSMTP.
    – Eric H
    Nov 12, 2015 at 19:41
  • I realize this is a very old question, but we have a similar issue with a nearly identical error message. Were you able to resolve it?
    – LMK Web
    Feb 1, 2022 at 17:35
  • I never did resolve it in a way that allowed proper mail delivery. Changing the Outbound Mail selection from SMTP to mail() did stop the server from generating error report emails, but mail delivery suffered.
    – Eric H
    Feb 2, 2022 at 18:42

1 Answer 1

1

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 and acknowledge you have read our privacy policy.

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