So I am trying to export CDR for one of the domains. I received the following error
So I assumed it was just a memory limit in the php.ini file then I increased it to 256 (then restarted PHP) and same error but the allowed memory size did indeed reflect the changes so i know that worked. So then i cranked it up to 512 and same thing. I see my changes worked properly however still getting the error.
I then opened another domain downloaded a weeks worth of CDR no issue. I logged out, logged back in then back to the troubled domain still same issue and then in tried to download load only 5 minutes worth of CDR and still same error.
I am at a complete loss for what could be triggering this issue, Please let me know if anyone of you all have some ideas i can try.
Error from error.log
8.8.8.8 = my public IP
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 73728 bytes) in /var/www/fusionpbx/resources/classes/database.php on line 977
So I assumed it was just a memory limit in the php.ini file then I increased it to 256 (then restarted PHP) and same error but the allowed memory size did indeed reflect the changes so i know that worked. So then i cranked it up to 512 and same thing. I see my changes worked properly however still getting the error.
I then opened another domain downloaded a weeks worth of CDR no issue. I logged out, logged back in then back to the troubled domain still same issue and then in tried to download load only 5 minutes worth of CDR and still same error.
I am at a complete loss for what could be triggering this issue, Please let me know if anyone of you all have some ideas i can try.
Error from error.log
2020/07/10 15:54:30 [error] 34143#34143: *174 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 24576 bytes) in Unknown on line 0" while reading upstream, client: 8.8.8.8 , server: fusionpbx, request: "POST /app/xml_cdr/xml_cdr_export.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "contoso.host.voip.com", referrer: "https://contoso.host.voip.com/app/xml_cdr/xml_cdr.php"
8.8.8.8 = my public IP