Skip to main content
Topic: site slow (Read 2200 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: site slow

Reply #15
I have disabled hostname lookup. Let's see if it fixes the delay..
Thorsten "TE" Eurich
------------------------

Re: site slow

Reply #16
Not to jinx us, but since you turned that off I have not had a slowdown ... interesting !
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: site slow

Reply #17
I haven't had any issues after that was turned off.

Re: site slow

Reply #18
Not to jinx us, but since you turned that off I have not had a slowdown ... interesting !
hostname lookup is cached for 600 seconds, that's why the first request ( most likely not cached) is soo slow. After a quick check the related function host_from_ip() in Subs.php checks:
Code: [Select]
@shell_exec('host...
then
Code: [Select]
@shell_exec('nslookup...
then
Code: [Select]
@gethostbyaddr(...
I'd bet that both shell_exec calls fail.. Maybe should we switch the order of hostname lookups and start with the gethostbyaddr() ?
Thorsten "TE" Eurich
------------------------


Re: site slow

Reply #20
There is something wrong with the home page (http://www.elkarte.net/), it takes several seconds to be loaded and sometimes is not displayed correctly, the right blocks are not displayed. It's somehow random, now seems working fine, but today I saw it 2-3 times loading very slow. Try it also in incognito mode.
The forum is loading fine
Am I the only one with this problem?
sorry for my bad english

Re: site slow

Reply #21
Had not noticed anything, but I don't tend to land on that page.   It's possible that fetching the "latest" data (commits etc) for display was/is causing a page block, maybe GitHub is slow today
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: site slow

Reply #22
Yep, that's what I was thinking as well.
Bugs creator.
Features destroyer.
Template killer.

 

Re: site slow

Reply #23
It's a few days that randomly I get page loads way out of the average like this one few moments ago:
Page created in 13.742 seconds with 18 queries.
It almost feels like it's recaching too frequently the CSS/JS hives...
Bugs creator.
Features destroyer.
Template killer.