Dashboard takes one minute to load

I did have same problem. When i login the dashboard. Dashboard loading is going to %85 and then waiting a few minutes. It is very annoying problem. I checked dashboards modules. The problem was system overview module. Finally I did resolve this.
Firstly I am connected server via ssh. Then, i did write “mailq” command. And this command result of a few minutes. My problem is postfix settings. I did check my server host name with “hostname” command. My host name is not qualyfied. Hostname is invalid. It hasnt got dns records. I removed invalid hostname from “/etc/sysconfig/network”, “/etc/sysconfig”, “hostname”. I restarted with “/etc/init.d/network restart” command. Then, I did write “mailq” command. This command result did come of instantly. Finally, I did refresh dashboard. And Problem is fixed…


EUREKA!!! Thank you so much devsoftazilim.

I checked what you said me but seems to be correct all. But you give me the clue to solve the problem. After checking my hostname y saw that was correct, what I had to do is edit “/etc/host” file and leave it like this: localhost hostnameofmymachine
::1 localhost hostnameofmymachine
Reload network settings and that’s it!


1 Like

Looks like freepbx does a dns lookup for the name of the host it is running on when you click “Dashboard”. I found the host it was looking for by running ‘tcpdump port 53’. I then added the host name to /etc/hosts using ip

It loads without delay now.

It actually does a sendmail right when dashboard loads. If it’s slow for you then it’s because your sendmail is misconfigured. Now is that a bug in FreePBX? Yes. But if you want it fixed now fix your sendmail.


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