Page 1 of 1

Login takes almost 2 minutes

Posted: Mon Sep 27, 2021 11:26 am
by OpsTeam
Since we've upgraded to 5.8.6, logging in takes almost 2 full minutes to complete after clicking the login button. Has anyone experienced this before? Is there a log file I can look for potential causes somewhere? I don't know if it matters but we're on php 5.4.16. I'm working on getting us up to a supported php version but wanted to get this post out there to see if anyone could help.

Re: Login takes almost 2 minutes

Posted: Mon Sep 27, 2021 12:38 pm
by itunixops
In my experience we had the same problem. When you upgrade to that version follow the steps to make sure you upgrade the db to the INNODB. There are steps which are documented which are a big help. I did it and my systems went from slug to zoom :) Seriously though you should also make sure your php is at 7.3 or better. There are steps in the nagios forums to show how to do an upgrade to php 7.3 or higher. You will notice alot of improvement after that.

Re: Login takes almost 2 minutes

Posted: Tue Sep 28, 2021 10:07 am
by pbroste
Hello @OpsTeam

Thanks for reaching out, we want to check to see if the advice from @Itunixops helped resolve your issue. We see that @Itunixops referenced utilizing and optimizing storage engine for the database management system INNODB for your database. Please let us know how things look.

If you want us to take a further look into this issue please follow up and send over the System profile via [PM].

Please PM your updated system profile for us to review.

To send us your system profile.
  • Login to the Nagios XI GUI using a web browser.
  • Click the "Admin" > "System Profile" Menu
  • Click the "Download Profile" button
  • Save the profile.zip file and send via Private Message
Thanks,
Perry

Re: Login takes almost 2 minutes

Posted: Wed Oct 06, 2021 8:25 am
by OpsTeam
itunixops wrote:In my experience we had the same problem. When you upgrade to that version follow the steps to make sure you upgrade the db to the INNODB. There are steps which are documented which are a big help. I did it and my systems went from slug to zoom :) Seriously though you should also make sure your php is at 7.3 or better. There are steps in the nagios forums to show how to do an upgrade to php 7.3 or higher. You will notice alot of improvement after that.
I never received a notification for your reply! My apologies for not responding. I did notice the version of PHP is pretty far behind. We'll get that upgraded and see if it fixes the issue. Thank you!!

Re: Login takes almost 2 minutes

Posted: Wed Oct 06, 2021 12:32 pm
by pbroste
Hello @OpsTeam

Thanks for following up, sounds like you will look into updates and want to provide the upgrade documentation as well.

Please let us know if you have further questions going forward,
Perry

Re: Login takes almost 2 minutes

Posted: Thu Oct 07, 2021 1:43 pm
by OpsTeam
itunixops wrote:In my experience we had the same problem. When you upgrade to that version follow the steps to make sure you upgrade the db to the INNODB. There are steps which are documented which are a big help. I did it and my systems went from slug to zoom :) Seriously though you should also make sure your php is at 7.3 or better. There are steps in the nagios forums to show how to do an upgrade to php 7.3 or higher. You will notice alot of improvement after that.
I upgraded us to php 7 but we're still seeing long durations of logging in. I've also rebooted the server just in case. Are there any boot logs I can look at that might tell me where the issue is?

Re: Login takes almost 2 minutes

Posted: Fri Oct 08, 2021 10:50 am
by pbroste
Hello OpsTeam,

Want to take a look at the Web browser > Developer Tools > Network Tab; login to the web console and let us know what process it is hanging on. Look at the 'load time(s)' will see a hanging line or error notification.

Example attached.

Thanks,
Perry