본문 바로가기
Infra

Git - postBuffer size 조절

by GOMJ 2024. 1. 21.

msa practice를 하며 postBuffer size를 1MB로 설정했었다.

그러다가 기존 프로젝트를 MSA 화 시키려고 최신 코드를 내려받던중 다음과 같은 에러가 발생했다.

9:34 AM    Update failed
BUG: remote-curl.c:1452: The entire rpc->buf should be larger than LARGE_PACKET_MAX
git-remote-https died of signal 6
expected flush after ref listing

원인이 여러개 일 수 있지만 찾아보니 postBuffer가 작아서 발생할 수 있다고 한다.

그래서 사이즈를 재설정 후 문제를 해결 할 수 있었다.

git config http.postBuffer 2M

'Infra' 카테고리의 다른 글

MySQL access denied for user 'root'@'localhost' (using password: yes)  (0) 2024.03.03
Kafka 설치 및 세팅  (0) 2024.02.25
Nginx - 로그 포맷 설정  (0) 2024.01.24
Nginx - Load Balancing  (0) 2024.01.22
Nginx 해외 IP 차단  (0) 2024.01.21