Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to serve RPC(upload-pack) #31036

Closed
sudoexec opened this issue May 21, 2024 · 3 comments
Closed

Fail to serve RPC(upload-pack) #31036

sudoexec opened this issue May 21, 2024 · 3 comments
Labels

Comments

@sudoexec
Copy link

sudoexec commented May 21, 2024

Description

When cloning a git repo(184M,40000 commits), git client failed with:

remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

server logs:

2024/05/21 06:39:04 .../web/repo/githttp.go:485:serviceRPC() [E] Fail to serve RPC(upload-pack) in /data/git/repositories/xxx/xxx.git: exit status 128 - error: pack-objects died of signal 9
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.

Gitea Version

1.21.11

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.45.1

Operating System

Kubernetes

How are you running Gitea?

Kubernetes

Database

None

@lunny
Copy link
Member

lunny commented May 21, 2024

@sudoexec
Copy link
Author

Maybe this helpful for you. https://confluence.atlassian.com/bitbucketserverkb/git-operations-fail-due-to-git-pack-objects-died-with-error-849169949.html

Thanks for your reply, but those method don't help. The error as below:

error: pack-objects died of signal 9

When I execute git repack, the memory grow from 2.85G to 3G(total 4G), and then git repack quit.

@sudoexec
Copy link
Author

It's not gitea's fault.
In my case, what I ignore is earlyoom kill the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants