# HG changeset patch # User Thomas De Schampheleire # Date 1532978373 -7200 # Node ID 52f823b9261483135e3b55f6b14634eee39dbf56 # Parent 2bb5e9ee49fef539e93ff018bbda7bc9d9eec96e docs: vcs_setup: add note about Git HTTP POST buffer As suggested by https://bitbucket.org/conservancy/kallithea/issues/229/bad-file-descriptor#comment-30073565 diff -r 2bb5e9ee49fe -r 52f823b92614 docs/administrator_guide/vcs_setup.rst --- a/docs/administrator_guide/vcs_setup.rst Sat Jul 28 21:53:43 2018 +0200 +++ b/docs/administrator_guide/vcs_setup.rst Mon Jul 30 21:19:33 2018 +0200 @@ -46,6 +46,15 @@ threadpool_max_requests = use_threadpool = +Increasing Git HTTP POST buffer size +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +If Git pushes fail with HTTP error code 411 (Length Required), you may need to +increase the Git HTTP POST buffer. Run the following command as the user that +runs Kallithea to set a global Git variable to this effect:: + + git config --global http.postBuffer 524288000 + .. _waitress: http://pypi.python.org/pypi/waitress .. _gunicorn: http://pypi.python.org/pypi/gunicorn