manual local backup hangs webui

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

manual local backup hangs webui

Post by devildog31415 »

OVF image download running on vmware, nagios version 2014R2.0 64-bit.
Don't even have any hosts setup, ran a local backup consistently comes to 47.44MB but interface is hung and have to "reboot" from console.
I have let it sit as long as 20 minutes which seems like a long time for a fresh install with nothing in the config but 5 user accounts and scheduled daily backups (limited to 7 total).
Help please.

notes:
4 vCPU
8 GB memory
vsphere performance tab shows cpu staying doubled from 2.5% to 5% once I start the backup, memory eventually drops but cpu stays spiked.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: manual local backup hangs webui

Post by devildog31415 »

It took 30 minutes for a manual backup to stop hanging the webui and for cpu usage to drop back down.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: manual local backup hangs webui

Post by WillemDH »

Hey devildog,

Never used Local backup, but this might be related to my issue described here: http://support.nagios.com/forum/viewtop ... 9&start=10 => When I start quick action to long running script, the browser hangs untill it it finished. You could use scheduled backup?

Grtz
Nagios XI 5.8.1
https://outsideit.net
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: manual local backup hangs webui

Post by devildog31415 »

Thank you for the reply.
I have scheduled backups configured and that will answer my needs, but it doesn't address the issue. Clicking a button in the webui should not come with the caveat of "please now wait to work for 30 minutes".

Your input IS APPRECIATED and that will help me with production but it isn't the answer to the question.

Thank you
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: manual local backup hangs webui

Post by sreinhardt »

Thanks for the submission devildog, we'll have to give it a try and see if we get the same results. In answer to willem's post, this might be inadvertently similar, but I believe this should function fundamentally different. We fully expect backups to take time, and do NOT(or at least should not) force javascript processes to wait on it to finish. However it is very odd that it only happens on this otherwise long action. Would I be correct in expecting that you can open a new tab or browser window entirely and connect to the webui OK with the new session, even though the backing up one is locked?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: manual local backup hangs webui

Post by devildog31415 »

negative. I am not able to open and access another tab going to the webui.. it just sits there.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: manual local backup hangs webui

Post by jomann »

I actually just fixed this earlier today. It's basically waiting for the backup to complete but it doesn't ever stop. You can restart apache to get it to allow you to use the web UI again. The fix will be in the next version of Nagios XI which is coming in the next two weeks.

I've attached the new component if you'd like to use it with the fixed timeout functionality now. You can upload it via the web UI.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: manual local backup hangs webui

Post by devildog31415 »

Thank you!
Since you have a time line that is only 2 weeks out I will let the update address it. I'm glad there is a fix though.
Please mark this as resolved.

Thank you again
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: manual local backup hangs webui

Post by cmerchant »

We'll go ahead and close this thread for now. I will post an update here when XI has an update released with the fix. Thanks.
Locked