Project

General

Profile

Actions

Bug #5257

open

Git repository with big binary file provokes error and strange behavior/memory leak of RH.

Added by Bartłomiej Wołyńczyk over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
-
Start date:
23.03.2017
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Stop to reproduce.

  1. Create new empty GIT repo on RH
  2. Clone it to your local folder.
  3. download file http://jell.yfish.us/media/jellyfish-70-mbps-hd-hevc.mkv
  4. add this file to git "git add jellyfish-70-mbps-hd-hevc.mkv"
  5. git push.
  6. go to rh to new project.
  7. open change-log

My results:

Before
User PId CPU %MEM MEM
bart 5427 10.5 0.8 507452 133524 pts/2 Sl+ 21:43 0:02 /nix/store/aa0cbzbpzpswfa8gvml12rlgyrdzsg96-python-2.7.12/bin/python /run/user/1000/tmp.yvbVSzR8hD/bin/pserve --reload configs/dev.ini

After
User PId CPU %MEM MEM
bart 5427 13.8 20.7 4446012 3394028 pts/2 Sl+ 21:43 0:07 /nix/store/aa0cbzbpzpswfa8gvml12rlgyrdzsg96-python-2.7.12/bin/python /run/user/1000/tmp.yvbVSzR8hD/bin/pserve --reload configs/dev.ini

RH thorws 404 Memory Error

Next refrefs provokes new strange things.
like 404 : log msg:

 2017-03-23 21:56:09.539 ERROR [rhodecode.controllers.changeset] General failure
Traceback (most recent call last):
  File "/home/bart/PycharmProjects/rhodecode-develop/rhodecode-enterprise-ce/rhodecode/controllers/changeset.py", line 183, in _index
    commit_id=commit_id_range, pre_load=pre_load)]
  File "/home/bart/PycharmProjects/rhodecode-develop/rhodecode-enterprise-ce/rhodecode/lib/vcs/backends/git/repository.py", line 411, in get_commit
    commit_id = self._get_commit_id(commit_id)
  File "/home/bart/PycharmProjects/rhodecode-develop/rhodecode-enterprise-ce/rhodecode/lib/vcs/backends/git/repository.py", line 213, in _get_commit_id
    raise EmptyRepositoryError("There are no commits yet")
EmptyRepositoryError: There are no commits yet

Some times you see this commit in summary, sometimes you have msg repo is empty.

Actions #1

Updated by Bartłomiej Wołyńczyk over 7 years ago

  • Assignee set to Marcin Kuzminski [CTO]

I reproduce it with debug=false and debug=true in rhodecode.ini

Actions

Also available in: Atom PDF