Hi Andrew,

Okay, so regardless of the stored settings, the cache is reverting back to 
local memory caching. Interesting.

Looking into this, and will work to get a fix into tonight's release.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Andrew MacLeod <freea...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: October 21, 2014 at 12:07:22 PM
To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Cc: freea...@gmail.com <freea...@gmail.com>>, christ...@beanbaginc.com 
<christ...@beanbaginc.com>>
Subject:  Re: Caching not working with 2.0.8

> Here you go Christian:
>  
> # ./rb-site manage /export/apps/reviewboard/site shell
> Python 2.6.6 (r266:84292, Apr 11 2011, 15:50:32)
> [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveConsole)
> >>> from django.core.cache import cache
> >>> cache
>  
>  
> Thanks,
>  
> -amac
>  
> On Tuesday, October 21, 2014 11:49:14 AM UTC-7, chri...@beanbaginc.com
> wrote:
> >
> > Hi Andrew,
> >
> > This is interesting, because we just received an e-mail about a similar
> > bug a few days ago, but until then, I wasn't aware of this problem ever
> > occurring, and we haven't hit it with our servers. I'm also not aware of
> > any changes on our end that would cause this.. very odd.
> >
> > Thanks for the info. Can you also run this and see what it outputs?
> >
> > $ rb-site manage /path/to/site shell
> > >>> from django.core.cache import cache
> > >>> cache
> >
> > Christian
> >
> > --
> > Christian Hammond - chri...@beanbaginc.com  
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -----Original Message-----
> > From: Andrew MacLeod >
> > Reply: Andrew MacLeod >>
> > Date: October 21, 2014 at 11:45:00 AM
> > To: revie...@googlegroups.com > > >>
> > Cc: free...@gmail.com >>,
> > chri...@beanbaginc.com >>  
> >
> > Subject: Re: Caching not working with 2.0.8
> >
> > >
> > > Here you go:
> > >
> > > "cache_backend": {
> > > "default": {
> > > "LOCATION": "/export/content/reviewboard/cache",
> > > "BACKEND": "django.core.cache.backends.filebased.FileBasedCache"
> > > }
> > > },
> > >
> > > I switched it over from memcached to file based in attempt to get some
> > > caching working but checking the LOCATION given above, there are no data
> > > being written:
> > > # pwd
> > > /export/content/reviewboard/cache
> > > # ls -la
> > > total 8
> > > drwxrwxrwx 2 root root 4096 Oct 21 15:26 .
> > > drwxr-xr-x 3 root root 4096 Oct 21 15:26 ..
> > >
> > > I can easily switch back to memcache based caching if you wish. For that
> > we
> > > were configuring "localhost:11211" and memcached is running:
> > >
> > > # ps -ef | grep memcached | grep -v grep
> > > 496 23120 1 0 16:06 ? 00:00:00 memcached -d -p 11211 -u
> > > memcached -m 64 -c 1024 -P /var/run/memcached/memcached.pid
> > >
> > > Thanks,
> > >
> > > -amac
> > > On Tuesday, October 21, 2014 11:36:04 AM UTC-7, chri...@beanbaginc.com
> > > wrote:
> > > >
> > > > Can you run:
> > > >
> > > > rb-site manage /path/to/site list-siteconfig
> > > >
> > > > And show me the section shown for caching?
> > > >
> > > > Christian
> > > >
> > > > --
> > > > Christian Hammond - chri...@beanbaginc.com
> > > > Review Board - https://www.reviewboard.org
> > > > Beanbag, Inc. - https://www.beanbaginc.com
> > > >
> > > > -
> > > >
> > >
> >
> >
>  
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> 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/d/optout.
>  

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
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/d/optout.

Reply via email to