Unable to access email. Email error in logs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickh
    Member
    • Jun 2018
    • 67

    Unable to access email. Email error in logs

    We have discovered that since 26 November, two of our users (we have many more) have not been able to retrieve mail via IMAP to the EspoCRM system however testing hte IMAP connection or accessing externally to EspoCRM works fine.

    Scheduled jobs shows failure to retrieve email on bith accounts but all other accounts are fine.

    On checking the logs, we appear to have an issue as follows:


    [13-Dec-2021 14:53:29 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27190896 bytes) in /.../application/Espo/Core/Mail/MessageWrapper.php on line 105
    [13-Dec-2021 14:57:20 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 352256 bytes) in /.../vendor/guzzlehttp/psr7/src/functions.php on line 83 [13-Dec-2021 14:59:24 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27190896 bytes) in /.../application/Espo/Core/Mail/MessageWrapper.php on line 105
    [13-Dec-2021 15:03:21 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 450560 bytes) in /.../vendor/guzzlehttp/psr7/src/functions.php on line 83 [13-Dec-2021 15:05:31 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27190896 bytes) in /.../application/Espo/Core/Mail/MessageWrapper.php on line 105
    [13-Dec-2021 15:09:28 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 352256 bytes) in /.../vendor/guzzlehttp/psr7/src/functions.php on line 83 [13-Dec-2021 15:11:22 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27190896 bytes) in /.../application/Espo/Core/Mail/MessageWrapper.php on line 105
    [13-Dec-2021 15:15:20 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 450560 bytes) in /.../vendor/guzzlehttp/psr7/src/functions.php on line 83 [13-Dec-2021 15:17:19 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27190896 bytes) in /.../application/Espo/Core/Mail/MessageWrapper.php on line 105
    [13-Dec-2021 15:21:21 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 352256 bytes) in /.../vendor/guzzlehttp/psr7/src/functions.php on line 83 [13-Dec-2021 15:23:18 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27190896 bytes) in /.../application/Espo/Core/Mail/MessageWrapper.php on line 105

    The email size limit is set to 20Mb and increasing it has no affect on the error (also do not believe this is relevant in this case).

    Can anybody point me in the right direction?
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    #2
    search in Google with: guzzlehttp allowed memory size exhausted
    e.g. I found this: https://whmcs.community/topic/300823...tes-exhausted/

    Though I don`t know, if this could solve your problem.

    Comment

    • nickh
      Member
      • Jun 2018
      • 67

      #3
      Thanks for this info and I will look into it, however remain confused as the error occurs on only 2 of over 20 email accounts. Also the fact that the issue suddenly occurred after almost 2 years without any issues and no parameters have been changed. Weird.

      Checked all the php.ini settings in both EspoCRM and root directory. Not sure where the memory limit is coming from as both files show correct setting of 256M. Increased to 512M but no change.
      Last edited by nickh; 12-13-2021, 09:44 PM. Reason: Update

      Comment

      • nickh
        Member
        • Jun 2018
        • 67

        #4
        BTW - we are running version: 5.7.11

        Comment

        Working...