Speed of page loads

Hi, silly question - but how fast should I expect suite crm to work - I am getting some very protracted delays on the installation I have done… basically I am deploying this for a client and I have set the php.ini to the max for the server they have and now I messing around familiarising myself with the program but it feels very sluggish - sign in for instance 10-15 seconds - navigating through the admin and settings such as the currencies its taking - well I stopped counting at 40 seconds lol - so I guess before I spend too long messing around is there anything obvious I am missing here? or is thus what I should expect (I am on a 300mbps synchronous fibre to premisess connection ) the hosting of the site is using cloudflare which I know caches on its cdn so wondered if that was a good or bad thing ? so helo please and thank you in advance for any help or suggestions

Hi, welcome to the Community! :tada:

It could be many things, but the first thing I’d try is increasing memory settings.

Since you mention php.ini, I guess you already tried that, but people often face problems getting their settings to be effective.

If you add this file to your web root (/public in SuiteCRM v8)

<?php
      phpinfo();
?>

Call it phpinfo.php and give it execute permissions, then you should be able to access it at www.yourserver.org/phpinfo.php and check your effective permissions.

If you can’t find there, but you find it at www.yourserver.org/public/phpinfo.php you need to fix your web root and mod_rewrite, but at least you can start by checking the PHP settings so it works faster.

thank youy so much for taking the time to reply - okay I have set the php to 7.4 (I do havehigher available BUT believe that to be the best version?) so that I set in the .htaccess. Looking at phpinfio - there is the - with the php.ini I thought these were pretty generous settings -

max_execution_time = 600
post_max_size = 200M
upload_max_filesize = 512M
memory_limit = 1024M
max_input_time = 60
max_input_vars = 9000
default_socket_timeout = 90

the server can support more but things are running slow and trying to work out where - I have checked and things like OPCache is up and running - so neeed to know where any other bottle necks can be? (this is a clean install buy the way so its running slow with no info in it (Im very familiar with php/mysql etc… this just happens to be the first time I have ever used suite crm - so appologies if I might be looking in the wrong places and I vey much appreciate any help

What version of SuiteCRM are you on? If the version you are supports PHP 8+, you’ll find it much faster.

update - sorry PHP version 8.1 the 7.4 was fatal error (thats what reading and not listening does for you _ so same everything except php version 8.1.28

Please confirm, are those the effective values as shown through phpinfo, or are those your php.ini settings?

If they are effective, they should be more than enough and your performance problem lies elsewhere.

thank you for replying both version 8.1 is the php and yes those are effective values and are what is being assigned in the phpinfo - so I am thinking it has to be something like the database so checking that out fully … OI opened the ticket initially to see if it was usual for the site to be slow - so now on a concerted effort to fix it - thank you for the input

Hello Richard,

that isn’t normal.
If you check my videos, you’ll see how fast SuiteCRM usually is:

https://www.youtube.com/@bastianhammer-it/videos

I’m usually on PHP 8.3, when supported.

Can you try it locally on a VM or similar?
Then it’ll be easier to see the difference and try to apply it to the VPS.

Your values all look good, I’m afraid that will take some time debugging, where the issues come from.
I usually try to reduce / deactivate all services / “special” / “unnecessary” software (CPanel, SELinux, Varnish, Fail2ban, etc.) to a vanilla LAMP and start from there.

As for the DB: Yes, there are quite a few requests to the DB on every load.
If you have multiple other websites on the same VPS and if bing / google and/or other crawlers currently visiting, it could be that your CRM loads notable slower.