PHP Error
- 
 Hello, Today I suddenly got an email that shows php error has occured in pfsense. I looked at pfsense gui and shows the following error. It was working okay till now without any problem. Crash report begins. Anonymous machine information: amd64 
 11.2-RELEASE-p3
 FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSenseCrash report details: PHP Errors: 
 [25-Oct-2018 19:44:37 Asia/Baku] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/www/diag_command.php on line 186No FreeBSD crash data found. 
- 
 That would have to be a code run by hand on Diagnostics > Command Prompt. Not a bug in the base code. Did you run any commands from there? Anything copy/pasted into the PHP box, perhaps? 
- 
 yes, I run a command this command "tcpdump with -e" from this post 
 https://forum.netgate.com/topic/136945/firewall-logs-wan-source-ip-0-0-0-0-blocked/26
 and saw it took too long, then I stopped.
- 
 That's what it was then. Don't run commands there that won't stop. Without a specific byte count that will run forever. Either run form a shell prompt or if you're just doing a packet capture like that, use Diagnostics > Packet Capture. If you set it to show full detail it will show you the ethernet addresses you get from -e.
- 
 first I run "tcpdump" and then stopped run tcpdump -e. I should run "tcpdump -e", right? Do I need restart pfsense, just in case? 
- 
 You should never run tcpdumpfrom Diagnostics > Command Prompt.Just use Diagnostics > Packet Capture. If you need to do something with tcpdumpthat can't be done there, use an ssh or console shell.
- 
 Thank you very much. I do nothing more. Will this error appear again? I got 2 emails of it. 
- 
 It shouldn't, unless you run some other command that has a similar effect. 
- 
 Thank you very much. 

