Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Nov 23, 2014 4:05 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
This is a long shot. I know, so please bear with me.

I have some 6-7 linodes, smaller ones, from when they were called other things than 1GB, 2GB etc. All running like clockwork.
All pretty much setup in the same way. LEMP stack on Debian. The only thing differing between them is the version of Debian and Nginx, MySql, PHP.

With this new Linode that I got, an 8GB, I've set it up just like I set up the others - a LEMP installation on Debian 7.6 - but here I get this weird problem.

I only run one site on it and it works really good except from time to time - maybe once per hour - it hangs for 2-3 seconds when rendering a page.
I've tried to look into the problem and concluded that it's not MySQL i.e. it's not a query that all of a sudden hangs or is not using index etc.

As I said, it's a fairly unspecific issue and I get that it's a long shot writing about it here but I still wanted to bring this forward in case someone else has had similar problems, just to hear what you did to solve them.

Since this hasn't happened on my other linodes, I also started thinking about what differs between this one and the other linodes and the only thing I can think of is that this new linode has SSD and of course newer versions of Nginx, PHP and also Debian (i.e. the OS itself).

So, anyone who's had similar issues?

Thanks.


Top
   
PostPosted: Sun Nov 23, 2014 4:31 am 
Offline
Senior Member

Joined: Thu Feb 20, 2014 5:06 pm
Posts: 58
Have you ruled out external resources on the page that's stalling (e.g. CSS, JS, images)? See if you can reproduce it using curl or wget.

A slow DNS lookup is another possibility. Check your TTLs.


Top
   
PostPosted: Sun Nov 23, 2014 5:18 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
masonm wrote:
A slow DNS lookup is another possibility. Check your TTLs.


You know what, I think you just hit the nail on the head with that one.
I'm doing a "gethostbyaddr" call on the page where this happens and I sure feel stupid not having thought about that as being the culprit.

Thanks still for making me find it.


Top
   
PostPosted: Sun Nov 23, 2014 5:00 pm 
Offline
Senior Member

Joined: Thu Feb 20, 2014 5:06 pm
Posts: 58
adergaard wrote:
masonm wrote:
A slow DNS lookup is another possibility. Check your TTLs.


You know what, I think you just hit the nail on the head with that one.
I'm doing a "gethostbyaddr" call on the page where this happens and I sure feel stupid not having thought about that as being the culprit.

Thanks still for making me find it.


Happens to the best of us. In the wise words of Kris Buytaert, "Everything is a Freaking DNS problem"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group