1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/infrastructure
epriestley f7464400a5 Limit memory usage of ssh-exec during large pull operations
Summary: Fixes T4241. Ref T4206. See T4241 for a description here. Generally, when we connect a fat pipe (`git-upload-pack`) to a narrow one (`git` over SSH) we currently read limitless data into memory. Instead, throttle reads until writes catch up. This is now possible because of the previous changes in this sequence.

Test Plan:
  - Ran `git clone` and `git push` on the entire Wine repository.
  - Observed CPU and memory usage.
  - Memory usage was constant and low, CPU usage was high only during I/O (which is expected, since we have to actually do work, although thre might be room to further reduce this).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4241, T4206

Differential Revision: https://secure.phabricator.com/D7776
2013-12-16 12:37:32 -08:00
..
__tests__ In unit test environments, install all applications 2013-05-16 12:25:26 -07:00
celerity Multicolor headers 2013-12-06 12:08:11 -08:00
customfield PHUIPropertyListView 2013-10-11 07:53:56 -07:00
daemon Make taskmaster consumption of failed tasks more FIFO-ey 2013-12-08 21:07:13 -08:00
diff Replace some hsprintf() with phutil_tag() and phutil_tag_div() Depends on D7545. 2013-11-09 10:48:19 -08:00
edges Add an edge between Passphrase credentials and objects which use them 2013-11-22 15:23:23 -08:00
env Put PATH in $_ENV after we adjust it so ExecFuture/etc pick it up 2013-11-27 21:03:00 -08:00
events Make event-triggered actions more aware of application access 2013-10-21 17:00:50 -07:00
internationalization Show an "approval queue" item on the home page for admins, and sort out menu item visibility 2013-11-13 11:24:38 -08:00
javelin Decentralize phtize 2013-11-04 11:38:28 -08:00
lint Remove deprecated javelin_render_tag() and phabricator_render_form() 2013-07-18 13:30:25 -07:00
log Add an SSH access log 2013-12-05 17:00:48 -08:00
markup Timeout interpreter {{{ ... }}} blocks after 15 seconds 2013-11-25 14:55:25 -08:00
query Fix an error in the PolicyFilter algorithm 2013-12-05 17:00:53 -08:00
ssh Limit memory usage of ssh-exec during large pull operations 2013-12-16 12:37:32 -08:00
storage Implement policies in Phragment 2013-12-13 14:42:12 +11:00
testing Implement an approval queue 2013-11-13 11:24:56 -08:00
time Consolidate some datetime code and add unit tests 2013-06-03 12:58:11 -07:00
util Implementation of VCS passwords against user. 2013-11-01 08:34:11 -07:00
PhabricatorEditor.php Use ManiphestTaskQuery in nearly all interfaces 2013-09-25 13:44:14 -07:00