svntortoise: download file 9 Gb

joseba.ortega's Avatar

joseba.ortega

06 Sep, 2018 06:46 AM

Hello: when I try to download a file of 9 gb by tortoisesvn I receive this error in tortoisesvn:

Unexpected server error 500 'Internal Server Error' on
 '/DOCTEC2/BR/BR6xxx/BR6001/!svn/rvr/7/branches/b0.2.0.0/IJD/01/BR6001_/BR6001_-DiscoRaiz.vdi'

Community.ini

 File "/opt/rhodecode/store/7hb16gn75b8pdhygs79nd1x1dlwsyvpz-python2.7-requests-2.9.1/lib/python2.7/site-packages/requests/models.py", line 737, in content
    self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
MemoryError
[06/Sep/2018:08:35:37 +0200] GNCRN <4618> 127.0.0.1 rqt:74.155767 500 2712 "GET:/DOCTEC2/BR/BR6xxx/BR6001/!svn/rvr/7/branches/b0.2.0.0/IJD/01/BR6001_/BR6001_-DiscoRaiz.vdi " usr:admin "-" "SVN/1.10.2 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.10.1.28295"

Thanks in advance

467 repositories. 259 Gb

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 06 Sep, 2018 04:48 PM

    Marcin Kuzminski's Avatar

    Hi Joseba,

    We'll investigate this. Seems like a streaming problem. Increasing memory on the server would temporarily solve this problem.

  2. 2 Posted by joseba.ortega on 11 Sep, 2018 07:42 AM

    joseba.ortega's Avatar

    Hi again:
    Increased memory to 12 Gb of Ram. Previuosly, we had 8 Gb.
    Testing.

    Thanks in advance

    467 repositories. 259 Gb

  3. Support Staff 3 Posted by develop on 11 Sep, 2018 11:14 AM

    develop's Avatar

    Hi Joseba,

    We're looking at this issue closely. We're checking a streaming option for SVN. Would you be interested in testing a streaming option on your SVN system ?

    It's a simple change you can apply to your current instance, and it should improve speed and memory usage drastically

    Let me know if you'd be interested and we'll send more details once we approve this.

  4. 4 Posted by joseba.ortega on 12 Sep, 2018 01:39 PM

    joseba.ortega's Avatar

    Perfect. No problem. I can change what you wish.
    We are having some problems again with tortoisesvn.
    Actions like "show log" or "repo-browser" are executed very slowly.
    Sometimes until 50 or 60 seconds per repository when the usual were 3 - 6 seconds.

    Thanks in advance.

    Bye

  5. Support Staff 5 Posted by develop on 12 Sep, 2018 01:54 PM

    develop's Avatar

    Joseba,

    I'm attaching a new modified simplesvn.py file.
    Please locate it under your ~/community-1/profile/... in rhodecode/lib/middleware sources.

    SImply replace the one in the sources with the attached one, and remove
    simplesvn.pyc file that should be located in the same path.

    as for: Actions like "show log" or "repo-browser" are executed very slowly. Sometimes until 50 or 60 seconds per repository when the usual were 3 - 6 seconds.

    Do you have CACHE_TTL enabled in authentication plugins settings ?

  6. 6 Posted by joseba.ortega on 13 Sep, 2018 08:24 AM

    joseba.ortega's Avatar

    Hi:
    I have moved simplesvn.py to simplesvn.py.old, later I have downloaded your file and I have copied intto the ubication.
    rccontrol start community-1 and start vcsserver
    vcsserver without problems.
    Community server is runing but when I try to enter on the web page it goes down.
    community status: starting.
    2 seconds later:
    status running
    Trying to enter on the web page: error 500 get:...
    status: starting
    2 seconds later:
    status running and so once
    again.
    Thank you.
    ***CACHE_TTL enabled. We are looking for the problem. Maybe can be a misconfiguration or another thing. Don't worry about this still"

    Thanks again
    Bye

  7. Support Staff 7 Posted by develop on 13 Sep, 2018 09:39 AM

    develop's Avatar

    Have you check the logs what is the 500 error then? It should be indicated in rhodecode.log with detailed traceback.

    Best,

  8. Support Staff 8 Posted by Marcin Kuzminsk... on 18 Sep, 2018 03:30 PM

    Marcin Kuzminski's Avatar

    Hi Joseba,

    You can try 4.13.2 release on SVN that should address this problem. Please let us know how it goes.

    Best,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Sep, 2018 03:30 PM
17 Sep, 2018 02:08 PM
11 Sep, 2018 09:12 AM
11 Sep, 2018 08:12 AM
06 Sep, 2018 05:38 AM