Server Information
osTicket Version v1.17.4 (ea462cb) — Up to date
Web Server Software Apache/2.4.37 () OpenSSL/1.1.1g Phusion_Passenger/6.0.6
MySQL Version 5.7.34
PHP Version 8.0.11

Hi. We are getting the following error message from Cron Deamon:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/asinstru/support.insiders.live/public/include/pear/PEAR.php on line 844

We already tried to increase the allocated memory on PHP, but I'm still receiving the same error messages.
Do you have any idea how we could solve this issue?
Best regards
Angel

  • KevinTheJedi replied to this.
  • KevinTheJedi

    It seems that the issue was triggered by a e-mail that contains an html attachment.
    I deleted the e-mail from the mailbox and I stopped receiving the error messages.
    But still other e-mails from that mailbox were not fetched. So I had to go to e-mail settings, config and click on submit. Then I activated again the Fetch e-mail and it is now working.
    Thank you for your help.

    angeland_asi

    It’s trying to get a back trace of the error but exhausting the memory. Go to line 843 and update the if() statement to:

    if (0 && !$skiptrace) {

    Cheers.

      KevinTheJedi

      I did change the line 843 on PEAR.php file as you said but now the error has changed:

      PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/asinstru/support.insiders.live/public/include/class.orm.php on line 1362

      angeland_asi

      You definitely have a deep issue going on; this is not typical nor have I really seen this before for a simple error.

      Anyways, you’ll have to go comment out that line as well and if it’s an if() statement you’ll have to comment that out as well. Then you’ll need to track down the error and see what’s going on.

      Cheers.

        KevinTheJedi

        It seems that the issue was triggered by a e-mail that contains an html attachment.
        I deleted the e-mail from the mailbox and I stopped receiving the error messages.
        But still other e-mails from that mailbox were not fetched. So I had to go to e-mail settings, config and click on submit. Then I activated again the Fetch e-mail and it is now working.
        Thank you for your help.

        Write a Reply...