Answers.Body: <p>It sounds like your site or hosting environment runs cron via some Perl wrapper.</p>
  
  <p>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.</p>
  
  <p>Talk to your hosting experts and see if they can help?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-14T18:34:36.663Z
Answers.LastActivityDate: 2015-12-14T18:34:36.663Z
Answers.UserDisplayName: Chris Burgess
Body: <p>Version 4.6.9</p>
  
  <p>When a scheduled bulk email is sent, Cron Daemon returns <code>read timeout at /usr/local/share/perl5/Net/HTTP/Methods.pm line 271.</code> 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.</p>
  
  <p>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?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-11T22:04:01.490Z
Comments.Text: 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?
Comments.UserDisplayName: Tim Otten
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-12T19:41:13.027Z
Comments.Text: a) Good question, I'm stumped. I've done no work with Perl. b) SMTP via CiviSMTP.
Comments.UserDisplayName: Eric H
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-01T17:35:17.923Z
Comments.Text: 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?
Comments.UserDisplayName: LMK Web
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-02T18:42:44.150Z
Comments.Text: 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.
Comments.UserDisplayName: Eric H
Tags: <civimail>
Title: CiviMail causes read timeout on Methods.pm
ThreadText: # CiviMail causes read timeout on Methods.pm
  
  (Asked by: username_0 on 2015-11-11)
  
  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?
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: 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?  
  > **username_0**: a) Good question, I'm stumped. I've done no work with Perl. b) SMTP via CiviSMTP.  
  > **username_2**: 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?  
  > **username_0**: 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.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-12-14. Score: 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?
  
  
  ---
  
  