Page 1 of 2

user management page loads slow

Posted: Thu Feb 20, 2020 2:13 pm
by benhank
When I browse to admin/management /users and click on a user, the page freezes and I cant browse away from it. If I fire up a ssh session and run service httpd restart the page opens like it should.

I know that I am coming in light on the details on this one, but I don't know which logfiles to look at to try to troubleshoot this issue.
I am running the latest version of NLS.

Re: user management page loads slow

Posted: Thu Feb 20, 2020 5:53 pm
by mbellerue
Can you send in a system profile for this system? You can PM it to me, as it may contain some sensitive data. To get a profile, go to Admin -> System Status -> Download System Profile. Send that in, and I will take a look to see what's going on.

Re: user management page loads slow

Posted: Mon Feb 24, 2020 12:07 pm
by benhank
ok sent

Re: user management page loads slow

Posted: Tue Feb 25, 2020 11:36 am
by cdienger
@mbellerue was out yesterday is is out again today. Can you send me the data?

Re: user management page loads slow

Posted: Tue Feb 25, 2020 6:45 pm
by benhank
its ok i can wait untill tommorow

Re: user management page loads slow

Posted: Wed Feb 26, 2020 12:17 pm
by benhank
sent =D

Re: user management page loads slow

Posted: Wed Feb 26, 2020 4:13 pm
by cdienger
Not seeing any obvious issues in the profile. Have you increased the memory setting in php.ini per https://support.nagios.com/kb/article.php?id=132?

Re: user management page loads slow

Posted: Mon Mar 02, 2020 2:16 pm
by benhank
yes I have

Re: user management page loads slow

Posted: Mon Mar 02, 2020 3:41 pm
by cdienger
Please PM me a copy of the current NLS settings which can be exported with:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz

Re: user management page loads slow

Posted: Wed Mar 04, 2020 4:32 pm
by cdienger
It's very odd. The first time I loaded the settings and clicked a user my browser hung for about 10 seconds but since that I can't reproduce any slowness even with deleting and reimporting the settings.

Is this happening with a specific browser and have you tested others? I'd be curious to see if the browser dev tools'(hit F12 to open in the browser) network tab shows anything of interest while you reproduce this.

I assume the problem eventually comes back - how long before you notice it starts to hang again?

Is there anything logged by Apache when you reproduce it? Run "tail -f /var/log/httpd/*' when you go to reproduce it and see if it throws any errors.