1.6 Runaway PHP-fpm on certain actions related to plugins.
Opened this issue · 4 comments
1.6 is almost perfect with its beautiful interface, pagination, and (new to us) user access controls. We are running into a couple issues where we can enable the access control plugin, we can create roles and edit role rules but we cannot delete them. anytime we try to initiate a deletion the page hangs until PHP-fpm runs out of memory and then it logs it in ApacheDIR/error.log. If you up the limit it will just continue to run away until it hits that limit. same thing happens when trying to install the LDAP plug in, something is broken and that is not installable. we tried doing similar things on our 1.5.10 servers and they do not have the crash.
To Reproduce
Install access control plugin
go to access control plugin
try to delete roles or rules
wait for general error
Expected behavior
For it to delete the selection
Software (please complete the following information):
- FOG version 1.6-beta
- FOS kernel unsure-not available at the moment-latest
- OS: Ubuntu server 24.04
I have the same problem when deleting an existing image-)
I decided to perform a clean install, but now I can't create an image-) I'll have to go back to version 1.5
I'm wondering if any of the smarter people on the code base of this project know at least where the issue is so I can try to fix it? My job requires fog for 20k machines and lack of pagination on 1.5 means that I need to look at 1.6 and centralization as we call it internally.
Currently we have 7 groups of 3 servers running with 2 as slave nodes for each group, and a bigger server for all of our elementary schools with 30 locations on it. This is mostly a pain because of the number of failure points. 1.6 has been solid except for a few minor things which is honestly impressive and I appreciate everyone that has contributed.
Can you post the relevant lines, or all if you're unsure, of the log files in question.
If on redhat based linux
/var/log/php-fpm/www-error.log I believe. That will help trace this further
Only useful log I was able to find was the apache error log which had to be enabled in the configuration since its not be default. The following is all errors from when apache is restarted all the way to when I try to delete a role from within the access control plugin. I am using php8.1 if that helps narrow it down. I checked the fpm log and it wasn't anything seemingly relevant. I can provide anything else needed, just let me know.
fog-1.6-error.log.txt
tech@fog-01-proxmox:/etc/php$ tail -f /var/log/apache2/error.log [Fri Dec 27 23:31:47.719682 2024] [ssl:warn] [pid 444224] AH01909: 10.255.6.14:443:0 server certificate does NOT include an ID which matches the server name [Fri Dec 27 23:31:47.763083 2024] [ssl:warn] [pid 444225] AH01909: 10.255.6.14:443:0 server certificate does NOT include an ID which matches the server name [Fri Dec 27 23:31:47.768303 2024] [mpm_prefork:notice] [pid 444225] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations [Fri Dec 27 23:31:47.768358 2024] [core:notice] [pid 444225] AH00094: Command line: '/usr/sbin/apache2' [Fri Dec 27 23:32:46.525385 2024] [proxy_fcgi:error] [pid 444230] [client 205.126.67.66:57168] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 450560 bytes) in /var/www/html/fog/lib/fog/fogbase.class.php on line 2447', referer: http://10.255.6.14/fog/management/index.php?node=accesscontrol&sub=list