Hi Terrence,

Those warnings are harmless. It's more an indication that the data may drop
out of cache more quickly. For large data stored in cache, we have to chop
it up and store under a bunch of different keys, and it's easier for one of
those to disappear.

This just sounds like your server bumped up against memory limits. Is swap
enabled on the server?

You may need to tune your apache settings to prevent too many processes.

Also, make sure memcached is both running and being used by Review Board
(check the cache info in the Administration UI). If it's for some reason
using local memory caching, Apache is going to bloat up.

Other tips I'd suggest is moving the database and memcached servers onto
different machines, to give more breaking room to Apache. This will help
with increasing performance overall.

Christian


On Wednesday, March 25, 2015, Dunnigan, Terrence J <
terrence.j.dunni...@boeing.com> wrote:

>  All,
>
>
>
> I’m using Review Board 1.7.27. One of my users encountered an error when
> trying to view the diffs on a peer review. This error has not been
> reproduced.
>
>
>
> Instead of loading the diff, Review Board gave an error:
>
>
>
> Diff currently unavailable
>
> Error: [Errno 12] Cannot allocate memory.
>
>
>
> (There is a “Details” link but unfortunately the user did not click on the
> details link)
>
>
>
> I checked and there is no corresponding entry in the server error log.
> Around the time this happened there are several warnings along these lines:
>
>
>
> WARNING - Cache data for key
> <hostname>:/reviews/:diffviewer/diff_file_fragment.html-2-2-80987-collapsed-highlighting-None
> (length 6220455) may be too big for the cache.
>
>
>
> Could these warnings be related to the error that my user encountered?
>
>
>
> Terry
>
>
>
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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
> <javascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');>
> .
> For more options, visit https://groups.google.com/d/optout.
>


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

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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