Fog web interface times out loading almost any page
-
I thought that command just saved the fog settings not the hosts and images?
-
When I try to connect to mysql it errors out with error too many connections I will update svn, reboot and try again.
-
Still run into the error ERROR 1040 (HY000): Too many connections
-
@Joseph-Hales said:
Still run into the error ERROR 1040 (HY000): Too many connections
I know what your issue is… you have tons of hosts… you need to increase your maximum connections!!!
There’s a section in this about just that https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL
-
@Joseph-Hales said:
I thought that command just saved the fog settings not the hosts and images?
That feature exports the entire DB. Everything.
-
Ok if someone could make a note in the wiki the my.cnf in ubuntu 14 seems to be located in /etc/mysql/ not the root of /etc/ that fixed my too many connections. It seems the update to 14 deleted my old my.cnf and reverted to the default 100 max connections. after clearing the bad records it seems I lost 1050 records. If I import an older backup made from the web page will it only add records that no longer exist or will it overwrite and delete the new records added since the backup?
-
Ok pages seem better and server load is down but my Task Management page fails to load at all, every other menu option loads normally.
-
@Joseph-Hales said:
If I import an older backup made from the web page will it only add records that no longer exist or will it overwrite and delete the new records added since the backup?
An import will blast your DB and place the import in place. You will loose all changes made since that backup was made.
Of course this doesn’t affect the ACTUAL images made since then, it just affects the image definitions in the DB. Those can be recreated manually via the Web UI. But you have to create them exactly as they were (image type, OS, Exact path and the path is case sensitive).And I’ll make note in the WiKi about Ubuntu 14.
-
So the main fog page shows active and pending tasks but going to task management loads a blank page and truncate jobs and snapins affects 0 rows any ideas this seems to be the only show stopper issue I still have.
-
Ok bit the bullet and restored a backup of the database seems to have fixed the issue I will keep an eye on how it behaves under load today.