Pushing big hg repos in rhodecode

Issue #767 resolved
Alexey created an issue

I try to push some big repos(some graphics) on my rhodecode server. (More than 3Gb at once). In my conf.ini i set max_request_body_size = 10 GB because with default value i`v got 413 error and i thought it was the main problem. And now i get another error

part of my .ini file

threads = 5
use = egg:waitress#main

host = XXXXXX
port = 5050
max_request_body_size = 10737418240

and here is error

 ERROR [waitress] Exception when serving /test4_apache
Traceback (most recent call last):
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/waitress/channel.py", line 329, in service
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/waitress/task.py", line 173, in service
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/waitress/task.py", line 380, in execute
    app_iter = self.channel.server.application(env, start_response)
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/paste/gzipper.py", line 35, in __call__
    return self.application(environ, start_response)
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/paste/cascade.py", line 130, in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/paste/registry.py", line 379, in __call__
    app_iter = self.application(environ, start_response)
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/rhodecode/lib/middleware/https_fixup.py", line 37, in __call__
    return self.application(environ, start_response)
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/pylons/middleware.py", line 150, in __call__
    self.app, environ, catch_exc_info=True)
  File "/usr/rhodecode/gd/local/lib/python2.7/site-packages/pylons/util.py", line 51, in call_wsgi_application
TypeError: 'NoneType' object is not iterable

and hg returns

abort: HTTP Error 500: Internal Server Error

I wonder what problem can be? Is there any method of pushing big repos in rodecode.?

Comments (4)

  1. Marcin Kuzminski repo owner

    your push is directly to the port without any http server in between ? Can you try switching to paste instead of waitress maybe it's waitress issue

  2. Log in to comment