CDR Export issue

Status
Not open for further replies.

Scubadave112

Member
Jan 24, 2020
122
19
18
36
So I am trying to export CDR for one of the domains. I received the following error

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
 

Scubadave112

Member
Jan 24, 2020
122
19
18
36
OMG! I am an idiot please dis-regard

I assumed the filter I applied was automatic when exporting and this particular domain has a lot of volume and probably exceeded the 512m limit and my other domain don't. so set the filter, hit search and then exported.

I am retarded lol
 
Status
Not open for further replies.