changeset 7339:52f823b92614

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
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Mon, 30 Jul 2018 21:19:33 +0200
parents 2bb5e9ee49fe
children 2898ea3ff76c
files docs/administrator_guide/vcs_setup.rst
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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