R8333 - Unable to set host location (location plugin)
-
@Tom-Elliott This appears to affect anything on the host page actually. Trying to change an image results in the same 500 error. Everything appears to be set appropriate if registering the host for the first time (although still very slow).
-
@MRCUR Try this please:
rm -rf /var/www/fog /var/www/html/fog rm -rf /home/*.BACKUP
Rerun installer.
-
@Tom-Elliott Do you want me to download the latest version before reinstalling?
-
@MRCUR Yes please.
-
@Tom-Elliott I can now successfully change the host location/image/etc. through the UI. Any idea why changing anything on the “General” page would take upwards of 30 seconds (other tabs are fine)? Server load is 0.8/0.9/0.5.
-
@MRCUR I don’t know why. Just a guess, but maybe there’s a ton of images in your environment?
-
@Tom-Elliott Yeah, 52 images. Does it have to loop through them all?
-
@MRCUR Kind of, yes, but no. I’ll see if I can speed up some of the select menus.
-
@Tom-Elliott Okay cool.
It is randomly throwing 500 errors again, but it seems to make the change anyway. Seems about 50/50 whether or not it refreshes & updates without an error vs doing so with an error.
-
@Tom-Elliott Apache error log entries (different from this morning):
[Thu Jun 30 14:21:57.319123 2016] [:error] [pid 8356] [client 172.16.93.45:48740] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/db/pdodb.class.php on line 76 [Thu Jun 30 14:25:15.563080 2016] [:error] [pid 8378] [client 10.0.4.12:59264] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/db/pdodb.class.php on line 172, referer: http://fogserver.domain.org/fog/management/index.php?node=host&sub=edit&id=11790
-
@MRCUR would you mind doing a full reboot to your server?
-
@Tom-Elliott Rebooted, same issue.
[Thu Jun 30 14:51:08.344012 2016] [:error] [pid 1657] [client 10.0.4.12:58799] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 119, referer: http://fogserver.domain.org/fog/management/index.php?node=host&sub=edit&id=11790 [Thu Jun 30 14:51:15.912554 2016] [:error] [pid 2498] [client 172.16.89.45:61396] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 122, referer: http://fogserver.domain.org/fog/management/index.php?node=host
-
Possibly.
-
@Tom-Elliott I wanted to note that we got this working last night but have hit another issue. @MRCUR ive not forgotten or anything just had a busy day. You know I’ll try to make this all work for you and others.
-
@MRCUR said in R8333 - Unable to set host location (location plugin):
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted
That tells me you need to up your memory limit. Instructions are here:
https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Web_Interface -
@Wayne-Workman That error only occurs if I try to do a host change immediately after a server restart. It does not occur any other time.
@Tom-Elliott No problem Tom. I appreciate your help last night. Lots of imaging was able to be done today since groups was working again. We can work on this again next week.
-
@MRCUR Still… you’re hitting a memory limit sometimes which means your very close to the limit. Also your web interface will be much more fluid if you up the memory limit.
-
@Wayne-Workman Fair point - I upped it to 2048 (was at 1024, server has a ton of RAM).
-
@Wayne-Workman Memory, no more, is the issue.
-
@Tom-Elliott good to hear - but some people have large fog systems.