OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Possible Bug, PHP-CGI Crash
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Possible Bug, PHP-CGI Crash  (Read 9589 times)

mircsicz

  • Full Member
  • ***
  • Posts: 113
  • Karma: 3
    • View Profile
Re: Possible Bug, PHP-CGI Crash
« Reply #15 on: February 06, 2018, 08:14:37 am »
Just upgraded four of my machines to 18.1.1 and it seems as the problem persist's...
Logged

MasterXBKC

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 6
  • Infragard Member
    • View Profile
    • PFMonitor Central Firewall Management
Re: Possible Bug, PHP-CGI Crash
« Reply #16 on: February 07, 2018, 03:44:05 am »
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
« Last Edit: February 07, 2018, 04:24:15 am by MasterXBKC »
Logged
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

MasterXBKC

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 6
  • Infragard Member
    • View Profile
    • PFMonitor Central Firewall Management
Re: Possible Bug, PHP-CGI Crash
« Reply #17 on: February 08, 2018, 07:35:28 pm »
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.
Logged
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

MasterXBKC

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 6
  • Infragard Member
    • View Profile
    • PFMonitor Central Firewall Management
Re: Possible Bug, PHP-CGI Crash
« Reply #18 on: February 08, 2018, 07:40:29 pm »
Here you see after running that single command, all the php-cgi processes simultaneously die.

and now the web config only gives 502 errors.
Logged
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

MasterXBKC

  • Jr. Member
  • **
  • Posts: 66
  • Karma: 6
  • Infragard Member
    • View Profile
    • PFMonitor Central Firewall Management
Re: Possible Bug, PHP-CGI Crash
« Reply #19 on: February 08, 2018, 08:35:18 pm »
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.
Logged
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

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Possible Bug, PHP-CGI Crash
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2