Re: Unable to get caching working

2013-07-03 Thread AJ Roberts
Hi, 
Thanks for the reply, i have tried setting that first, the Cache Backend is 
currently set to Memcached and 127.0.0.1:11211

i have confirmed that 127.0.0.1:11211 works using memcached-tool and i 
can connect and successfully dump stats out. Is there a possibility that i 
have messed up something in settings_local? if so how would i go about 
resetting this, i did try and create another RB site to produce another 
local_settings and i could not see and differences between the two files.

Cheers

Alex

On Tuesday, 2 July 2013 19:09:18 UTC+1, David Trowbridge wrote:

 You should configure the cache server location from the admin UI, instead 
 of in settings_local.py
 -David


 On Tue, Jul 2, 2013 at 11:07 AM, AJ Roberts aj.rob...@gmail.comjavascript:
  wrote:

 Hi, 

 I have set up a RHEL 6 box with review board everything went really well 
 during the installation and im very impressed so far.. unfortunately we 
 have a pretty slow svn set up, and requests for diffs are taking seconds 
 significantly slowing down page loads. I was assuming that memcached back 
 end would help speed this process up. So i have memcached installed and 
 running on the usual port. i can connect to it via telnet and everything 
 seems to be working fine. I have configured RB with the following settings 
 in settings_local.py:

 CACHES = {
 'default': {
 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
 'LOCATION': 'localhost:11211',
 },
 }


 I have the following entries in the RB log file:

 2013-07-02 13:16:46,178 - DEBUG - Cache miss for key 
 reviews.test-tools-reviewboard.domain:/:diff-sidebyside-hl-24.
 2013-07-02 13:16:46,179 - DEBUG - Cache miss for key 
 reviews.test-tools-reviewboard.domain:/:https%3A//domain/rg0201/group:/svnpath:82.

 but i do not see any connection being made to memcached at all. So im a 
 little confused as to what cache its checking? i cannot see any other log 
 messages that indicate its trying to use memcached, so im a bit stumped on 
 where to go next.

 Any suggestions?

 Cheers

 Alex

 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com javascript:
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Unable to get caching working

2013-07-02 Thread AJ Roberts
Hi, 

I have set up a RHEL 6 box with review board everything went really well 
during the installation and im very impressed so far.. unfortunately we 
have a pretty slow svn set up, and requests for diffs are taking seconds 
significantly slowing down page loads. I was assuming that memcached back 
end would help speed this process up. So i have memcached installed and 
running on the usual port. i can connect to it via telnet and everything 
seems to be working fine. I have configured RB with the following settings 
in settings_local.py:

CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'localhost:11211',
},
}


I have the following entries in the RB log file:

2013-07-02 13:16:46,178 - DEBUG - Cache miss for key 
reviews.test-tools-reviewboard.domain:/:diff-sidebyside-hl-24.
2013-07-02 13:16:46,179 - DEBUG - Cache miss for key 
reviews.test-tools-reviewboard.domain:/:https%3A//domain/rg0201/group:/svnpath:82.

but i do not see any connection being made to memcached at all. So im a 
little confused as to what cache its checking? i cannot see any other log 
messages that indicate its trying to use memcached, so im a bit stumped on 
where to go next.

Any suggestions?

Cheers

Alex

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unable to get caching working

2013-07-02 Thread David Trowbridge
You should configure the cache server location from the admin UI, instead of in 
settings_local.py
-David

On Tue, Jul 2, 2013 at 11:07 AM, AJ Roberts aj.robert...@gmail.com
wrote:

 Hi, 
 I have set up a RHEL 6 box with review board everything went really well 
 during the installation and im very impressed so far.. unfortunately we 
 have a pretty slow svn set up, and requests for diffs are taking seconds 
 significantly slowing down page loads. I was assuming that memcached back 
 end would help speed this process up. So i have memcached installed and 
 running on the usual port. i can connect to it via telnet and everything 
 seems to be working fine. I have configured RB with the following settings 
 in settings_local.py:
 CACHES = {
 'default': {
 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
 'LOCATION': 'localhost:11211',
 },
 }
 I have the following entries in the RB log file:
 2013-07-02 13:16:46,178 - DEBUG - Cache miss for key 
 reviews.test-tools-reviewboard.domain:/:diff-sidebyside-hl-24.
 2013-07-02 13:16:46,179 - DEBUG - Cache miss for key 
 reviews.test-tools-reviewboard.domain:/:https%3A//domain/rg0201/group:/svnpath:82.
 but i do not see any connection being made to memcached at all. So im a 
 little confused as to what cache its checking? i cannot see any other log 
 messages that indicate its trying to use memcached, so im a bit stumped on 
 where to go next.
 Any suggestions?
 Cheers
 Alex
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.