Inbound Routes takes 2 minutes to load

We are using FreePBX (migrated from 13), and it takes a full two minutes to load the list of inbound routes. Any idea what would cause this? We currently have 30 inbound routes. Other pages such as extensions and user listings load in seconds.

I looked at performance logging, and found this chunk in the logs while loading the page:

OUT > 
==> /var/log/asterisk/freepbx.log <==
[2019-Aug-30 11:54:11] [WARNING] (core/ - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/ on line 860
OUT > [2019-Aug-30 11:54:11] [WARNING] (core/ - Depreciated Function core_did_list detected in /var/www/html/admin/modules/core/ on line 907
OUT > 
==> /var/log/asterisk/freepbx_dbug <==
2019-Aug-30 11:54:11	/var/www/html/admin/libraries/BMO/Performance.class.php:118

    [type] => PERF
    [str] => processHooks-Contactmanager::usermanAddContactInfo_start
    [now] => 1567191251.625433
    [timediff] => 128.163869
    [mem] => 43.99688 MB
    [memdiff] => 35.612595 MB
    [file] => /var/www/html/admin/modules/userman/Userman.class.php:1210

I assume there’s a bad record in the database.
I would try to export it all, delete all records, if it loads properly then import it and see if it’s good now.

Or when you deleted all records take a look in the database if there’s any “leftovers”.

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