FreePBX 14 GUI very slow

The GUI is super slooow logging in, pulling up the dashboard and going to other functions within the GUI.

I have added the IP and hostname to the DNS server which helped a bit for some things, the first entry in DNS setting on the unit is 127.0.0.1

Here’s what I pulled from running fwconsole debug

[root@FreePBX ~]# fwconsole debug
±----------------------+
| FreePBX Notifications |
±----------------------+
OUT > ==> /var/log/asterisk/freepbx_dbug <==

==> /var/log/httpd/error_log <==
140466771507088:error:0200100D:system library:fopen:Permission denied:bss_file.c:402:fopen(’/etc/pki/tls/certs/localhost.crt’,‘r’)
140466771507088:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:
unable to load certificate
[Thu Aug 29 18:38:55.443293 2019] [mpm_prefork:notice] [pid 1230] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Aug 29 18:38:56.443693 2019] [core:notice] [pid 1230] AH00052: child pid 12117 exit signal Segmentation fault (11)
[Thu Aug 29 19:42:34.704777 2019] [suexec:notice] [pid 1324] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Aug 29 19:42:34.772183 2019] [auth_digest:notice] [pid 1324] AH01757: generating secret for digest authentication …
[Thu Aug 29 19:42:34.772849 2019] [lbmethod_heartbeat:notice] [pid 1324] AH02282: No slotmem from mod_heartmonitor
[Thu Aug 29 19:42:35.735719 2019] [mpm_prefork:notice] [pid 1324] AH00163: Apache/2.4.6 (Sangoma) OpenSSL/1.0.2k-fips PHP/5.6.40 configured – resuming normal operations
[Thu Aug 29 19:42:35.735750 2019] [core:notice] [pid 1324] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’

==> /var/log/asterisk/freepbx_security.log <==
[2019-08-29 15:08:32] Authentication failure for vsradmin from 192.168.2.11
[2019-08-29 15:08:32] Possible proxy detected, forwarded headers forvsradmin set to

==> /var/log/asterisk/freepbx.log <==
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module queuestats, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module qxact_reports, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module recording_report, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module restapps, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module sangomacrm, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module sipstation, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module soundlang, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module userman, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module vqplus, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
[2019-Aug-29 21:13:41] [freepbx.INFO]: Deprecated way to add Console commands for module zulu, adding console commands this way can have negative performance impacts. Please use module.xml. See: https://wiki.freepbx.org/display/FOP/Adding+fwconsole+commands [] []
OUT > [2019-Aug-29 21:16:52] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2019-Aug-29 21:16:52] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT > [2019-Aug-29 21:16:53] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
[2019-Aug-29 21:16:53] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
OUT > [2019-Aug-29 21:18:13] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
OUT > [2019-Aug-29 21:18:13] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76

Here’s what is in functions.inc.php between lines 67 and 76 since those two are referenced

 67         $um = module_getinfo('userman', MODULE_STATUS_ENABLED);
 68         if(file_exists($amp_conf['AMPWEBROOT'].'/admin/modules/userman/functions.inc.php') && (isset($um['userman']['status']) && $um['userman']['status'] === MODULE_STATUS_ENABLED))         {
 69                 include_once($amp_conf['AMPWEBROOT'].'/admin/modules/userman/functions.inc.php');
 70         }
 71 }
 72
 73 //Ensure that the manager module has loaded. If not, load it.
 74 if(!function_exists('manager_add')){
 75         global $amp_conf;
 76         $um = module_getinfo('manager', MODULE_STATUS_ENABLED);

I noticed in debug it throws those bits about lines 67 and 76 and suddenly the GUI responds

Any ideas?

This unit is running as a VM on VMWare ESXi 6.7. All was running well, shut the FreePBX down and took a VM snapshot, booted it back up and now slow GUI.

Did taking a VM snapshot while shut down cause the issue?

How are the VM resources? Do you see any high CPU or I/O usage while trying to access the HTTP GUI?

No, they’re not high. I remove a network interface that was going to be the SIP input and changed the other network interface back to DHCP and that seemed to fix most of the issues as it seemed to be waiting for DNS response. The dashboard and everything is responsive in the GUI now, but mail is not going out and on the dashboard Asterisk is stuck at system running for 8 min 43 seconds for over an hour now. Also Restapps did not restart on its own after a reboot.

Still getting the bit about depreciated function in that module lines 67 and 76 while running debug

Those are messages that are not related to your issue. It is just warning you that FreePBX is using deprecated functions and everybody using FreePBX distro is getting those same messages.

If you modified your network settings and somehow they ended misconfigured, you are probably going to experience this kind of issues.

The only thing that remains is on the dashboard, the Asterisk is stuck at 8 minutes 45 seconds runtime and is not updating. The system has been running for hours now

1 Like

So what you mean is that the dashboard widgets are not refreshing? Unfortunately, that is a frequent issue and so far I haven’t found a solution for that. In my case, the Asterisk graphics only work for hour and day, but week and month are not working.

Yes, the dashboard widget for Asterisk is not updating at all. Stuck with the triangle about running less than 20 minutes and SysInfo updated -20769 seconds ago.

Looks like something went wonky as it’s showing a negative time for sysinfo

Not a super big deal, just gets my OCD a bit of a flare. The negative sysinfo is counting down so maybe it will start working when it gets a positive count

You can try rebooting the server, but yes, you will have to control your OCD for the time being :stuck_out_tongue:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.