I have installed phplist on a Red Hat Enterprise Linux server and the admin pages are horribly slow, we can’t work with that it’s really really slow. From the clients side everything is good, the pages loads real fast and the login page load like in a tenth of a second. And when I say slow I mean like 40 to 60 seconds before loading a page in the admin side of the app. It’s my first setup of phplist, we had an old version running on an old RHEL6 server and we wanted to get up to date on versions so we decided to start anew with a new RHEL7.9 server and the latest version of everything needed for phplist, but we have that problem and I can’t find what’s wrong, my server ressources aren’t the problem,if I check all ressources (CPU, MEM, Disk, etc…) are under 1% of utilization. I’ve read other threads about the admin pages slow, but I think my problem is not the same as the solutions didn’t work / apply.
My setup :
RHEL v.7.9
PHP v.5.4.16
PHPList v.3.5.9
Apache v.2.4.6
MySQL server v.5.7.24 (it’s on another server and I’ve check the ressources there too and nothing seems to be a problem)
Any ideas or a way to pinpoint the problem would be really appreciated.
@Eric I guess that phplist might be trying to check on the latest version or something similar. Do you have outbound http connections enabled and not blocked by a firewall?
@duncanc Thanks again for your quick response. I tried to change my config file to put the ALLOW_UPDATER as false, but it didn’t change anything, the admin side of the site is strill really slow. I asked my telecomm/security team to give access to phplist.com and phplist.org on port TCP80 for my server so I’ll wait till then to see if it fixes my issue, I will update this thread when it’ll be done.
The site is now responding really fast, so it was a connection needed to download.phplist.org:443 that I asked my security teams to open from my server that fixed everything. I asked them to open all of phplist.org and com but I will try to narrow it down to only download… to see if it’s the only needed connection for a phplist server to work fine. I’ll post my results here, thank you again to @duncanc for the help on that issue !
@Eric Ah, I thought that the ALLOW_UPDATER config would have disabled that but have realised that is only in the latest release 3.6.0. There was a change to that effect.
You can try installing that version to avoid phplist checking for updates.
Hello,
I have the same problem, I tried the entry ALLOW_UPDATER to false in the config file and updated PHPLIST to 3.6.13. But still, everytime I click on something it takes 15-20 sec to load, sometime even more.
The import page is not even beeing loaded. The browser console shows :
@accorinti The screenshot shows two messages getEmbedInfo and NO OEMBED coming from file content.js
I don’t think that file has anything to do with phplist, so look on the Network tab to see where it is being loaded from. Possibly you have a browser extension that is doing something you don’t want.
@accorinti There appears to be a problem with phplist trying to retrieve the URL of the latest version. Possibly your server does not allow outgoing connections.
Ensure that in config.php ALLOW_UPDATER is set to false or 0 and disable the Updater plugin on the Manage Plugins page. That should stop phplist trying to retrieve that file.