Hi Vlad,

Is this problem only occurring on the new host and not the old one?

Do you ever see those `git cat-file` errors on the old host?

Any differences in NFS configuration between the hosts?

Christian

On Fri, Oct 25, 2019 at 2:11 AM Vlad S. <[email protected]> wrote:

> Hi Christian,
>
> There are messages like this
>   File
> "/venvs/rb/lib/python2.7/site-packages/reviewboard/scmtools/git.py", line
> 702, in _cat_file
>     raise SCMError(errmsg)
> SCMError: fatal: git cat-file 1ba156144fe754340c79e0f871a52f750ad8f6b7:
> bad file
>
> The repository is on the same network, NFS mount. memcached runs, 2G,
> cache hit ratio ~95%, 4 cores CPU.
> Only mysql server is distant with 100ms latency. Tried to turn off syntax
> highlighting. It does not help much.
>
> 163K diff file, 116 files, C text. So it does not look large.
>
> #                                 Old fast host - New slow host
> CPU                            4 cores            4 cores
>                                     both have plenty on RAM
> memcached              v1.5* 2GB       v1.4* 2GB
> memcached memory used   ~400MB            ~90MB
> mysql latency             0.2ms               100ms
> repo host latency       both on the same network.
>
> Memory usage:
>
> 411.7 MB
> пятница, 25 октября 2019 г., 11:44:25 UTC+3 пользователь Christian Hammond
> написал:
>>
>> Hi Vlad,
>>
>> It's often a delay in getting data back from the repository. Are there
>> any other log messages? Is the repository in the same network?
>>
>> How many files are in each diff, and are any excessively large?
>>
>> Also, make sure that Review Board is seeing the memcached server. Check
>> the Admin UI -> Cache information to be sure.
>>
>> Christian
>>
>> On Fri, Oct 25, 2019 at 1:32 AM Vlad S. <[email protected]> wrote:
>>
>>> Hi,
>>>
>>>
>>> Generating a diff file info for interdiffsettakes too much time ~30
>>> seconds. How do I know why?
>>> Is there a command line method to debug this and see all the calls made?
>>> ===
>>> CRITICAL - None - ... - /rb/api/review-requests/27122/diff-context/ - ..
>>> - Generating diff file info for interdiffset ids 66619-66797 took 29.881996
>>> seconds
>>> ===
>>> Thanks!
>>>
>>> /v
>>>
>>> --
>>> 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 "Review Board Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/reviewboard/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/reviewboard/47fd0081-0d5d-4c50-8fd9-5a2fe036806d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
> --
> 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
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/a8aa658c-748b-4e7d-99e7-c858220eaf4f%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/a8aa658c-748b-4e7d-99e7-c858220eaf4f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAE7Vndky1zVvg8utxMrLTV%3Db5hq4UaP5%3DZOMZn60wgmZuNoQgA%40mail.gmail.com.

Reply via email to