•  
      request #9376 Git over HTTP can not be used to push a large set of references
    Infos
    #9376
    Thomas Gerbet (tgerbet)
    2020-12-24 17:02
    2016-08-05 11:11
    9652
    Details
    Git over HTTP can not be used to push a large set of references
    If you try to push a large set of references composed of data that can not be efficiently compressed (eg a commit with a large file of random data) you will get an error.

    The push does not complete because we reach the PHP memory limit and PHP segfault.

    The segfault is a bug in PHP 5 that will not be fixed [1] and we do not have easy solution to not reach the PHP memory limit due to limitations of the PHP API [2].

    [1] https://bugs.php.net/bug.php?id=64297
    [2] https://bugs.php.net/bug.php?id=54004
    SCM/Git
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2020-12-24
    Attachments
    Empty
    References
    Referenced by request #9376

    Follow-ups

    User avatar
    The provided patch was merged, I think we can close this request.

    • Status changed from Under review to Closed
    • Close date set to 2020-12-24
    User avatar
    Thomas Gerbet (tgerbet)2018-01-23 11:19
    Issue with PHP 5.3 and the segfault is no more relevant anymore, PHP 5.6 does not show the same issue. However Tuleap still reach the PHP memory limit when a large set of reference is pushed.