Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 08, 2012 8:10 pm 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:07 pm
Posts: 4
'm having some issues with my static content taking too long to load and sometimes returning a 404 - http://tools.pingdom.com/fpt/#!/dW8cijS7p/http://shortsaleinsandiego.com/

nginx config - http://p.linode.com/6403


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 9:44 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Do you have any iptables rules set up to rate-limit SYN packets? On a page load, I sent a total of 130 SYN packets in 48.9 seconds and only had 66 successful connections. A web page is going to load very slowly when ~50% of the connections are dropped.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 5:58 am 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:07 pm
Posts: 4
Nothing in the iptables rules to rate-limite SYN packets.


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 8:28 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Hmm.

Pastebin the output of "iptables -L -n -v" and the contents of /etc/sysctl.conf and anything in /etc/sysctl.d...

Also, did you change IPs overnight? Things were on a different IP address when I did the packet captures last night, that's for sure...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 11:48 am 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:07 pm
Posts: 4
I took some of the sites off the node balancer and saw a huge performance increase for the static content. I'm wondering if the node balancer is causing the issue.

joedickson.net is being served through the node balancer and continues to have these issues but the other site above is being served directly and doesn't have the issues.


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 2:57 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Hmmm... you didn't mention NodeBalancer initially. That would be a significant variable there...

Are all of your backend nodes performing properly if you connect to them directly? Are you set for passive or active health checks?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 3:50 pm 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:07 pm
Posts: 4
Turns out it was the Client Connection Throttle for the Node Balancer.


Top
   
 Post subject:
PostPosted: Fri Mar 09, 2012 7:06 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Ah! Good to know that the setting works very well :-) -rt

_________________
Code:
/* TODO: need to add signature to posts */


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