Admin pages extremely slow on v.3.5.9

Hi,

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.

Thank you very much and have a great day !

Eric

@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 Thank you for your answer !

This server is a dev server and it has no access to the internet at all, so is there a way to disable this feature to check for updates and else ?

Thank you and have a great day !

@Eric There are a few places where phplist accesses phplist.com or phplist.org - code update, language update, news.

Try defining ALLOW_UPDATER as false in config.php to not check for code updates. Not sure it is easy to disable the others.

@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 :

Then by pages that are finally loaded, the console shows a lot of
GET
https://newgiftsstore.com/newgs/script-007.htm

This has been going on since a long time now, is there a solution?

@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.

Hello Duncan, thanks for answering. I tryed the same in chrome. As you can see, it take 15 seconds to load the page…

Here another page, almost 16 seconds:

When I click somewhere it says “pending” in the field where at the end shows 15.85 Seconds

Hope you can help…

@accorinti Try making this change to the config.php file, which will provide more detailed output on the Event Log page

define('VERBOSE', true);

then look on the Event Log page for any problems reported.

It was already set to 1

this is the event log since last login:

It looks like, it is always downloading something (or trying to)

@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.

It was the updater plugin, as soon as I disabled it, the waiting was gone :slight_smile:

THANKS A LOT!