Bug #4913
closedXMLRPC sync craches PHP-fpm
0%
Description
Hi!
Having a problem that XMLRPC gets "Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)" and then crashes PHP-fpm on both master and slave on our HA-setup
it can be fixed by loggin in using SSH as admin to both routers and first restart php-fpm on the master node then on the slave.
This happens every time a change is made, and it's often make that the change you have done is not saved so its more or less impossible to change anything.
The hardware is two identical Dell R210 ver.2 with a Intel Xeon E3122, 4GB ram and 4 Broadcom 1Gbe NIC (2 onboard, 2 on PCI-e) running pfsense 2.2.4
If requested i can send configs for the pair privatly. also, two crashreports have been sent from ip ending on **8.197
its looks related to bug #1226
Hope it can be a fast and easy fix.
//Ola
Here is som info from the log file. (Newest lines on top)
Aug 2 11:27:53 rc.php-fpm_restart80612: >>> Restarting php-fpm
Aug 2 11:27:53 lighttpd59920: (mod_fastcgi.c.2848) fcgi-server re-enabled: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3587) all handlers for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507554518 on .php are down.
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3021) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.1754) connect failed: No such file or directory on unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 785 on socket: unix:/var/run/php-fpm.socket for /getstats.php?, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 948 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507573568, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 785 on socket: unix:/var/run/php-fpm.socket for /getstats.php?, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 957 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507543506, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 794 on socket: unix:/var/run/php-fpm.socket for /getstats.php?, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 948 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507562567, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 785 on socket: unix:/var/run/php-fpm.socket for /getstats.php?, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 948 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507551570, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 957 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507532492, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 957 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507510461, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 860 on socket: unix:/var/run/php-fpm.socket for /index.php?, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 957 on socket: unix:/var/run/php-fpm.socket for /widgets/widgets/thermal_sensors.widget.php?getThermalSensorsData=11438507521476, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.3346) response not received, request sent: 794 on socket: unix:/var/run/php-fpm.socket for /getstats.php?, closing connection
Aug 2 11:27:50 lighttpd59920: (mod_fastcgi.c.2562) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: unix:/var/run/php-fpm.socket
Aug 2 11:27:38 check_reload_status: Syncing firewall
Aug 2 11:26:23 php-fpm34453: /rc.filter_synchronize: Beginning XMLRPC sync to https://192.168.222.2:443.
Aug 2 11:26:23 php-fpm80757: /rc.filter_synchronize: New alert found: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)
Aug 2 11:26:23 php-fpm80757: /rc.filter_synchronize: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)
Aug 2 11:26:23 php-fpm34453: /rc.filter_synchronize: New alert found: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 503 Service Not Available)
Aug 2 11:26:23 php-fpm34453: /rc.filter_synchronize: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 503 Service Not Available)
Aug 2 11:26:23 php-fpm95406: /rc.filter_synchronize: Beginning XMLRPC sync to https://192.168.222.2:443.
Aug 2 11:26:23 php-fpm8795: /rc.filter_synchronize: Beginning XMLRPC sync to https://192.168.222.2:443.
Aug 2 11:26:23 php-fpm95406: /rc.filter_synchronize: New alert found: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)
Aug 2 11:26:23 php-fpm8795: /rc.filter_synchronize: New alert found: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)
Aug 2 11:26:23 php-fpm95406: /rc.filter_synchronize: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)
Aug 2 11:26:23 php-fpm8795: /rc.filter_synchronize: An error code was received while attempting XMLRPC sync with username admin https://192.168.222.2:443 - Code 5: Didn't receive 200 OK from remote server. (HTTP/1.0 500 Internal Server Error)
Aug 2 11:24:42 check_reload_status: Syncing firewall