# Git LFS push issue

**URL:** <https://forum.gitea.com/t/git-lfs-push-issue/9478>\
**Category:** Install/Maintain/Configure\
**Created:** [July 19, 2024, 4:12pm UTC](https://forum.gitea.com/t/git-lfs-push-issue/9478 "2024-07-19T16:12:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhiz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/abhiz/32/6109_2.png) [@abhiz](https://forum.gitea.com/u/abhiz)\
**Post date:** [July 19, 2024, 4:12pm UTC](https://forum.gitea.com/t/git-lfs-push-issue/9478/1 "2024-07-19T16:12:34Z")

</div>

Hi All,

When I git push relatively smaller files (around 50M) using git lfs it works. But when I push a bigger file (GB’s in size), I see the following error in the logs.

```auto
lfs/content_store.go:58:Put() [E] Whilst putting LFS OID[ed4479317c3d28c3b7fe68f21176cd2a1b8862cc6ee89934a2defec9f502fa50]: Failed to copy to tmpPath: ed/44/79317c3d28c3b7fe68f21176cd2a1b8862cc6ee89934a2defec9f502fa50 Error: Put ... readfrom tcp ... : http: ContentLength=16777216 with Body length 8868575

```

I am using the gitea helm chart for deployment in a HA configuration. lfs has been configured to write the large files to S3.

---

<div class="post-metadata">

**Author:** ![abhiz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/abhiz/32/6109_2.png) [@abhiz](https://forum.gitea.com/u/abhiz)\
**Post date:** [July 22, 2024, 6:37pm UTC](https://forum.gitea.com/t/git-lfs-push-issue/9478/2 "2024-07-22T18:37:33Z")

</div>

I am using gitea version: 1.22.1-rootless. Any idea on what could cause the above issue?
