Login takes almost 2 minutes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
OpsTeam
Posts: 10
Joined: Fri Oct 19, 2018 10:47 am

Login takes almost 2 minutes

Post 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.
itunixops
Posts: 50
Joined: Tue Jul 28, 2020 12:27 pm

Re: Login takes almost 2 minutes

Post 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.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Login takes almost 2 minutes

Post 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
OpsTeam
Posts: 10
Joined: Fri Oct 19, 2018 10:47 am

Re: Login takes almost 2 minutes

Post 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!!
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Login takes almost 2 minutes

Post 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
OpsTeam
Posts: 10
Joined: Fri Oct 19, 2018 10:47 am

Re: Login takes almost 2 minutes

Post 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?
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Login takes almost 2 minutes

Post 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
You do not have the required permissions to view the files attached to this post.
Locked