Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: linode and cloudflare
PostPosted: Sat Jun 18, 2011 9:48 am 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
ive been using cloudflare for 24 hours now and it seems to really slow down my site. ive read all their docs, pared most of the options back, am running no apps, etc. i did notice some talk over there that some hosts dont play well with cloudflare, godaddy being the most mentioned offender.
im curious if anyone is running their linode through cloudflare and what their experience has been. is there some trick to experiencing the sweet joy so many talk about?


Top
   
 Post subject:
PostPosted: Sat Jun 18, 2011 11:03 am 
Offline
Senior Member
User avatar

Joined: Fri Dec 11, 2009 7:09 pm
Posts: 168
I've been using Cloudflare since they were in Beta, and never had much of a problem, though it does seem to speed up my static websites more than my Wordpress sites.

_________________
--
Chris Bryant


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 1:55 am 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 1:44 am
Posts: 10
Website: http://cloudflare.com
bryantrv wrote:
I've been using Cloudflare since they were in Beta, and never had much of a problem, though it does seem to speed up my static websites more than my Wordpress sites.


GoDaddy shouldn't be an issue. Did you make sure that you don't have anything blocking or limiting our requests at the host or server level? Some quick things to check:

http://www.cloudflare.com/wiki/I_keep_s ... Offline%22


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 12:55 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
do we know for certain that the cloudflare ips are whitelisted by linode and are not being throttled?

_________________
linode 512, ubu 10, apache2, php, mysql


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 1:12 pm 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
Linode doesn't have any 'whitelist' for them to be on in the first place...


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 6:06 pm 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 1:44 am
Posts: 10
Website: http://cloudflare.com
JshWright wrote:
Linode doesn't have any 'whitelist' for them to be on in the first place...


Staff from Linode could answer this. I do know that some services throttle if they a lot of connections coming from certain IPs, something that could happen because we act as a reverse proxy, so installing mod_cloudflare to pass along original visitor IPs might help as well.

http://www.cloudflare.com/wiki/Log_Files


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 7:03 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
JshWright wrote:
Linode doesn't have any 'whitelist' for them to be on in the first place...
i cant imagine anyone running a pro network that wouldnt have some sort of precautions against ddos and the like.

damoncloudflare wrote:
JshWright wrote:
Linode doesn't have any 'whitelist' for them to be on in the first place...


Staff from Linode could answer this. I do know that some services throttle if they a lot of connections coming from certain IPs, something that could happen because we act as a reverse proxy, so installing mod_cloudflare to pass along original visitor IPs might help as well.

http://www.cloudflare.com/wiki/Log_Files
i spent an entire evening trying to compile that, but it failed relentlessly. no amount of installs and google-foo could solve my problems. it sure would be great if somebody knew where to find a compiled .so

_________________
linode 512, ubu 10, apache2, php, mysql


Top
   
PostPosted: Thu Jun 23, 2011 7:36 pm 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 1:44 am
Posts: 10
Website: http://cloudflare.com
Do you know what the errors were? Our engineers can generally figure out what was causing the compiling issue. I would simply need the error codes you were getting back from your install attempt.


Top
   
 Post subject:
PostPosted: Thu Jun 23, 2011 7:58 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
carol wrote:
i cant imagine anyone running a pro network that wouldnt have some sort of precautions against ddos and the like.


By default, there is a 50 Mb/sec rate limit on outgoing traffic from each Linode. As far as I can tell, that is all the filtering that occurs upstream of an individual Linode, unless there actually is a DDoS.

damoncloudflare wrote:
Staff from Linode could answer this. I do know that some services throttle if they a lot of connections coming from certain IPs, something that could happen because we act as a reverse proxy, so installing mod_cloudflare to pass along original visitor IPs might help as well.


I've not noticed this happening, even with obviously bad traffic. Last week, I handled ~150 SIP registration attempts per second from one IP address. Lasted about 18 hours until I got around to iptablesing it. Then again, it was only about 1.5 Mb/sec, which is small potatoes in the grand scheme of things.

How many hits/second are we talking about here?

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


Top
   
PostPosted: Fri Jun 24, 2011 12:41 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
damoncloudflare wrote:
Do you know what the errors were? Our engineers can generally figure out what was causing the compiling issue. I would simply need the error codes you were getting back from your install attempt.
Code:
root@mars:~# apxs2 -iac mod_cloudflare.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread     -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0   -c -o mod_cloudflare.lo mod_cloudflare.c && touch mod_cloudflare.slo
/usr/share/apr-1.0/build/libtool: line 970: i486-linux-gnu-gcc: command not found
apxs:Error: Command failed with rc=65536

ubuntu 10.04.2

Code:
root@mars:~# ls /usr/bin/gcc*
/usr/bin/gcc  /usr/bin/gcc-4.1  /usr/bin/gccbug-4.1

_________________
linode 512, ubu 10, apache2, php, mysql


Top
   
 Post subject: Thanks!
PostPosted: Fri Jun 24, 2011 1:32 pm 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 1:44 am
Posts: 10
Website: http://cloudflare.com
Checking it out with our mod_cloudflare wiz.


Top
   
 Post subject: Re: Thanks!
PostPosted: Fri Jun 24, 2011 1:43 pm 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 1:44 am
Posts: 10
Website: http://cloudflare.com
damoncloudflare wrote:
Checking it out with our mod_cloudflare wiz.


Here's what he suggested trying:


/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -c -o mod_cloudflare.lo mod_cloudflare.c


Top
   
 Post subject:
PostPosted: Sun Jul 03, 2011 10:53 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
that compiles but the resulting module kills apache.

_________________
linode 512, ubu 10, apache2, php, mysql


Top
   
 Post subject:
PostPosted: Fri Jul 15, 2011 12:08 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
can somebody with more skill please compile mod_cloudflare for me? i have spent so many hours on this :(
http://www.cloudflare.com/wiki/Log_Files

_________________
linode 512, ubu 10, apache2, php, mysql


Top
   
 Post subject:
PostPosted: Tue Jul 19, 2011 10:26 am 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
given up on cloudflare.
its a great idea, but its too much of a pain in the ass to get running well.

_________________
linode 512, ubu 10, apache2, php, mysql


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


Who is online

Users browsing this forum: No registered users and 1 guest


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