Hi all.
I see that Freebsd has moved from svn to git. Ok.
On my local machine, when I try:
It's ok.
However, on a ec2 server, this command always generates this error, closed to 60%:
I guess it's a swap error, regarding my log messages.
Unfortunally, I can't add a swap space to this machine (when the process fails, my memory is full).
I tried several tricks, like:
But it does not fix the issue.
Do you have any idea to bypass this issue, and update my ports tree with git and my memory limit?
Thanks a lot! If you need any details, feel free to ask.
Regards,
I see that Freebsd has moved from svn to git. Ok.
On my local machine, when I try:
git clone --branch main https://git.FreeBSD.org/ports.git /usr/ports
It's ok.
However, on a ec2 server, this command always generates this error, closed to 60%:
Code:
Cloning into '/usr/ports'...
remote: Enumerating objects: 936, done.
remote: Counting objects: 100% (936/936), done.
remote: Compressing objects: 100% (120/120), done.
fatal: fetch-pack: invalid index-pack output02.95 MiB | 6.89 MiB/s
I guess it's a swap error, regarding my log messages.
Code:
pid 48081 (git), jid 0, uid 0, was killed: out of swap space
Unfortunally, I can't add a swap space to this machine (when the process fails, my memory is full).
Code:
last pid: 48142; load averages: 0.92, 0.84, 0.69 up 97+02:14:18 16:18:56
49 processes: 1 running, 48 sleeping
CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Mem: 1572K Active, 636K Inact, 64K Laundry, 171M Wired, 15M Buf, 635M Free
I tried several tricks, like:
Code:
git config --global pack.packSizeLimit 50m
git config --global pack.windowMemory 50m
git config --global core.compression 9
Do you have any idea to bypass this issue, and update my ports tree with git and my memory limit?
Thanks a lot! If you need any details, feel free to ask.
Regards,