Page 2 of 2
Re: access "Home" very slow
Posted: Tue Jun 16, 2020 4:06 pm
by cdienger
I've attached a modified home.php file(/var/www/html/nagioslogserver/application/views/home.php) which removes the graphs and counts it does on the home page. Replace the existing one with the one attached and make sure the permissions are set:
Code: Select all
chown root:root /var/www/html/nagioslogserver/application/views/home.php
chown 644 /var/www/html/nagioslogserver/application/views/home.php
You'll need to do this on each machine in the cluster. Let us know if this fixes the slowness issue. It will help us determine what may be causing the slowness and if there is something we can do about it.
Note: the file attached is named home.txt due to extension restrictions on this board. Make sure to rename it to home.php after downloading it.
Re: access "Home" very slow
Posted: Thu Jun 18, 2020 9:05 pm
by winsonlee
cdienger wrote:I've attached a modified home.php file(/var/www/html/nagioslogserver/application/views/home.php) which removes the graphs and counts it does on the home page. Replace the existing one with the one attached and make sure the permissions are set:
Code: Select all
chown root:root /var/www/html/nagioslogserver/application/views/home.php
chown 644 /var/www/html/nagioslogserver/application/views/home.php
You'll need to do this on each machine in the cluster. Let us know if this fixes the slowness issue. It will help us determine what may be causing the slowness and if there is something we can do about it.
Note: the file attached is named home.txt due to extension restrictions on this board. Make sure to rename it to home.php after downloading it.
i replace new home.php it's same
then i remove all content from home.php, just type "blank page" only, it's still slow.
Re: access "Home" very slow
Posted: Fri Jun 19, 2020 1:47 pm
by cdienger
Please provide a copy of the home.php you are using to make the page blank.
How long does it take to load the page?
Does the browser's dev tools show any points of slowness? Open it by hitting F12 while in the browser, go to the network section, and then load the home page. I should give you information regarding the items it loads for that page and how loing it takes for each item.
In Chrome you can export the data. Please do this and provide the HAR file.
Re: access "Home" very slow
Posted: Fri Jun 19, 2020 8:15 pm
by winsonlee
cdienger wrote:Please provide a copy of the home.php you are using to make the page blank.
How long does it take to load the page?
Does the browser's dev tools show any points of slowness? Open it by hitting F12 while in the browser, go to the network section, and then load the home page. I should give you information regarding the items it loads for that page and how loing it takes for each item.
In Chrome you can export the data. Please do this and provide the HAR file.
all info in attached file, thans for your help
Re: access "Home" very slow
Posted: Mon Jun 22, 2020 1:05 pm
by cdienger
Instead of going to imp-log-p04.fetcp.net.tw/nagioslogserver, try using the IP:
http://172.17.38.121/nagioslogserver
Re: access "Home" very slow
Posted: Tue Jun 23, 2020 3:14 am
by winsonlee
it's fast more a little today better then yesterday, but it still need about 7 sec
and in blank page, press F5 reflash "Blank Page" still need 7 sec too
it look like didn't fix for this problem for use ip in browser
Re: access "Home" very slow
Posted: Tue Jun 23, 2020 4:17 pm
by cdienger
Run a tcpdump on the NLS server while you login and load the home page:
Code: Select all
yum -y install tcpdump
tcpdump -s 0 -i any -w output.pcap
Let this run just long enough for you to login and load the page and use CTRL+C to stop it. PM me the output.pcap(zip it first) and note how many seconds it took to load.
Re: access "Home" very slow
Posted: Tue Jun 30, 2020 1:13 am
by winsonlee
cdienger wrote:Run a tcpdump on the NLS server while you login and load the home page:
Code: Select all
yum -y install tcpdump
tcpdump -s 0 -i any -w output.pcap
Let this run just long enough for you to login and load the page and use CTRL+C to stop it. PM me the output.pcap(zip it first) and note how many seconds it took to load.
already send file via pm, thanks
Re: access "Home" very slow
Posted: Tue Jun 30, 2020 4:27 pm
by cdienger
I do see huge delay with one of the requests, but the tcpdump was filtered to capture only the port 80 traffic and I was hoping to see this and port 9200 traffic at least. Can you run it again without the filter or filter it so that we capture both port 80 traffic and port 9200?