Possible Bug, PHP-CGI Crash

Started by MasterXBKC, January 10, 2018, 12:51:47 AM

Previous topic - Next topic
Just upgraded four of my machines to 18.1.1 and it seems as the problem persist's...

February 07, 2018, 03:44:05 AM #16 Last Edit: February 07, 2018, 04:24:15 AM by MasterXBKC
Franco, i think i might have found a possible cause for this, all the symptoms seem to match up except that this thread is using nginx instead of lighty.

https://forum.nginx.org/read.php?2,265576,265586

Perhaps disabling opcache for CLI per this thread i wonder:
https://stackoverflow.com/questions/21556437/disable-opcache-temporarily
Member of FBIs Infragard Program
Certified Information Systems Security Officer
Certified Vulnerability Assessor
PFMonitor Remote Management, Backup, & Live Monitoring for PFSense and OPNSense
OPNSense Units: R720XD XL, R720XD XL, R720XD, R720XD, R710, DL360G7, QNAP

See screenshots, when i run the php file, all of the php-cgi processes die without any explanation.

and sometimes it doesnt happen till the 4th or 5th time it runs, sometimes on the first time.
Member of FBIs Infragard Program
Certified Information Systems Security Officer
Certified Vulnerability Assessor
PFMonitor Remote Management, Backup, & Live Monitoring for PFSense and OPNSense
OPNSense Units: R720XD XL, R720XD XL, R720XD, R720XD, R710, DL360G7, QNAP

Here you see after running that single command, all the php-cgi processes simultaneously die.

and now the web config only gives 502 errors.
Member of FBIs Infragard Program
Certified Information Systems Security Officer
Certified Vulnerability Assessor
PFMonitor Remote Management, Backup, & Live Monitoring for PFSense and OPNSense
OPNSense Units: R720XD XL, R720XD XL, R720XD, R720XD, R710, DL360G7, QNAP

OK guys, so i believe i have my code fixed up, and not bringing down the php-cgi's anymore, not sure why it was happenning, but after changing a single line that was used to end the script its now working.

So now all i need to do is get it built into a plugin, and its all done.
Member of FBIs Infragard Program
Certified Information Systems Security Officer
Certified Vulnerability Assessor
PFMonitor Remote Management, Backup, & Live Monitoring for PFSense and OPNSense
OPNSense Units: R720XD XL, R720XD XL, R720XD, R720XD, R710, DL360G7, QNAP