PHP Fatal Error - nginx/tls_ua-fingerprint.php

Started by ealbright, July 05, 2024, 05:52:21 PM

Previous topic - Next topic
July 05, 2024, 05:52:21 PM Last Edit: July 05, 2024, 06:37:47 PM by ealbright
Good morning all.  Can you help point me in the right direction for fixing the following error:

[01-Jul-2024 16:10:03 America/Denver] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 358617088 bytes) in /usr/local/opnsense/scripts/nginx/tls_ua_fingerprint.php on line 135

I seem to be getting the error almost every 10 minutes.  Restarting the firewall doesn't seem to matter.  I'm pulling the above error from the crash reporter. I've tried looking at the logs in /var/log/nginx and didn't see anything towards that error. I've checked /var/log/dmesg.today, php-fpm.log also. 

I feel like I'm looking in the wrong places.  Do you have any suggestions of appropriate log files to check to help determine the issue behind the error?

**EDIT I just realized I posted this in the 24.7 dev, is it possible to move it the 24.1 forum?

Thank you!


Thank you for pointing towards the github report. , I removed the handshakes.json file.

I merged the nginx 1.33 PR for 24.1.10 today.


Cheers,
Franco

@franco
thanks again!

@ealbright
there is no "disable handshake logging" checkbox yet in 1.33 (a little busy and didn't have time, sorry)
i will try to add it and make a pr asap (I hope it's a quick-fix)