[PATCH 3 of 4] docs: vcs_setup: add note about Git HTTP POST buffer
Thomas De Schampheleire
thomas.de_schampheleire at nokia.com
Mon Jul 30 20:10:11 UTC 2018
# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
# Date 1532978373 -7200
# Mon Jul 30 21:19:33 2018 +0200
# Node ID 8f62dd97d1cb32e77ab7b83744ad7cc8f6059e46
# Parent 64a6161d72e5e5f55924a4cff2a74491faee77fe
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 --git a/docs/administrator_guide/vcs_setup.rst b/docs/administrator_guide/vcs_setup.rst
--- a/docs/administrator_guide/vcs_setup.rst
+++ b/docs/administrator_guide/vcs_setup.rst
@@ -47,6 +47,16 @@ Also make sure to comment out the follow
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
.. _subrepositories: http://mercurial.aragost.com/kick-start/en/subrepositories/
More information about the kallithea-general
mailing list