FOGProject / fogproject

An open source computer cloning & management system
https://fogproject.org
GNU General Public License v3.0
1.1k stars 221 forks source link

Update functions.sh #638

Closed michaelbarkdoll closed 1 week ago

michaelbarkdoll commented 1 week ago

Fix proxy_fcgi:error timeout expiration of apache communicating with php_fpm.

Using Rocky 9 inside a VM inside the latest VirtualBox, I experienced a timeout when capturing an image from a workstation. The timeout appears to be between Apache (httpd) and php-fpm. I tried increasing timeout values inside the GUI, but none seemed to address this issue.

Upon checking the httpd error logs, I noticed error_log was recording,

[proxy_fcgi:error] [pid 15073:tid 15195] (70007)The timeout specified has expired: ]client 192.168.0.200:32832] AH01075: Error dispatching request to : (polling)

Increasing the timeout in the /etc/httpd/fog.conf and restart httpd fixed the issue. I've seen others post similar experiences on your forums. I think this will help resolve their issue as well. You might want to rework the submit some to allow for GUI adjustments. Let me know if I can help further to be mention as a contributor, but honestly... I'd just be happy if another Rocky Linux user doesn't have to spend their morning figuring this out as well.