Page MenuHomePhabricator

HTTP Push or large GIT repo fails with Error Code 500
Closed, DuplicatePublic

Description

When trying to push a single change that is around 258MB, the push is failing when it receives a 500 internal server error from Phabricator. The entire repo is over 1.2GB, and we are trying to do an initial import. Since that failed, I am attempting to upload small numbers of changes individually.

To attempt to resolve this, we have tried the following (most changes were tried after looking at syslog):

  1. Adjusted the git http.postBuffer to 500MB and other values (doing this increases the amount of time the push takes before it fails, but it never completes)
  2. Increased the PHP timeout on the server to 300 seconds
  3. Increased the memory available to apache and PHP

Even with the 300 second timeout, the server still reports a timeout error.

The client and server are on the same local network, so it shouldn't take long to upload this amount of data.

Event Timeline

davisoa raised the priority of this task from to Needs Triage.
davisoa updated the task description. (Show Details)
davisoa added a project: Diffusion.
davisoa added a subscriber: davisoa.

HTTP has pretty severe scalability limits right now. The only real workaround is to use SSH instead.

Thanks for fast response! Unfortunately, we haven't been able to SSH to work either - seems like an auth problem currently. Should I create an issue describing our problems there?

Sure, I can try to help you set things up.

Well, we just figured out the issues with SSH, and I have now pushed this entire repo. Thanks for working on Phabricator!

Awesome! Let us know if you run into anything else.