Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Apr 04, 2013 5:07 pm 
Offline
Senior Newbie

Joined: Sun Jan 15, 2012 9:24 am
Posts: 10
Hello everyone.

I'm hosting a news portal on my 1024 linode. The portal is often visited by a news agregator which has enormous populatrity. That news agregator is THE most visited web service in my country.

Whenever an articles gets promoted on the landing page of this agregator, I witness the reddit effect on my traffic graphs. I suppose this happens because of the small thumbnail displayed by the short news paragraph which seems to get pulled from the source (my news portal) each time a new visitor opens the agregators landing page.

The portal is made with Wordpress on Apache in prefork with nginx proxy for static content, caching plugin, apc opcode cache, etc, etc...
The problem is that my VPS gets completly lagged when the reddit effect appears. I can hardly ssh to it, let alone do something else with it. What is more confusing, processor time doesn't go beyond 60%, and there is plenty of free memory to go around, yet the whole server gets incredably slooooooow... often with timeouts.

Now. Since nginx is the proxy which serves static content, and the agregator pulls only that one picture from that one news which got promoted at that point of time, I tend to blame nginx or the nginx-apache communication for all this mess.
But I am not sure since I am not a networking expert. Would love to hear your thoughts thоu.


Thank you,
Gjoko.


Top
   
PostPosted: Thu Apr 04, 2013 5:38 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
I can't tell what's going on without more information. Maybe longview would help here?

Is there some reason you need apache? Nginx handles load better.

* Check all the log files for obvious warnings or errors.
* Think about installing varnish in front of the web stack.
* Check APC (assuming you are using it) has enough ram although if the load isn't touching PHP that's not the problem.
* Cloudflare might just solve all your problems.


Top
   
PostPosted: Thu Apr 04, 2013 6:00 pm 
Offline
Junior Member

Joined: Wed Jul 04, 2012 11:08 am
Posts: 34
Are you peaking your available bandwidth perhaps? If you have not booted in a while it could still be at 50Mbps.
I've observed some significant "bufferbloat" issues with Linode's shaper when that limit was reached before, causing very bad performance and timeouts.


Top
   
PostPosted: Sun Apr 07, 2013 1:04 am 
Offline
Senior Member

Joined: Wed Jun 27, 2012 10:00 pm
Posts: 87
Website: http://hemonc.org/wiki/Main_Page
sednet wrote:
Cloudflare might just solve all your problems.


It'd probably at least help out some and is pretty painless/free to set up.

_________________
Amateur, eager to learn.
My hematology, oncology, and chemotherapy regimen wiki


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


Who is online

Users browsing this forum: No registered users and 2 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